Date: Thu, 27 Apr 2006 20:21:16 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: "Eugene M. Kim" <gene@nttmcl.com> Cc: freebsd-stable@freebsd.org Subject: Re: link_elf: symbol cam_simq_alloc undefined Message-ID: <20060428032115.GP728@funkthat.com> In-Reply-To: <44518421.60408@nttmcl.com> References: <44518421.60408@nttmcl.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060428032115.GP728>