Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] $global$ undefined?
@ 1999-09-13 16:46 Grant Grundler
  1999-09-13 17:01 ` Philipp Rumpf
  0 siblings, 1 reply; 5+ messages in thread
From: Grant Grundler @ 1999-09-13 16:46 UTC (permalink / raw)
  To: parisc-linux

I'm getting "undefined reference to `$global$'" error when
linking. Is this a tools or source tree problem?

I'm inclined to think the former but don't know.

thanks,
grant

ps - this is now on an HP-UX 11.00 system.

grundler <438>type ld
ld is /linux/parisc-linux/bin/ld
grundler <439>ld --version
GNU ld 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
  Supported emulations:
  hppaelf
grundler <440>type gcc
gcc is /linux/parisc-linux/bin/gcc
grundler <441>gcc --version
egcs-2.91.60
grundler <442>type as      
as is /linux/parisc-linux/bin/as
grundler <443>as --version
GNU assembler 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `parisc-linux'.

grundler <444>make vmlinux
gcc -D__KERNEL__ -I/linux/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -mdisable-fpregs -fwritable-strings  -pipe -fno-strength-reduce -DUTS_MACHINE='"parisc"' -c -o init/version.o init/version.c
.
.
.
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 \
	/linux/linux/arch/parisc/lib/lib.a /linux/linux/lib/lib.a /linux/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$'
make: *** [vmlinux] Error 1
grundler <445>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-09-13 18:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-13 16:46 [parisc-linux] $global$ undefined? Grant Grundler
1999-09-13 17:01 ` Philipp Rumpf
1999-09-13 17:53   ` Grant Grundler
1999-09-13 18:06     ` Philipp Rumpf
1999-09-13 18:18       ` Grant Grundler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox