Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2008 00:53:41 +0530
From:      wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=)
To:        "Bhuvaneswari Ramkumar" <ramkumar@iastate.edu>
Cc:        Mel <fbsd.questions@rachie.is-a-geek.net>, freebsd-questions@freebsd.org
Subject:   Re: Libnet in FreeBSD
Message-ID:  <874pcoy18i.fsf@chateau.d.lf>
In-Reply-To: <7c7927920802041036v79bc635h34c51f747384b0ad@mail.gmail.com> (Bhuvaneswari Ramkumar's message of "Mon, 4 Feb 2008 13:36:17 -0500")
References:  <7c7927920802040954u948a5ebga929f11a2fa76a45@mail.gmail.com> <200802041929.32973.fbsd.questions@rachie.is-a-geek.net> <7c7927920802041036v79bc635h34c51f747384b0ad@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
>>>>> 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
         ··-· ·-· · · -·· ·-·-·- ·· -·   ··--- ----- ----- ---··

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHp2Y9Hy+EEHYuXnQRAhXPAKCH6GDjIymjkK2cOp8Z365QX7jrPwCcDtkg
t54xa16m6zxxQ+sv2OxqvWw=
=yp4o
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874pcoy18i.fsf>