Exporting symbol in linux2.4/ia64
While working on a driver, I've experienced the following when trying to insmod it (i'm using 2.4-test6):
unresolved symbol clear_page
unresolved symbol softirq_state
unresolved symbol __ia64_memcpy_toio
unresolved symbol __free_pages_ok
softirq_state is a 'case to study', but for the three others, it's slightly different, as:
clear_page exists in the kernel (nm vmlinux...) but is probably not exported__free_pages_ok is present as well, but should be available through a 'classic' function (no __)__ia64_memcpy_toio does not exist in vmlinux, neither memcpy_toio... ld problem?
As on 2.2/ia32 I had no problem with clear_page, free_page_ok and memcpy_toio, I guess that it's just an exporting problem. Now I'm including directly the object into my driver to debug it, but could you tell me if in the final release those symbols will remain unexported or not? (ie: is it just a bug?)
Thanks...
Geraud
Quoted 10 lines · On Wed, 16 Aug 2000 13:59:27 +0200 (MEST), "G\\351raud Krawezik" <[email protected]>…
While working on a driver, I've experienced the following when trying to insmod it (i'm using 2.4-test6):
unresolved symbol
clear_page
unresolved symbolsoftirq_state
unresolved symbol__ia64_memcpy_toio
unresolved symbol__free_pages_ok
softirq_stateis a 'case to study', but for the three others, it's slightly different, as:
softirq_state was moved and renamed in 2.4.0-test6. See include/linux/irq_cpustat.h for the new definitions. You either compiled your module against old headers or you are trying to insmod an old module. 2.4.0-test6 also cleaned up the /lib/modules directory structure but the transition might have left old structure around, try "rm -rf /lib/modules/2.4.0-test6" and "make modules_install" to get rid of any old structure. Also check that you have modutils 2.3.14.