Fixed the problem (Was: Re: [Rpcap-users] Re: rtdump won't compile...)
Status: Alpha
Brought to you by:
sri_krishnan
|
From: S. K. <sri...@ya...> - 2002-11-04 04:28:12
|
Found and fixed. The issue was a broken Makefile.am in rpcap, which was not pulling in savefile.c in the library build (libtool invocation). Savefile.c contains the code for the pcap_dump* functions, which the linker was not able to locate in librpcap, since the file was not getting bulit at all! Fixing this gave rise to several other issues, all caused by static linking on the test system. These errors did not show up on my main build system, because Red Hat had very kindly enabled a shared (.so) libpcap, which filled in for the missing fucntionality. All these issues appear to be fixed now. I have now made the following changes to the build: * Ensured that librpcap provides all the functionality required by rtdump, including nametoaddr, pcap_next_etherent, etc. * Provided a stub replacement for bpf_error, for the time being * Added pcap_file and pcap_file_no in rpcap_client.c * Did a couple of test builds of rpcap and rtdump on the test system, which worked TODO: Fixing the pcap header issue in rpcap's configure.in - right now, please kludge it for the next day or so by setting the appropriate flag (SYS_LIBPCAP or LOCAL_LIBPCAP) in config.h. I will work on it and fix it ASAP. I intend to test a little further tomorrow on an additional skeleton install at work, and will update the sources on sourceforge tomorrow evening. I will post upload info on rpcap_users immediately. Matt, if you would like me to directly email you the fixed source archives, please mail me - I am not doing it by default since they will be 500 K +. Regards, 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... > > __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ |