Libnet in FreeBSD

Ashish Shukla आशीष शुक्ल wahjava.ml at gmail.com
Mon Feb 4 19:22:35 UTC 2008


>>>>> 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
         ··-· ·-· · · -·· ·-·-·- ·· -·   ··--- ----- ----- ---··
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080204/b5dd1eec/attachment.pgp


More information about the freebsd-questions mailing list