From: Bob Felderman <feldy@myri.com>
Subject: insmod with redhat 4.0 undefined symbols
Date: Wed, 4 Dec 96 00:27:43 PST [thread overview]
Message-ID: <3ce9cda1dd5e22e8b7a2ee9b5eca513e.axp-list@archive.invalid> (raw)
I've compiled a kernel module for the alpha without any warnings,
but when I try to run insmod, it can't seem to find symbols.
I've never used RedHat before, so I may be doing something
totally stupid. It appears that the symbols I'm missing all
are one "_" short.
alpha 16% grep printk ksyms
fffffc000031e030 _printk
alpha 17% grep __get ksyms
fffffc0000333d68 ___get_free_pages
alpha 18% grep ether ksyms
fffffc00003dfd90 _init_etherdev
fffffc00003e00a8 _ether_setup
insmod-bfd-0.2-1
kernel-modules-2.0.18-5
gcc-2.7.2-9
gcc-c++-2.7.2-9
glibc-0.960906-1
glibc-devel-0.960906-1
glibc-info-0.960906-1
glibc-profile-0.960906-1
glibc-static-0.960906-1
Linux alpha 2.0.20 #1 Thu Oct 10 10:27:16 EDT 1996 alpha
I presume it has something to do with the
/usr/tmp/ksym2810.o
not being found, or does insmod create that file.
/sbin/insmod -f -v ./myrinet
ld -o /usr/tmp/myrinet2810 -defsym __start=0 -N -Ttext 0xfffffe0000032008 ./myrinet /usr/tmp/ksym2810.o
./myrinet: In function `myri_probe_null':
myri.c(.text+0x20): undefined reference to `printk'
myri.c(.text+0x24): undefined reference to `printk'
./myrinet: In function `myri_probe':
myri.c(.text+0x80): undefined reference to `printk'
myri.c(.text+0x84): undefined reference to `printk'
myri.c(.text+0xc8): undefined reference to `printk'
./myrinet(.text+0xcc):myri.c: more undefined references to `printk' follow
./myrinet: In function `myri_hw_init':
myri.c(.text+0x1c4): undefined reference to `kmalloc'
./myrinet(.text+0x228):myri.c: more undefined references to `printk' follow
./myrinet: In function `myri_hw_init':
myri.c(.text+0x244): undefined reference to `__constant_c_memset'
myri.c(.text+0x288): undefined reference to `sprintf'
myri.c(.text+0x2c0): undefined reference to `printk'
myri.c(.text+0x324): undefined reference to `ether_setup'
myri.c(.text+0x424): undefined reference to `__get_free_pages'
myri.c(.text+0x484): undefined reference to `kmalloc'
myri.c(.text+0x590): undefined reference to `mem_map'
myri.c(.text+0xadc): undefined reference to `__memcpy'
MUCH other stuff deleted
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
reply other threads:[~1996-12-04 8:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox