Gentoo Archives: gentoo-user

From: Farhan Ahmed <farhanahmed06@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Trouble updating apmd (wrong gcc version?)
Date: Mon, 15 May 2006 16:59:13
Message-Id: 20060515163708.GA7078@mainframe
In Reply to: [gentoo-user] Trouble updating apmd (wrong gcc version?) by Allan Gottlieb
1 Allan Gottlieb wrote:
2 > My normal
3 >
4 > emerge --tree --ask --verbose --newuse --update --deep world
5 >
6 > produced the following
7 >
8 > [snip]
9 >
10 > libtool --quiet --mode=compile gcc -c -O -g -Wall -pipe -I. -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
11 > libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib -version-info 1:0
12 > i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No such file or directory
13 > i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or directory
14 > i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No such file or directory
15 > i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: No such file or directory
16 > make: *** [libapm.la] Error 1
17 > make: *** Waiting for unfinished jobs....
18 > apmsleep.c:60: warning: 'rcsid' defined but not used
19 > rm apm.o
20 >
21 > ajglap ~ # ls /usr/lib/gcc/i686-pc-linux-gnu
22 > 3.4.5
23 > ajglap ~ #
24
25 Try this
26
27 # gcc-config i686-pc-linux-gnu-3.4.5
28 # source /etc/profile
29
30 Hope that helps
31 Farhan Ahmed
32 --
33 Place : Bangalore, Karnataka, India
34 GPG Key : 8BE90E98
35 WengoPhone ID : farhanahmed
36 IRC Nick : farhanahmed / farhanahmed06 (irc.freenode.net)
37 Check Out : http://gentooisbest.blogspot.com

Replies

Subject Author
Re: [gentoo-user] Trouble updating apmd (wrong gcc version?) Allan Gottlieb <gottlieb@×××.edu>