BLFS, XFree86 v4.5.0 (correction on the version) sorry typo

Bauke Jan Douma bjdouma at
Thu Jan 4 22:37:32 PST 2007

Joseph Oaks wrote on 05-01-07 06:37:

>> cd ./config/imake && make -f Makefile.proto imakeonly
>> make[2]: Entering directory `/sources/xc-build/config/imake'
>> gcc DefaultGcc2i386Opt    -I../../include -I../../exports/include/X11 
>> -I../.. -I../../exports/include   -Dlinux -D__i386__
>> -D_POSIX_C_SOURCE=199309L                                 -D_POSIX_SOURCE
>> -D_XOPEN_SOURCE                         
>> -D_BSD_SOURCE -D_SVID_SOURCE                                  -D_GNU_SOURCE
>>                                  -DFUNCPROTO=15
>> -fmerge-constants -xc /dev/null -S -o /dev/null 2> /dev/null 1> /dev/null;
>> then echo 1; else echo 0; fi`              -c -o imake.o imake.c
>> gcc: DefaultGcc2i386Opt: No such file or directory
>> make[2]: *** [imake.o] Error 1
>> make[2]: Leaving directory `/sources/xc-build/config/imake'
>> make[1]: *** [imake.bootstrap] Error 2
>> make[1]: Leaving directory `/sources/xc-build'
>> make: *** [World] Error 2

DefaultGcc2i386Opt seems to me an option in one of the config files,
probably host.def(?).  That's got to be set to some sane value, like
maybe `-O2 -fno-strength-reduce'; chances are it's accidentaly
commented out right now; should be something like:
#define DefaultGcc2i386Opt      -O2 -fno-strength-reduce

gcc version shouldn't matter.


More information about the lfs-support mailing list