Wireshark mailing list archives
T-Shark Cross Compilation issue
From: "Clint Thomas" <cthomas () Soneticom com>
Date: Fri, 16 Oct 2009 13:39:23 -0400
Salutations, I've been making an attempt to cross compile TShark (and dumpcap) for my PPC 8541 platform, overcoming the slight hurdles that keep presenting themselves (missing libraries, etc.) My first tries were using the old stable version (1.0.9), whereupon I ran into a problem regarding the rdps binary (cross compiled binary wants to execute on my x86 host machine). This was detailed here http://www.wireshark.org/lists/wireshark-dev/200905/msg00346.html In another post, somebody mentioned that this problem had been resolved in the latest version (1.2.2), so I decided to try that. In doing so, I was able to get most of the way through the compilation process. Here is the configure options I used in my build. ./configure --prefix=/opt/powerpc-85xx-linux/ --host=powerpc-linux --disable-wireshark --disable-editcap --disable-capinfos --disable-mergecap --disable-text2pcap --disable-idl2wrs --disable-dftest --disable-randpkt --disable-rawshark After allowing the compilation process some time to churn, a similar problem occurred, this time with the lemon executable. Here is the error I get. Making all in dfilter make[3]: Entering directory `/home/cthomas/Desktop/project/wireshark-1.2.2/epan/dfilter' ../../tools/lemon/lemon t=./../../tools/lemon/lempar.c ./grammar.lemon || \ (rm -f grammar.c grammar.h ; false) /bin/sh: ../../tools/lemon/lemon: cannot execute binary file make[3]: *** [grammar.c] Error 1 What I'm wondering is, can I disable lemon's execution during the build process and be safe? Do I need lemon to be on my target platform for TShark to operate correctly? Or is this just an artifact of the build process, and I need to change the CC used to build the tool? Thanks, Clinton Thomas
___________________________________________________________________________ Sent via: Wireshark-users mailing list <wireshark-users () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-users Unsubscribe: https://wireshark.org/mailman/options/wireshark-users mailto:wireshark-users-request () wireshark org?subject=unsubscribe
Current thread:
- T-Shark Cross Compilation issue Clint Thomas (Oct 16)
- Re: T-Shark Cross Compilation issue Guy Harris (Oct 16)
- Re: T-Shark Cross Compilation issue Jeff Morriss (Oct 16)
- Re: T-Shark Cross Compilation issue Guy Harris (Oct 16)
- Re: T-Shark Cross Compilation issue Jeff Morriss (Oct 16)
- Re: T-Shark Cross Compilation issue Guy Harris (Oct 16)
- Re: T-Shark Cross Compilation issue Guy Harris (Oct 16)
- Pcap files Rayne (Oct 16)
- Re: Pcap files Guy Harris (Oct 16)
- Re: Pcap files Rayne (Oct 21)
- Re: Pcap files Guy Harris (Oct 21)
- Re: Pcap files Rayne (Oct 22)
- Re: Pcap files Guy Harris (Oct 16)