Skip to contentSkip to conversation

Linker question....

parisc-linux Ryan Bradetich 2 participants 2 messages Sep 6, 1999 – Sep 7, 1999

lore
Share & tools
lore
#0 lore raw

Ok,

I've almost got the linux kernel to build on my linux box using the cross-compiler rpms bits from puffin.external.hp.com.

I've spent a good portion of the day searching the archives on how to address this problem, and the theme I've discovered is the kernel needs to be compiled/linked under HP-UX?

I just wanted to verify this assertion before I installed the tools on the C200.

Thanks,
-Ryan

PS. This is the error I get using the egcs cross-compiler.
------------------------------------

parisc-linux-ld -R 0xc0010000 -N -e stext arch/parisc/kernel/head.o arch/parisc/kernel/init_task.o init/main.o init/version.o ramdisk.o\
arch/parisc/kernel/kernel.o arch/parisc/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/gecko/gecko.a
drivers/net/net.a drivers/pci/pci.a \
/home/rbrad/source/linux/arch/parisc/lib/lib.a /home/rbrad/source/linux/lib/lib.a /home/rbrad/source/linux/arch/parisc/lib/lib.a \
-o vmlinux
arch/parisc/kernel/kernel.o: In function `pdc_add_valid':
arch/parisc/kernel/kernel.o($CODE$+0x26f8): undefined reference to `$global$'
gmake: *** [vmlinux] Error 1
[rbrad@beavis linux]$

#1 lore raw

In message <[email protected]>you write:

Quoted 3 lines

I've spent a good portion of the day searching the archives on how to address this problem, and the theme I've discovered is the kernel needs to be compiled/linked under HP-UX?

That is correct. There is no cross-linker support for the SOM format. The elf tools are in progress, but not ready for use.

jeff