On Thu, Apr 18, 2002 at 05:22:29PM +0200, Carlos Montero internet wrote:
> I'm using your anexed-packagge
Well, we have two packages - libpcap and tcpdump. Are you using just
libpcap, or are you using both libpcap and tcpdump? (Tcpdump requires
libpcap, so, unless you're on an OS that has libpcap as part of the OS,
you need libpcap as well.)
> in a sun-Os 5.7. �I can use in this machine?.
Yes. SunOS 5.x/Solaris {2.x,7,8} are supported by libpcap and tcpdump.
SunOS 5.x does *not* come with libpcap, so you'd need libpcap in order
to use tcpdump.
> End compiled, the monitor show me that
>
> ld: fatal: file : cannot open file: No such file or directory
> ld: fatal: File processing errors. No output written to Sniffer
> Sniffer.mak[8]: -lpcap: not found
The message
ld: fatal: File processing errors. No output written to Sniffer
sounds as if you're building a program called "Sniffer"; I will assume,
then, that you're just using libpcap.
However, the error message
ld: fatal: file : cannot open file: No such file or directory
is odd - it looks as if the linker ("ld") is trying to open a file whose
name is a blank, or something such as that, and the error message
Sniffer.mak[8]: -lpcap: not found
makes it look as if whatever program is interpreting "Sniffer.mak"
(which I assume is a Makefile of some sort) read in "Sniffer.mak" a line
that specifies that it should do something with "-lpcap" - and that
"-lpcap" was not passed to the linker.
I suspect that there's an error in the "Sniffer.mak" file.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe