Newbie Alert: compiling problem with gcc-4.1.1

g g.one at mac.com
Sat Sep 2 07:33:27 PDT 2006


:-)  thanks for the patience and help.

i tried to compile gcc-4.1.1.  the OS is FreeBSD 6.1  intel pentium 4  
processor
intel desktop board d865gvhz  512 MB

the problem has something to do with fixincludes.

*************  snap shot after creating config.h   
***********************

config.status: creating config.h
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixincl.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixtests.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixfixes.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/server.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/procopen.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixlib.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixopts.c
gcc -g -O2  -o fixincl fixincl.o fixtests.o fixfixes.o server.o  
procopen.o  fixlib.o fixopts.o ../libiberty/libiberty.a
echo timestamp > full-stamp
srcdir="/usr/ports/gcc-4.1.1/fixincludes" /bin/sh /usr/ports/ 
gcc-4.1.1/fixincludes/mkfixinc.sh i386-unknown-freebsd6.1
sed -e 's/@gcc_version@//' <  > mkheadersT
*** Error code 2

Stop in /usr/ports/objdir/build-i386-unknown-freebsd6.1/fixincludes.
*** Error code 1

Stop in /usr/ports/objdir.

************************ end snap shot  
*************************************

thanks everyone, kris pointed out in my post before i didn't include  
enough information, thanks kris.  i hope this is enough, if not, i  
also have a file which contains what i saw as it made bootstrap.
i created that file by doing:

make bootstrap > myErrorMakeBootstrap

g.






More information about the freebsd-questions mailing list