Date: Fri, 5 Jan 2001 10:15:56 +1100 (EST) From: Warren Toomey <wkt@henry.cs.adfa.edu.au> To: Vivek Khera <khera@kciLink.com> Cc: stable@FreeBSD.ORG Subject: Re: kldload: Exec format error, is 4.2 problem? Message-ID: <200101042315.f04NFuF07406@henry.cs.adfa.edu.au> In-Reply-To: <14932.40645.130709.857043@onceler.kciLink.com> from Vivek Khera at "Jan 4, 2001 11:03:17 am"
next in thread | previous in thread | raw e-mail | index | archive | help
In article by Vivek Khera: > >>>>> "WT" == Warren Toomey <wkt@henry.cs.adfa.edu.au> writes: > WT> ld -Bshareable -o vmmon_up.ko setdef0.o vmmon_up.kld setdef1.o linux > > WT> By commenting out this flag, the file `linux' isn't used, and the module > WT> can then be loaded by kldload. Also, vmware appears to work fine. > > Do you comment it out on both vmware2 modules and rtc module or just > one of them? > Vivek Khera I'm thinking that I can't load modules that are linked with `linux' because I have the Linux emulation stuff built-in to my kernel, and not as a separate module. Can any module guru tell us exactly what the `linux' word does on the link line? Does it mean ``the linux kernel module is required to load this module''? If so, that's why I need to leave it off when I'm making these modules. Vivek, I can't load any modules that were linked with the `linux' option. Cheers, Warren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101042315.f04NFuF07406>