Gentoo Archives: gentoo-dev

From: Jack Morgan <yojack@××××××××××××.jp>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] GCC3.1 warnings
Date: Wed, 19 Jun 2002 21:16:35
Message-Id: 20020620021610.GB8163@c3p0.bonyari.com
In Reply to: Re: [gentoo-dev] GCC3.1 warnings by Ben Lutgens
1 On Wed, Jun 19, 2002 at 08:51:17PM -0500, Ben Lutgens wrote:
2 > On Wed, Jun 19, 2002 at 07:38:30PM -0500, Justin Lambert wrote:
3 > >I just emerged kde gnome2 galeon and some other things on gentoo-1.3b without
4 > >any problems. The only thing I noticed was that on xine-lib, xine-ui, and
5 > >vmware-workstation configure script I saw these warnings:
6 >
7 > what happens if you pass -Wno-deprecated in CFLAGS?
8
9 This,
10
11 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
12 ../../readline/.libs/libreadline.a(display.o): In function `rl_redisplay':
13 display.o(.text+0x707): undefined reference to `tputs'
14 ../../readline/.libs/libreadline.a(display.o): In function `update_line':
15 display.o(.text+0x16ba): undefined reference to `tputs'
16 ../../readline/.libs/libreadline.a(display.o): In function `_rl_move_cursor_relative':
17 display.o(.text+0x1da9): undefined reference to `tputs'
18 ../../readline/.libs/libreadline.a(display.o): In function `_rl_move_vert':
19 display.o(.text+0x1eb2): undefined reference to `tputs'
20 display.o(.text+0x1f14): undefined reference to `tputs'
21 ../../readline/.libs/libreadline.a(display.o)(.text+0x1f34): more undefined references to `tputs' follow
22 ../../readline/.libs/libreadline.a(display.o): In function `insert_some_chars':
23 display.o(.text+0x24a0): undefined reference to `tgoto'
24 display.o(.text+0x24b8): undefined reference to `tputs'
25 ../../readline/.libs/libreadline.a(display.o): In function `delete_chars':
26 display.o(.text+0x2535): undefined reference to `tputs'
27 display.o(.text+0x255c): undefined reference to `tputs'
28 display.o(.text+0x2583): undefined reference to `tputs'
29 display.o(.text+0x25aa): undefined reference to `tputs'
30 ../../readline/.libs/libreadline.a(display.o)(.text+0x25d1): more undefined references to `tputs' follow
31 ../../readline/.libs/libreadline.a(display.o): In function `delete_chars':
32 display.o(.text+0x2661): undefined reference to `tgoto'
33 display.o(.text+0x2675): undefined reference to `tputs'
34 ../../readline/.libs/libreadline.a(display.o): In function `cr':
35 display.o(.text+0x26a4): undefined reference to `tputs'
36 ../../readline/.libs/libreadline.a(display.o): In function `_rl_clear_screen':
37 display.o(.text+0x2cc0): undefined reference to `tputs'
38 ../../readline/.libs/libreadline.a(display.o): In function `_rl_redisplay_after_sigwinch':
39 display.o(.text+0x2de4): undefined reference to `tputs'
40 display.o(.text+0x2e21): undefined reference to `tputs'
41 ../../readline/.libs/libreadline.a(terminal.o): In function `_rl_get_screen_size':
42 terminal.o(.text+0x112): undefined reference to `tgetnum'
43 terminal.o(.text+0x191): undefined reference to `tgetnum'
44 ../../readline/.libs/libreadline.a(terminal.o): In function `_rl_init_terminal_io':
45 terminal.o(.text+0x275): undefined reference to `tgetstr'
46 terminal.o(.text+0x293): undefined reference to `tgetstr'
47 terminal.o(.text+0x2ac): undefined reference to `tgetstr'
48 terminal.o(.text+0x2c3): undefined reference to `tgetstr'
49 terminal.o(.text+0x2db): undefined reference to `tgetstr'
50 ../../readline/.libs/libreadline.a(terminal.o)(.text+0x2f3): more undefined references to `tgetstr' follow
51 ../../readline/.libs/libreadline.a(terminal.o): In function `_rl_init_terminal_io':
52 terminal.o(.text+0x33c): undefined reference to `PC'
53 terminal.o(.text+0x341): undefined reference to `BC'
54 terminal.o(.text+0x34b): undefined reference to `UP'
55 terminal.o(.text+0x36c): undefined reference to `tgetflag'
56 terminal.o(.text+0x3d4): undefined reference to `tgetflag'
57 terminal.o(.text+0x531): undefined reference to `tgetflag'
58 terminal.o(.text+0x54a): undefined reference to `tgetflag'
59 terminal.o(.text+0x684): undefined reference to `PC'
60 terminal.o(.text+0x695): undefined reference to `BC'
61 terminal.o(.text+0x69f): undefined reference to `UP'
62 terminal.o(.text+0x70d): undefined reference to `tgetent'
63 ../../readline/.libs/libreadline.a(terminal.o): In function `_rl_backspace':
64 terminal.o(.text+0xa55): undefined reference to `tputs'
65 terminal.o(.text+0xa7b): undefined reference to `tputs'
66 terminal.o(.text+0xaa1): undefined reference to `tputs'
67 terminal.o(.text+0xac7): undefined reference to `tputs'
68 terminal.o(.text+0xaed): undefined reference to `tputs'
69 ../../readline/.libs/libreadline.a(terminal.o)(.text+0xb0f): more undefined references to `tputs' follow
70 collect2: ld returned 1 exit status
71 make[4]: *** [xine-remote] Error 1
72 make[4]: Leaving directory `/var/tmp/portage/xine-ui-0.9.10/work/xine-ui-0.9.10/src/xitk'
73 make[3]: *** [all-recursive] Error 1
74 make[3]: Leaving directory `/var/tmp/portage/xine-ui-0.9.10/work/xine-ui-0.9.10/src/xitk'
75 make[2]: *** [all-recursive] Error 1
76 make[2]: Leaving directory `/var/tmp/portage/xine-ui-0.9.10/work/xine-ui-0.9.10/src'
77 make[1]: *** [all-recursive] Error 1
78 make[1]: Leaving directory `/var/tmp/portage/xine-ui-0.9.10/work/xine-ui-0.9.10'
79 make: *** [all-recursive-am] Error 2
80
81 !!! ERROR: The ebuild did not complete successfully.
82 !!! Function src_compile, Line 33, Exitcode 2
83 !!! (no error message)
84
85 !!! emerge aborting on /usr/portage/media-video/xine-ui/xine-ui-0.9.10.ebuild .
86
87 > >cc1: warning: -malign-loops is obsolete, use -falign-loops
88 > >cc1: warning: -malign-jumps is obsolete, use -falign-jumps
89 > >cc1: warning: -malign-functions is obsolete, use -falign-functions
90
91 Still see these, hmmm.
92
93 --
94 Jack Morgan <j-morgan@×××.com>
95 GnuPG Key ID: 0x620F545F http://pgp.mit.edu

Replies

Subject Author
Re: [gentoo-dev] GCC3.1 warnings Brandon Low <lostlogic@g.o>