Hi Folks,
I'm trying to build gpc-20050331 (with the patch from 20050411) in a MinGW/MSys environment on Windows XP. I'm doing
./configure --enable-languages=pascal make
... and `make' then aborts with the error message below.
What am I doing wrong?
Regards,
Markus
-- LOG --
make[2]: Entering directory `/mysoftware/gcc-3.4.3/gcc/p/rts' make[2]: Nothing to be done for `generated-files'. make[2]: Leaving directory `/mysoftware/gcc-3.4.3/gcc/p/rts' rm -rf p/docdemos ./p/script/mkdir-p p/docdemos ./p/script/extract-doc-demos -o p/docdemos ./p/doc/*.texi ./p/doc/generated/*.texi ./p/doc/en/*.texi echo timestamp > "p/stamp-docdemos" make[1]: Circular libgcc.a <- pascal dependency dropped. if [ -f specs.ready ] ; then \ true; \ else \ echo timestamp > specs.ready; \ fi (MAKE="make"; srcdir=`cd ./fixinc && ${PWDCMD-pwd}` ; \ CC="gcc"; CFLAGS=" -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE"; LDFLAGS=""; \ WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error"; LIBERTY=`${PWDCMD-pwd}`/"../libiberty/libiberty.a"; \ export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \ cd ./fixinc && \ /bin/sh ${srcdir}/mkfixinc.sh i686-pc-mingw32 i686-pc-mingw32) constructing ../fixinc.sh for i686-pc-mingw32 to run on i686-pc-mingw32 The directory that should contain system headers does not exist: /usr/include make[1]: *** [stmp-fixinc] Error 1 make[1]: Leaving directory `/mysoftware/gcc-3.4.3/gcc' make: *** [all-gcc] Error 2
On Mon, 12 Jun 2006, Markus Gerwinski wrote:
Hi Folks,
I'm trying to build gpc-20050331 (with the patch from 20050411) in a MinGW/MSys environment on Windows XP. I'm doing
./configure --enable-languages=pascal make
... and `make' then aborts with the error message below.
[..]
The directory that should contain system headers does not exist: /usr/include make[1]: *** [stmp-fixinc] Error 1 make[1]: Leaving directory `/mysoftware/gcc-3.4.3/gcc' make: *** [all-gcc] Error 2
/usr/include should have either kernel source or kernel headers or a link to either/or
You can find a list of kernel header packages at linux.maruhn.com/sec/kernel-headers.html
russ
Russell Whitaker wrote:
On Mon, 12 Jun 2006, Markus Gerwinski wrote:
The directory that should contain system headers does not exist: /usr/include make[1]: *** [stmp-fixinc] Error 1 make[1]: Leaving directory `/mysoftware/gcc-3.4.3/gcc' make: *** [all-gcc] Error 2
/usr/include should have either kernel source or kernel headers or a link to either/or
You can find a list of kernel header packages at linux.maruhn.com/sec/kernel-headers.html
Thanks for the link, but... all of the tarballs I found at that site had the same contents, none of which were headers:
kernel-headers-2.2.19-m68k-2.2.19/ kernel-headers-2.2.19-m68k-2.2.19/debian/ kernel-headers-2.2.19-m68k-2.2.19/debian/changelog kernel-headers-2.2.19-m68k-2.2.19/debian/control kernel-headers-2.2.19-m68k-2.2.19/debian/rules
Am I missing something?
Regards,
Markus
On 12 Jun 2006 at 22:26, Markus Gerwinski wrote:
Hi Folks,
I'm trying to build gpc-20050331 (with the patch from 20050411) in a MinGW/MSys environment on Windows XP. I'm doing
./configure --enable-languages=pascal make
... and `make' then aborts with the error message below.
What am I doing wrong?
Regards,
Markus
-- LOG --
make[2]: Entering directory `/mysoftware/gcc-3.4.3/gcc/p/rts' make[2]: Nothing to be done for `generated-files'. make[2]: Leaving directory `/mysoftware/gcc-3.4.3/gcc/p/rts' rm -rf p/docdemos ./p/script/mkdir-p p/docdemos ./p/script/extract-doc-demos -o p/docdemos ./p/doc/*.texi ./p/doc/generated/*.texi ./p/doc/en/*.texi echo timestamp > "p/stamp-docdemos" make[1]: Circular libgcc.a <- pascal dependency dropped. if [ -f specs.ready ] ; then \ true; \ else \ echo timestamp > specs.ready; \ fi (MAKE="make"; srcdir=`cd ./fixinc && ${PWDCMD-pwd}` ; \ CC="gcc"; CFLAGS=" -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE"; LDFLAGS=""; \ WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error"; LIBERTY=`${PWDCMD-pwd}`/"../libiberty/libiberty.a"; \ export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \ cd ./fixinc && \ /bin/sh ${srcdir}/mkfixinc.sh i686-pc-mingw32 i686-pc-mingw32) constructing ../fixinc.sh for i686-pc-mingw32 to run on i686-pc-mingw32 The directory that should contain system headers does not exist: /usr/include make[1]: *** [stmp-fixinc] Error 1 make[1]: Leaving directory `/mysoftware/gcc-3.4.3/gcc' make: *** [all-gcc] Error 2
I have seen this many times before (something to do with generating some docs files). Run "make -i", and then "make" again, and the problem should vanish.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Prof A Olowofoyeku (The African Chief) wrote:
On 12 Jun 2006 at 22:26, Markus Gerwinski wrote:
../fixinc.sh for i686-pc-mingw32 to run on i686-pc-mingw32 The directory that should contain system headers does not exist: /usr/include make[1]: *** [stmp-fixinc] Error 1 make[1]: Leaving directory `/mysoftware/gcc-3.4.3/gcc' make: *** [all-gcc] Error 2
I have seen this many times before (something to do with generating some docs files). Run "make -i", and then "make" again, and the problem should vanish.
Thanks, this did take me a step further. However, when running "make" again, I get a new error message now. (See attached log.)
What could be the problem this time? I assume I could fix it by passing a directory option to configure or make, but which one?
Regards,
Markus