Gentoo Archives: gentoo-dev

From: Brandon Low <lostlogic@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] GCC3.1 warnings
Date: Wed, 19 Jun 2002 21:21:45
Message-Id: 20020619212145.B21203@lostlogicx.com
In Reply to: Re: [gentoo-dev] GCC3.1 warnings by Jack Morgan
1 rsync and try the xine-0.9.10-r1 ebuilds, Naz and I did a great deal of
2 work to hack together patches that allow it to compile correctly on all
3 sorts of stuff :) (well the patches ended up small, but tracking them down
4 was a pain and a half)
5
6 --Brandon
7
8 On Thu, 06/20/02 at 11:16:10 +0900, Jack Morgan wrote:
9 > On Wed, Jun 19, 2002 at 08:51:17PM -0500, Ben Lutgens wrote:
10 > > On Wed, Jun 19, 2002 at 07:38:30PM -0500, Justin Lambert wrote:
11 > > >I just emerged kde gnome2 galeon and some other things on gentoo-1.3b without
12 > > >any problems. The only thing I noticed was that on xine-lib, xine-ui, and
13 > > >vmware-workstation configure script I saw these warnings:
14 > >
15 > > what happens if you pass -Wno-deprecated in CFLAGS?
16 >
17 > This,
18 >
19 > gcc -mcpu=i686 -O3 -pipe -Wno-deprecated -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=athlon -Wall -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/include -I../../src/xitk/xine-toolkit -o xine-remote xine-remote.o -lncurses -lnsl -lpthread ../../readline/.libs/libreadline.a
20 > ../../readline/.libs/libreadline.a(display.o): In function `rl_redisplay':
21 > display.o(.text+0x707): undefined reference to `tputs'
22 > ../../readline/.libs/libreadline.a(display.o): In function `update_line':
23 > display.o(.text+0x16ba): undefined reference to `tputs'
24 > ../../readline/.libs/libreadline.a(display.o): In function `_rl_move_cursor_relative':
25 > display.o(.text+0x1da9): undefined reference to `tputs'
26 > ../../readline/.libs/libreadline.a(display.o): In function `_rl_move_vert':
27 > display.o(.text+0x1eb2): undefined reference to `tputs'
28 > display.o(.text+0x1f14): undefined reference to `tputs'
29 > ../../readline/.libs/libreadline.a(display.o)(.text+0x1f34): more undefined references to `tputs' follow
30 > ../../readline/.libs/libreadline.a(display.o): In function `insert_some_chars':
31 > display.o(.text+0x24a0): undefined reference to `tgoto'
32 > display.o(.text+0x24b8): undefined reference to `tputs'
33 > ../../readline/.libs/libreadline.a(display.o): In function `delete_chars':
34 > display.o(.text+0x2535): undefined reference to `tputs'
35 > display.o(.text+0x255c): undefined reference to `tputs'
36 > display.o(.text+0x2583): undefined reference to `tputs'
37 > display.o(.text+0x25aa): undefined reference to `tputs'
38 > ../../readline/.libs/libreadline.a(display.o)(.text+0x25d1): more undefined references to `tputs' follow
39 > ../../readline/.libs/libreadline.a(display.o): In function `delete_chars':
40 > display.o(.text+0x2661): undefined reference to `tgoto'
41 > display.o(.text+0x2675): undefined reference to `tputs'
42 > ../../readline/.libs/libreadline.a(display.o): In function `cr':
43 > display.o(.text+0x26a4): undefined reference to `tputs'
44 > ../../readline/.libs/libreadline.a(display.o): In function `_rl_clear_screen':
45 > display.o(.text+0x2cc0): undefined reference to `tputs'
46 > ../../readline/.libs/libreadline.a(display.o): In function `_rl_redisplay_after_sigwinch':
47 > display.o(.text+0x2de4): undefined reference to `tputs'
48 > display.o(.text+0x2e21): undefined reference to `tputs'
49 > ../../readline/.libs/libreadline.a(terminal.o): In function `_rl_get_screen_size':
50 > terminal.o(.text+0x112): undefined reference to `tgetnum'
51 > terminal.o(.text+0x191): undefined reference to `tgetnum'
52 > ../../readline/.libs/libreadline.a(terminal.o): In function `_rl_init_terminal_io':
53 > terminal.o(.text+0x275): undefined reference to `tgetstr'
54 > terminal.o(.text+0x293): undefined reference to `tgetstr'
55 > terminal.o(.text+0x2ac): undefined reference to `tgetstr'
56 > terminal.o(.text+0x2c3): undefined reference to `tgetstr'
57 > terminal.o(.text+0x2db): undefined reference to `tgetstr'
58 > ../../readline/.libs/libreadline.a(terminal.o)(.text+0x2f3): more undefined references to `tgetstr' follow
59 > ../../readline/.libs/libreadline.a(terminal.o): In function `_rl_init_terminal_io':
60 > terminal.o(.text+0x33c): undefined reference to `PC'
61 > terminal.o(.text+0x341): undefined reference to `BC'
62 > terminal.o(.text+0x34b): undefined reference to `UP'
63 > terminal.o(.text+0x36c): undefined reference to `tgetflag'
64 > terminal.o(.text+0x3d4): undefined reference to `tgetflag'
65 > terminal.o(.text+0x531): undefined reference to `tgetflag'
66 > terminal.o(.text+0x54a): undefined reference to `tgetflag'
67 > terminal.o(.text+0x684): undefined reference to `PC'
68 > terminal.o(.text+0x695): undefined reference to `BC'
69 > terminal.o(.text+0x69f): undefined reference to `UP'
70 > terminal.o(.text+0x70d): undefined reference to `tgetent'
71 > ../../readline/.libs/libreadline.a(terminal.o): In function `_rl_backspace':
72 > terminal.o(.text+0xa55): undefined reference to `tputs'
73 > terminal.o(.text+0xa7b): undefined reference to `tputs'
74 > terminal.o(.text+0xaa1): undefined reference to `tputs'
75 > terminal.o(.text+0xac7): undefined reference to `tputs'
76 > terminal.o(.text+0xaed): undefined reference to `tputs'
77 > ../../readline/.libs/libreadline.a(terminal.o)(.text+0xb0f): more undefined references to `tputs' follow
78 > collect2: ld returned 1 exit status
79 > make[4]: *** [xine-remote] Error 1
80 > make[4]: Leaving directory `/var/tmp/portage/xine-ui-0.9.10/work/xine-ui-0.9.10/src/xitk'
81 > make[3]: *** [all-recursive] Error 1
82 > make[3]: Leaving directory `/var/tmp/portage/xine-ui-0.9.10/work/xine-ui-0.9.10/src/xitk'
83 > make[2]: *** [all-recursive] Error 1
84 > make[2]: Leaving directory `/var/tmp/portage/xine-ui-0.9.10/work/xine-ui-0.9.10/src'
85 > make[1]: *** [all-recursive] Error 1
86 > make[1]: Leaving directory `/var/tmp/portage/xine-ui-0.9.10/work/xine-ui-0.9.10'
87 > make: *** [all-recursive-am] Error 2
88 >
89 > !!! ERROR: The ebuild did not complete successfully.
90 > !!! Function src_compile, Line 33, Exitcode 2
91 > !!! (no error message)
92 >
93 > !!! emerge aborting on /usr/portage/media-video/xine-ui/xine-ui-0.9.10.ebuild .
94 >
95 > > >cc1: warning: -malign-loops is obsolete, use -falign-loops
96 > > >cc1: warning: -malign-jumps is obsolete, use -falign-jumps
97 > > >cc1: warning: -malign-functions is obsolete, use -falign-functions
98 >
99 > Still see these, hmmm.
100 >
101 > --
102 > Jack Morgan <j-morgan@×××.com>
103 > GnuPG Key ID: 0x620F545F http://pgp.mit.edu