At Mon, 15 May 2006 15:29:18 -0400 Allan Gottlieb <[EMAIL PROTECTED]> wrote:

> At Mon, 15 May 2006 20:55:41 +0300 Rumen Yotov <[EMAIL PROTECTED]> wrote:
>
>> Allan Gottlieb wrote:
>>> At Mon, 15 May 2006 22:07:08 +0530 Farhan Ahmed <[EMAIL PROTECTED]> wrote:
>>> 
>>>> Allan Gottlieb wrote:
>>>>> My normal 
>>>>>
>>>>>    emerge --tree --ask --verbose --newuse --update --deep world
>>>>>
>>>>> produced the following
>>>>>
>>>>> [snip]
>>>>>
>>>>> 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
>>>>> libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib 
>>>>> -version-info 1:0
>>>>> i686-pc-linux-gnu-g++: 
>>>>> /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No such file or 
>>>>> directory
>>>>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: 
>>>>> No such file or directory
>>>>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No 
>>>>> such file or directory
>>>>> i686-pc-linux-gnu-g++: 
>>>>> /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: No such file or 
>>>>> directory
>>>>> make: *** [libapm.la] Error 1
>>>>> make: *** Waiting for unfinished jobs....
>>>>> apmsleep.c:60: warning: 'rcsid' defined but not used
>>>>> rm apm.o
>>>>>
>>>>> ajglap ~ # ls  /usr/lib/gcc/i686-pc-linux-gnu
>>>>> 3.4.5
>>>>> ajglap ~ #
>>>> Try this
>>>>
>>>>   # gcc-config i686-pc-linux-gnu-3.4.5
>>>>   # source /etc/profile
>>> 
>>> Thanks, but this does not appear to help.
>>> 
>
> [Snip (same error as above)]
>
>> Hi,
>> Run "fix_libtool_files.sh 3.4.4", but first run it w/o arguments (3.4.4)
>> just to see the options.
>> Then run it again w/ required options.
>> HTH.Rumen
>
> Thank you.  I had tried this before, but to be sure I tried it again
> (I have never changed CHOST so don't need --oldarch).
>
> ajglap ~ # fix_libtool_files.sh 3.4.4

[snip (same error as above)]

Seems I had forgotten a basic magic lesson.  One must re-emerge
libtool when you upgrade the compiler.  After executing

   emerge libtool
   fix_libtool_files.sh 3.4.4

all is well.

thanks to all,
allan

PS I had my memory jogged by a similar problem/fix in b.g.o for apmd.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to