LFS 6.4 Chapter 5.4. Binutils-2.18 - Pass 1

ga ho gazza1z at yahoo.co.uk
Sun Jan 18 14:56:31 PST 2009


Host system BLFS6.3 kernel 2.6.22.5 on a 4GB USB Stick

When running the command:

CC="gcc -B/usr/bin/" ../binutils-2.18/configure \
    --prefix=/tools --disable-nls --disable-werror

In the config.log file I get errors:

configure:3565: gcc -B/usr/bin/ -c -g -O2  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3571: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif

and later on in the same config.log file:

configure:4017: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:13: error: 'exit' was not declared in this scope
configure:4023: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }

However the comand finishes with:

configure: exit 0

and the make comaands run okay. So are these errors anything to worry about?
Gary


      




More information about the lfs-support mailing list