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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page