Next-in-Thread Next Message

Sad pcmcia-cs-3.1.13 and 15 can't cross-compile for powerpc 

Forum: Non-x86 PCMCIA Issues
Date: 2000, May 22
From: Tom Eden tome

I tried to build the pcmcia driver using a cross-compiler. I am using a Hardhat cross-compiler from MontaVista to compile for a powerpc. On the two lines in the Makefile that say "@./Configure" I added --arch=powerpc --cc=/opt/hardhat/devkit/ppc/8xx/bin/powerpc-linux-gcc --ld=/opt/hardhat/devkit/ppc/8xx/bin/powerpc-linux-ld

During "make all" I got undefined references to "isa-io-base" and "ioperm." The build worked fine when I used the normal gcc compiler on Redhat Linux 6.2. It looks like the build got fairly far along. I'm wondering if there are any settings I left out.

--Tom Eden

Here are the error messages I got:

/opt/hardhat/devkit/ppc/8xx/bin/powerpc-linux-gcc -O -Wall -Wstrict-prototypes -pipe -I../include -I/opt/hardhat/devkit/ppc/8xx/kernel/linux-2.2.13/include -I../modules probe.c -o probe

/tmp/ccL4gAgy.o: In function `i365_get':

/tmp/ccL4gAgy.o(.text+0x16): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o(.text+0x1a): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o(.text+0x26): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o: In function `i365_set':

/tmp/ccL4gAgy.o(.text+0x5a): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o(.text+0x5e): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o(.text+0x6a): more undefined references to `isa_io_base' follow

/tmp/ccL4gAgy.o: In function `i365_probe':

/tmp/ccL4gAgy.o(.text+0x1c4): undefined reference to `ioperm'

/tmp/ccL4gAgy.o(.text+0x1c4): relocation truncated to fit: R_PPC_REL24 ioperm

/tmp/ccL4gAgy.o(.text+0x1d4): undefined reference to `ioperm'

/tmp/ccL4gAgy.o(.text+0x1d4): relocation truncated to fit: R_PPC_REL24 ioperm

/tmp/ccL4gAgy.o(.text+0x2e6): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o(.text+0x2ea): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o(.text+0x2fe): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o: In function `tcic_getb':

/tmp/ccL4gAgy.o(.text+0x44e): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o(.text+0x452): undefined reference to `isa_io_base'

/tmp/ccL4gAgy.o(.text+0x46a): more undefined references to `isa_io_base' follow

/tmp/ccL4gAgy.o: In function `tcic_probe':

/tmp/ccL4gAgy.o(.text+0x7b0): undefined reference to `ioperm'

/tmp/ccL4gAgy.o(.text+0x7b0): relocation truncated to fit: R_PPC_REL24 ioperm

/tmp/ccL4gAgy.o(.text+0x7c0): undefined reference to `ioperm'

/tmp/ccL4gAgy.o(.text+0x7c0): relocation truncated to fit: R_PPC_REL24 ioperm

collect2: ld returned 1 exit status

make[1]: *** [probe] Error 1

make[1]: Leaving directory
 `/opt/hardhat/devkit/ppc/8xx/kernel/linux-2.2.13/pcmcia-cs-3.1.15/cardmgr'

make: *** [all] Error 2

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None I think you've already built everything you need by David Hinds, 2000, May 22

Add Message to: "pcmcia-cs-3.1.13 and 15 can't cross-compile for powerpc"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10