Hi There -

   I need to write a program to log some TCP/IP data sent between two
computers, and came across your nifty libpcap library.  It seems like it
will solve the somewhat difficult task I have of going into promiscuous
mode and intercepting IP packets between the 2 computers.  I built
libpcap version 0.6.2 for a sparc/Solaris 2.5.1 system, but when I tried
to link it into a little test program I got 2 undefined symbols in the
libpcap.a library - snprintf and vsnprintf.  

   After a bit of work I found the definitions for these functions in
the tcpdump program package.  When I built the tcpdump program, the
object file snprintf.o was created.  I then went back to the libpcap and
modified the Makefile so that it included tcpdump's snprintf.o file in
the ar command, remade libpcap, and was able to use it after that.

   My question is, is there a cleaner way to build libpcap so that there
are no unresolved symbols - like an option to the configure program?  I
didn't see anything mentioned in the README or INSTALL files or on your
webpage.

Thanks,

Kevin Steege
=======================================
=          Kevin R. Steege            =
= Digital System Resources, Inc.      =
= 180 N. Riverview Drive, Suite 300   =
= Anaheim Hills, CA  92808            =
= [EMAIL PROTECTED]   (714) 279-3039 =
=======================================

-
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

Reply via email to