Wireshark-dev: Re: [Wireshark-dev] Cross compile wireshark for OpenWRT
From: Jeff Morriss <[email protected]>
Date: Fri, 29 May 2009 08:50:18 -0400

didier wrote:
Hi,
Le vendredi 29 mai 2009 à 09:21 +0200, Burkhardt, Kersten a écrit :
Hi,

`/home/kersten/Entwicklung/Router/8.09/build_dir/mips/wireshark-1.0.8'
make[2]: *** [/home/kersten/Entwicklung/Router/8.09/build_dir/mips/wireshark-1.0.8/.built]
Error 2
make[2]: Leaving directory
`/home/kersten/Entwicklung/Router/8.09/package/wireshark'
make[1]: *** [package/wireshark/install] Error 2
make[1]: Leaving directory `/home/kersten/Entwicklung/Router/8.09'
make: *** [package/wireshark-install] Fehler 2

Because this is my first package for openwrt I don't know where or why
I get the message ./rdps: ./rdps: cannot execute binary file.
Because wireshark makefiles aren't cross compiler friendly, they try to
run compiled executables and mips executables don't run on x86 or
whatever.
They /should/ be cross-compiler friendly: we've had people cross compile 
before.
The rdps issue was fixed in rev 20727; the change is described here:

http://www.wireshark.org/lists/wireshark-users/200702/msg00059.html