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
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

>>>>> 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
=2D-=20
Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4=
=95=E0=A5=8D=E0=A4=B2                      http://wahjava.wordpress.com/
=C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2=
=B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-=
=C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- --
freed.in | freedom in technology and software | 22-24 February 2008 | Delhi
         =C2=B7=C2=B7-=C2=B7 =C2=B7-=C2=B7 =C2=B7 =C2=B7 -=C2=B7=C2=B7 =C2=
=B7-=C2=B7-=C2=B7- =C2=B7=C2=B7 -=C2=B7   =C2=B7=C2=B7--- ----- ----- ---=
=C2=B7=C2=B7

--=-=-=
Content-Type: application/pgp-signature

-----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>