From: John B. <joh...@ya...> - 2004-09-22 09:50:42
|
Hi all, I am getting compiler error while trying to cross-compile the pcmcia-cs for MIPS 4KC (little endian) target using Montavista Hardhat compiler. (Hardhat Linux source is installed at /root/linux-2.4.17_mvl21) Started with the pcmcia "Configure" script as follows; [root@linux pcmcia-cs-3.2.8]# ./Configure --arch=mips --ucc=/opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-gcc --kcc=/opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-gcc --ld=/opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-ld Next, "make all" produced following errors; [root@linux pcmcia-cs-3.2.8]# make all make[1]: Entering directory `/home/user/cross_compile_wlan/pcmcia-cs-3.2.8/modules' /opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-gcc -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include -I/root/linux-2.4.17_mvl21/include -D__KERNEL__ -DMODULE -c cs.c /opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-gcc -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include -I/root/linux-2.4.17_mvl21/include -D__KERNEL__ -DMODULE -c cistpl.c /opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-gcc -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include -I/root/linux-2.4.17_mvl21/include -D__KERNEL__ -DMODULE -c rsrc_mgr.c /opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-gcc -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include -I/root/linux-2.4.17_mvl21/include -D__KERNEL__ -DMODULE -c bulkmem.c /opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-gcc -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include -I/root/linux-2.4.17_mvl21/include -D__KERNEL__ -DMODULE -c pci_fixup.c /opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-ld -r -o pcmcia_core.o cs.o cistpl.o rsrc_mgr.o bulkmem.o pci_fixup.o chmod -x pcmcia_core.o /opt/hardhat/previewkit/mips/fp_le/bin/mips_fp_le-gcc -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include -I/root/linux-2.4.17_mvl21/include -D__KERNEL__ -DMODULE -c ds.c {standard input}: Assembler messages: {standard input}:1069: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format {standard input}:3547: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format make[1]: *** [ds.o] Error 1 make[1]: Leaving directory `/home/user/cross_compile_wlan/pcmcia-cs-3.2.8/modules' make: *** [all] Error 2 Any help in this regard will be much appreciated. (I have successfully installed and configured the pcmcia-cs and linux-wlan-ng on a laptop running Red Hat Linux 7.2 (with 2.4.20) and its working fine) Thanks, J.Bright __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |