Dana 25.11.2012 17:37, Pierre Labastie je napisao:
> Hello,
>
> I know it has been reported by Tobias on lfs-support, but it seems to me
> it is an issue with the current version of check, and it should be
> addressed in the book:
> - the error occurs during make:
> ----------------------------
> /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..     -O3 -pipe -march=native -Wall -ansi -pedantic -Wextra
> -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
> -Wno-variadic-macros -MT putenv.lo -MD -MP -MF .deps/putenv.Tpo -c -o
> putenv.lo putenv.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O3 -pipe -march=native
> -Wall -ansi -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes
> -Wwrite-strings -Wno-variadic-macros -MT putenv.lo -MD -MP -MF
> .deps/putenv.Tpo -c putenv.c  -fPIC -DPIC -o .libs/putenv.o
> putenv.c:5:1: error: expected identifier or '(' before '{' token
> make[2]: *** [putenv.lo] Error 1
> make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/check-0.9.9'
> make: *** [all] Error 2

 From what I see, there are some non-default compiler optimisations like 
-march=native and -pipe. Have you tried building it without them? I 
don't remember having any issues with Debian Squeeze 64 bit when I 
bootstrapped 64 bit build.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to