Date: Thu, 18 Mar 1999 16:39:49 -0500 (EST) From: Dan Seguin <dseg@texar.com> To: freebsd-hackers@freebsd.org Subject: KLD extern calls Message-ID: <Pine.BSF.3.91.990318163106.25492A-100000@pak.texar.com>
next in thread | raw e-mail | index | archive | help
Hi all. Is it possible to make calls to std libs from within a KLD? For example, getpwuid()? If so, how does one link it in? I've tried ld by hand (specifying -lc), but get "bad exec format" when trying to load it. Otherwise, it just refuses to load, claiming "undefined symbol getpwuid". This is not limited to the abovementioned call. Any ideas, knowledge, help is appreciated. Dan Seguin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.990318163106.25492A-100000>