Re: link_elf: symbol cam_simq_alloc undefined



Eugene M. Kim wrote this message on Thu, Apr 27, 2006 at 19:55 -0700:
I'm trying to upgrade from 5-stable to 6-stable; after rebooting to the
new kernel, the amr(4) module (amr.ko) refuses to load with this message:

link_elf: symbol cam_simq_alloc undefined

However, a quick nm(1) on /boot/kernel/cam.ko does show:

...
0000f0ac T cam_sim_set_path
0000efc4 T cam_simq_alloc
0000efd4 T cam_simq_free
...

and cam.ko is already loaded before amr.ko.

What am I missing here? *scratches head 'o 'a*

amr is missing a:
MODULE_DEPEND(amr, cam, 1, 1, 1);

which means the module doesn't get cam's symbols... might as well add
that line to amr_linux.c next to MODULE_DEPEND already there...

--
John-Mark Gurney Voice: +1 415 225 5579

"All that I will do, has been done, All that I have, has not."
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • link_elf: symbol cam_simq_alloc undefined
    ... I'm trying to upgrade from 5-stable to 6-stable; after rebooting to the ... new kernel, the amrmodule refuses to load with this message: ...
    (freebsd-stable)
  • Web Page Loading Issue
    ... I have a web page that refuses to completely load on this ... PC running XP Pro. ... It has several sections missing and I ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Lisa Stebic / Family Tensions on the Rise
    ... April 30, according to police reports. ... missing the following day, May 1. ... Line Up" on FOX News Channel, Melanie Greenberg of Naperville, Lisa Stebic's ... And you don't think a fellow who refuses to help search, ...
    (alt.true-crime)
  • Re: installing XP Pro
    ... found message when to fast to see the exact files that are missing. ... Does anyone have any suggestions to help me load the ... Problems installing an operating system such as yours are usually caused ... Testing hardware failures often involves swapping out suspected parts ...
    (microsoft.public.windowsxp.general)
  • Re: Announce loop-AES-v3.1c file/swap crypto package
    ... >> Either something is missing in the support for external modules in the ... >> kernel or you are overdoing some stuff. ... >> the kernel to support external modules then please say so, ...
    (Linux-Kernel)