Re: Libnet in FreeBSD

2008-02-05 Thread Gerard
On Mon, 4 Feb 2008 22:30:47 -0500 Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote: On Feb 4, 2008 2:41 PM, Mel [EMAIL PROTECTED] wrote: On Monday 04 February 2008 19:36:17 Bhuvaneswari Ramkumar wrote: well actually, even the sample applications seem to have the same problem, So I'm

Re: Libnet in FreeBSD

2008-02-05 Thread Bhuvaneswari Ramkumar
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

Re: Libnet in FreeBSD

2008-02-05 Thread Bhuvaneswari Ramkumar
Question: do I need to set the cflag libs options in the libnet-config file for the compiling and linking to happen correctly ? Bhuvana On Feb 5, 2008 12:05 PM, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote: ok after that e-mail last night, I did try a make of the ports collection libnet

Libnet in FreeBSD

2008-02-04 Thread Bhuvaneswari Ramkumar
Hi, I'm trying to work with Libnet in BSD, I ftped the package, did a ./configure and a make install and things seemed to be fine. But when I try to compile a simple application, I get a msg : undefined reference :libnet_init , actually it looks like it doesnt recognize any of the libnet

Re: Libnet in FreeBSD

2008-02-04 Thread Mel
On Monday 04 February 2008 18:54:49 Bhuvaneswari Ramkumar wrote: I'm trying to work with Libnet in BSD, I ftped the package, did a ./configure and a make install and things seemed to be fine. But when I try to compile a simple application, I get a msg : undefined reference :libnet_init ,

Re: Libnet in FreeBSD

2008-02-04 Thread Mel
On Monday 04 February 2008 19:36:17 Bhuvaneswari Ramkumar wrote: well actually, even the sample applications seem to have the same problem, So I'm guessing its some installation issue: # cc dns.c /var/tmp//ccImyVt1.o(.text+0x88) : In function 'main' : : undefined reference to 'libnet_init'

Re: Libnet in FreeBSD

2008-02-04 Thread Bhuvaneswari Ramkumar
-Inet doesnt work :-( On Feb 4, 2008 2:23 PM, Ashish Shukla आशीष शुक्ल [EMAIL PROTECTED] 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:

Re: Libnet in FreeBSD

2008-02-04 Thread Ashish Shukla आशीष शुक्ल
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' : :

Re: Libnet in FreeBSD

2008-02-04 Thread Bhuvaneswari Ramkumar
:-) tried either ways , dosent work, I'm guessing it has to do with my make itself On Feb 4, 2008 2:39 PM, Ashish Shukla आशीष शुक्ल [EMAIL PROTECTED] wrote: Bhuvaneswari Ramkumar writes: Bhuvaneswari -Inet doesnt work :-( thats not '-Inet' but '-lnet' . HTH -- Ashish Shukla आशीष

Re: Libnet in FreeBSD

2008-02-04 Thread Ashish Shukla आशीष श ुक्ल
Bhuvaneswari Ramkumar writes: Bhuvaneswari -Inet doesnt work :-( thats not '-Inet' but '-lnet' . HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- freed.in | freedom in technology and

Re: Libnet in FreeBSD

2008-02-04 Thread Bhuvaneswari Ramkumar
Question: Do I need to do this for every libnet app I compile, like modify the PROG variable in the app's folder even for the sample aplications already compiled set ? Aside this, if someone could tell me the exact compilation steps for Libnet, it would be really helpful. Thanks Bhuvana

Re: Libnet in FreeBSD

2008-02-04 Thread Bhuvaneswari Ramkumar
well actually, even the sample applications seem to have the same problem, So I'm guessing its some installation issue: # cc dns.c /var/tmp//ccImyVt1.o(.text+0x88) : In function 'main' : : undefined reference to 'libnet_init' This is how my compilation result reads for the dns.c sample

Re: Libnet in FreeBSD

2008-02-04 Thread Mel
On Monday 04 February 2008 20:53:22 Bhuvaneswari Ramkumar wrote: Question: Do I need to do this for every libnet app I compile, like modify the PROG variable in the app's folder even for the sample aplications already compiled set ? Hmm, that goes into BSD's make system, so read up on

Re: Libnet in FreeBSD

2008-02-04 Thread Bhuvaneswari Ramkumar
Sorry I'm not getting this... what did u want me to try ? I'm not using the ports collection and have installed libnet 1.1.2.1 in root. Did u say I had to add these lines to the make-file of my app.c sample file or to the BSD make-file in usr/share/mk or is it something else ? .also