Libnet in FreeBSD

Bhuvaneswari Ramkumar ramkumar at iastate.edu
Mon Feb 4 19:25:31 UTC 2008


-Inet doesnt work :-(

On Feb 4, 2008 2:23 PM, Ashish Shukla आशीष शुक्ल <wahjava.ml at gmail.com>
wrote:

> >>>>> Bhuvaneswari Ramkumar writes:
>    Bhuvaneswari> well actually, even the sample applications seem to have
> the same problem,
>    Bhuvaneswari> So I'm guessing its some installation issue:
>
>    Bhuvaneswari> # cc dns.c
>    Bhuvaneswari> /var/tmp//ccImyVt1.o(.text+0x88) : In function 'main' : :
> undefined
>    Bhuvaneswari> reference to 'libnet_init'
>
> Probably you need to add '-lnet' to your command line to include
> libnet's libraries during linking.
>
> HTH
> --
> Ashish Shukla आशीष शुक्ल
> http://wahjava.wordpress.com/
> ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
> freed.in | freedom in technology and software | 22-24 February 2008 |
> Delhi
>         ··-· ·-· · · -·· ·-·-·- ·· -·   ··--- ----- ----- ---··
>


More information about the freebsd-questions mailing list