[Rpcap-users] Found the reason: Re: rtdump won't compile...
Status: Alpha
Brought to you by:
sri_krishnan
|
From: S. K. <sri...@ya...> - 2002-11-03 23:12:53
|
Matt, The problem in compilation is only with the pcap_dump* functions. I was able to reproduce the problem in the morning, but then had to break because of domestic concerns...:). I sat again to look at the problem again just now, and found the reason. If you check your error output on the rtdump build, you will notice that the errors all pertain to pcap_dump, pcap_dump_open, pcap_dump_close, and related structures. Essentially, librpcap as installed in /usr/local/lib is not exporting the pcap_dump functions at all. I did not notice this problem when building on my default system since I have libpcap installed in the default (/lib) directory, and the linker simply linked against the pcap_dump functions in libpcap.so by default when it could not find them in librpcap. I found this when I ran nm on librpcap on both my systems, and could not find these functions. You can check this by running nm on librpcap and looking for pcap_dump, pcap_dump_open, etc. I will now fix this and get back to you ASAP. Thanks for your input and patience. Cheers, Krishnan --- Mattt <ma...@ab...> wrote: > -----Forwarded Message----- > > > From: Mattt <ma...@ab...> > > To: S. Krishnan <sri...@ya...> > > Subject: Re: [Fwd: Re: [Rpcap-users] Re: rtdump won't compile...] > > Date: 04 Nov 2002 03:16:38 +1000 > > > > Okay... tried this a couppla ways, and still no go... > > > > So, I figured I'd untar the source afresh one more time, and *only* > do > > what you've suggested... > > > > There's no config.h until ./configure is run, so I simply untarred, > ran > > ./configure, edited config.h as you suggested (although I used > > HAVE_LOCAL_LIBPCAP this time - I'm starting to figure that was what > you > > meant), and ran make... > > > > Still no go. > > > > I then edited the makefile to include -I/usr/local/include... no > good... > > then added -L/usr/local/lib also... still no good... ran 'make > clean' / > > 'make'... > > > > Nope. > > > > If nothing else, I might have to shift back over to the desktop > machine > > - this waiting for compiling is starting to get me frustrated ;-)) > > > > I'd *love* to get this working... > > > > > > On Mon, 2002-11-04 at 02:42, S. Krishnan wrote: > > > > > > --- Mattt <ma...@ab...> wrote: > > > > Hehe - okay, well my wife and son are flying interstate in > about 5 > > > > hours, so I'll be up for awhile (might as well stay up until > after > > > > they > > > > leave...) ;-) > > > > > > > > > > Great. I now have some news for you. I was able to reproduce > your > > > problems on my test machine. First, pcap header detection is > indeed > > > broken in rtdump. A temporary kludge to fix this is (if your > pcap > > > header files are in /usr/local/include) to edit config.h and > manually > > > set LOCAL_LIBPCAP to 1, and comment (or undef) SYS_LIBPCAP. I > will fix > > > this ASAP - requires some changes to configure.in which I > stupidly > > > forgot about. Using this fix will however cure your local > installation > > > for now. > > > > > > I have also reproduced the rtdump link problem, which is > essentially a > > > library path setting issue for the linker. I am working on it, > and will > > > revert as soon as I get it fixed. > > > > > > Cheers, > > > > > > Krishnan > > > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > HotJobs - Search new jobs daily now > > > http://hotjobs.yahoo.com/ > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > > Las Vegas (supported by COMDEX), the only Apache event to be > > > fully supported by the ASF. http://www.apachecon.com > > > _______________________________________________ > > > Rpcap-users mailing list > > > Rpc...@li... > > > https://lists.sourceforge.net/lists/listinfo/rpcap-users > > > > > -- > > Cheers, > > Mattt. icq : 117539757 > > aboveNetworks tel : 0438 749 962 > > ma...@ab... (mail/jabber) www : www.above.nq4u.net > > > > There are only 10 kinds of people. > > Those who understand binary, and those who don't. > -- > Cheers, > Mattt. icq : 117539757 > aboveNetworks tel : 0438 749 962 > ma...@ab... (mail/jabber) www : www.above.nq4u.net > > There are only 10 kinds of people. > Those who understand binary, and those who don't. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > Rpcap-users mailing list > Rpc...@li... > https://lists.sourceforge.net/lists/listinfo/rpcap-users __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ |