Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Sep 2006 10:33:21 -0400
From:      g <g.one@mac.com>
To:        freebsd-questions@freebsd.org
Subject:   Newbie Alert: compiling problem with gcc-4.1.1
Message-ID:  <F5E8ACF3-8BB1-4D51-8746-AA0DA1B4BD6A@mac.com>

next in thread | raw e-mail | index | archive | help
:-)  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.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F5E8ACF3-8BB1-4D51-8746-AA0DA1B4BD6A>