public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Exporting symbol in linux2.4/ia64
@ 2000-08-16 11:59 G\351raud Krawezik
  2000-08-16 15:45 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: G\351raud Krawezik @ 2000-08-16 11:59 UTC (permalink / raw)
  To: linux-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



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

* Re: [Linux-ia64] Exporting symbol in linux2.4/ia64
  2000-08-16 11:59 [Linux-ia64] Exporting symbol in linux2.4/ia64 G\351raud Krawezik
@ 2000-08-16 15:45 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2000-08-16 15:45 UTC (permalink / raw)
  To: linux-ia64

On Wed, 16 Aug 2000 13:59:27 +0200 (MEST), 
"G\\351raud Krawezik" <gk@scali.no> wrote:
>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:

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.



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

end of thread, other threads:[~2000-08-16 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-16 11:59 [Linux-ia64] Exporting symbol in linux2.4/ia64 G\351raud Krawezik
2000-08-16 15:45 ` Keith Owens

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