From: Lyon <ly...@ma...> - 2003-11-27 00:17:40
|
Hello, (please apologize if this is a little bit off-topic in this list) I'd like to build MinGW based cross-compiler for m68k-elf. I tried to build it from gcc-3.3.1-20030804-1 sources downloaded through link on www.mingw.org. Configure step passes well, but make ends up with the following problem: =2E . . . . . . .=20 gcc -O2 -g0 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-p= rototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DH= AVE_CONFIG_H -I. -I. -I../../../../src/mingw/gcc/3.3.1-20030804-1-src/gc= c -I../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/. -I../../../../src/= mingw/gcc/3.3.1-20030804-1-src/gcc/config -I../../../../src/mingw/gcc/3.3.1= -20030804-1-src/gcc/../include \ -DTARGET_MACHINE=3D\"m68k-elf\" \ -c ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c -o collect= 2.o =2E./../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c: In functio= n `handler': =2E./../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:447: warnin= g: implicit declaration of function `kill' =2E./../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c: In functio= n `scan_prog_file': =2E./../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:2092: warni= ng: implicit declaration of function `pipe' =2E./../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:2115: warni= ng: implicit declaration of function `fork' =2E./../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:2131: warni= ng: passing arg 2 of `execv' from incompatible pointer type =2E./../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:2069: warni= ng: unused variable `quit_handler' gcc -c -O2 -g0 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstric= t-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long = -DHAVE_CONFIG_H -I. -I. -I../../../../src/mingw/gcc/3.3.1-20030804-1-src= /gcc -I../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/. -I../../../../s= rc/mingw/gcc/3.3.1-20030804-1-src/gcc/config -I../../../../src/mingw/gcc/3.= 3.1-20030804-1-src/gcc/../include ../../../../src/mingw/gcc/3.3.1-20030804-= 1-src/gcc/tlink.c -o tlink.o gcc -O2 -g0 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-p= rototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DH= AVE_CONFIG_H -s -Wl,--stack=3D0x00800000 -o Tcollect2.exe \ collect2.o tlink.o intl.o version.o ./intl/libintl.a -liconv ../libibert= y/libiberty.a=20 collect2.o(.text+0x313):collect2.c: undefined reference to `kill' collect2.o(.text+0x3b74):collect2.c: undefined reference to `pipe' collect2.o(.text+0x3c12):collect2.c: undefined reference to `fork' make[1]: *** [collect2.exe] Error 1 make[1]: Leaving directory `/cross/tmp/m68k-elf/bootstrap-3.3.1-20030804-1/= gcc' make: *** [all-gcc] Error 2 make: Leaving directory `/cross/tmp/m68k-elf/bootstrap-3.3.1-20030804-1' =20 Can anybody give some hint, what's going wrong? Thanks in advance. --=20 lyo+ lyo/at/mail/dot/lanck/dot/net |