Date: Tue, 5 Feb 2008 11:05:04 -0600 From: "Bhuvaneswari Ramkumar" <ramkumar@iastate.edu> To: freebsd-questions@freebsd.org Subject: Re: Libnet in FreeBSD Message-ID: <7c7927920802050905g6bf8c3aeu484efd1d80f98281@mail.gmail.com> In-Reply-To: <20080205072409.73621f48@scorpio> References: <7c7927920802040954u948a5ebga929f11a2fa76a45@mail.gmail.com> <200802041929.32973.fbsd.questions@rachie.is-a-geek.net> <7c7927920802041036v79bc635h34c51f747384b0ad@mail.gmail.com> <200802042041.57804.fbsd.questions@rachie.is-a-geek.net> <7c7927920802041930y1b209944ice740f47d006cf83@mail.gmail.com> <20080205072409.73621f48@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
ok after that e-mail last night, I did try a make of the ports collection libnet after the make, everything looked fine, atleast I didnt notice anything missing in the log or config files but I still see the same problem, " undefined reference to libnet_init" and msgs liks that for every libnet call. I used -lnet too, but of no use, even did the changes in make file that mel had suggested in the previous post. So I dont know what the problem here is or if this is some incompatibility between how i have BSD and how I have libnet or probably they are not linking together or something like that. Otherwise I dont see why the compiler doesnt recognize any libnet function calls. Here is a question I have, I've worked in TinyOS before and I'm wondering if in Libnet we need a separate directory for each application with its own custom-written make file, or things can just be in one pool from where they are compiled. I do a simple cc -lnet filename.c compile. Is there something else I'm missing here ? Thanks Bhuvana
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7c7927920802050905g6bf8c3aeu484efd1d80f98281>