Hello Mr. Harris

As I said before I have tried to build to different version of the libpcap
and below I'm presenting output of your command for both versions:

root@beagleboard:~# nm -o /mnt/dcu/libpcap-1.4.0/build/libpcap.a  | egrep
> lex
> /mnt/dcu/libpcap-1.4.0/build/libpcap.a:gencode.o:         U lex_cleanup
> /mnt/dcu/libpcap-1.4.0/build/libpcap.a:gencode.o:         U lex_init
> /mnt/dcu/libpcap-1.4.0/build/libpcap.a:scanner.o:00000778 T lex_cleanup
> /mnt/dcu/libpcap-1.4.0/build/libpcap.a:scanner.o:0000075c T lex_init
> /mnt/dcu/libpcap-1.4.0/build/libpcap.a:scanner.o:00000030 B
> pcap__flex_debug
> /mnt/dcu/libpcap-1.4.0/build/libpcap.a:scanner.o:000007b8 T pcap_lex
> /mnt/dcu/libpcap-1.4.0/build/libpcap.a:scanner.o:000006b4 T
> pcap_lex_destroy
> /mnt/dcu/libpcap-1.4.0/build/libpcap.a:grammar.o:         U pcap_lex
>


> root@beagleboard:~#  nm -o /mnt/dcu/libpcap-1.5.2/build/libpcap.a  |
> egrep lex
> /mnt/dcu/libpcap-1.5.2/build/libpcap.a:gencode.o:         U lex_cleanup
> /mnt/dcu/libpcap-1.5.2/build/libpcap.a:gencode.o:         U lex_init
> /mnt/dcu/libpcap-1.5.2/build/libpcap.a:grammar.o:         U pcap_lex


Also I want to pay your attention, that I have used native compilator,
because in the cross-compile I have received issue with enabling IPv6 in
the configure and I have not more time to find the cause of it.

This is my script for configure and make of libpcap library:
root@beagleboard:/mnt/dcu/libpcap-1.5.2/build# cat CONFIGURE_libpcap-1.5.2

#!/bin/sh
> export LDFLAGS="-L/usr/lib"
> export CPPFLAGS="-DARM_FPU_NONE=1 -DNO_UNALIGNED_ACCESS"
> export CFLAGS="-I/usr/include -msoft-float -mtp=soft -Os"
> ../configure --enable-ipv6
> RET=$?
> test $RET -eq 0 && make -j2 && make install


The tcpdump utility (last stable release 4.5.1) successfull works with
library libpcap (old stable release 1.4.0)

root@beagleboard:/mnt/dcu/libpcap-1.5.2/build#
>  /mnt/dcu/tcpdump-4.5.1/build/binaries/sbin/tcpdump --version
> /mnt/dcu/tcpdump-4.5.1/build/binaries/sbin/tcpdump: invalid option -- '-'
> tcpdump version 4.5.1
> libpcap version 1.4.0


root@beagleboard:/mnt/dcu/libpcap-1.5.2/build# file
> /mnt/dcu/tcpdump-4.5.1/build/binaries/sbin/tcpdump*
> /mnt/dcu/tcpdump-4.5.1/build/binaries/sbin/tcpdump:       ELF 32-bit LSB
>  executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared
> libs), for GNU/Linux 2.6.16,
> BuildID[sha1]=3c3fa491f51856e61f1a45e62e219a2da6a930c1, stripped
> /mnt/dcu/tcpdump-4.5.1/build/binaries/sbin/tcpdump.4.5.1: ELF 32-bit LSB
>  executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared
> libs), for GNU/Linux 2.6.16,
> BuildID[sha1]=3c3fa491f51856e61f1a45e62e219a2da6a930c1, not stripped


I use this for my system based on the ARM processor AM335x.

Please let me know if I can to help you in anything else.

With Best Regards, Evgheni.

P.S. Please note, that from the Saturday (Dec. 28) I'm going to Christmas
holidays and will not be able to help you till to Jan.13, 2014.


On Tue, Dec 24, 2013 at 5:32 AM, Guy Harris <g...@alum.mit.edu> wrote:

>
> On Dec 23, 2013, at 1:32 PM, Evgheni Antropov <aid...@gmail.com> wrote:
>
> > you can download all files here
> https://mega.co.nz/#!c0hh2JAI!RqkP-F5cb-yTGXtRe-FGTgiDdC4FiBOzmzccsGiL_wo
> >
> > and I have attached those files to this email too.
>
> ...and, this time, the attachments *weren't* removed.  Thanks.
>
> > Please let me know if my email was informative to you.
>
> It was, but could you also do, in the libpcap build directory:
>
>         nm -o libpcap.a | egrep lex
>
> and send the output?
>
> In addition:
>
>         checking build system type... armv7l-unknown-linux-gnueabi
>         checking host system type... armv7l-unknown-linux-gnueabi
>         checking target system type... armv7l-unknown-linux-gnueabi
>
> Are you cross-compiling libpcap and tcpdump, or are you compiling them on
> the target machine?
>
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to