Problems compiling BUILDING from STABLE
Daniel Molina Wegener
dmw at unete.cl
Sat May 26 16:43:17 UTC 2007
Hello
I'm trying to build CURRENT from STABLE, I'm using a shell
script that sets the next environment variables:
-----------------------------8<------------------------------
export MAKEOBJDIRPREFIX="/work/FreeBSD/obj"
export PREFIX="/work/FreeBSD"
export DESTDIR="/work/FreeBSD/build"
export TARGET="i386"
-----------------------------8<------------------------------
I run the script, that executes make, with these environment
variables, but I get the next error while building world:
-----------------------------8<------------------------------
===> lib/csu/i386-elf (obj,depend,all,install)
rm -f .depend
mkdep -f .depend -a -I/work/FreeBSD/usr/src/lib/csu/i386-elf/../common -I/wor
k/FreeBSD/usr/src/lib/csu/i386-elf/../../libc/include /work/FreeBSD/usr/src/lib/
csu/i386-elf/crt1.c /work/FreeBSD/usr/src/lib/csu/i386-elf/crti.S /work/FreeBSD/
usr/src/lib/csu/i386-elf/crtn.S
cc -march=prescott -O2 -pipe -march=prescott -I/work/FreeBSD/usr/src/lib/csu/i38
6-elf/../common -I/work/FreeBSD/usr/src/lib/csu/i386-elf/../../libc/include -Ws
ystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wn
ested-externs -Wredundant-decls -Wno-pointer-sign -c /work/FreeBSD/usr/src/lib/c
su/i386-elf/crt1.c
cc1: error: unrecognized command line option "-Wchar-subscripts"
-----------------------------8<-------------------------------
What's my error?
Regards,
--
.O. | Daniel Molina Wegener | C/C++ Developer
..O | dmw [at] unete [dot] cl | FOSS Coding Adict
OOO | BSD & Linux User | Standards Rocks!
More information about the freebsd-hackers
mailing list