Wireshark-users: Re: [Wireshark-users] Crosscompiling TSHARK to run on embedded linux on ppc440
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 8 Feb 2009 20:02:36 -0800

On Feb 8, 2009, at 6:49 PM, H Aslam wrote:

did a yum install yum install glib2-devel and compiled.. will this not work?

Probably not, if what was installed is an x86 binary version of the library.

now i assume i can take the compiled files and just crosscompile with eldk to run on the ppc440?

You can't compile already compiled files; "cross-compile" means to compile on a machine of one type and generate machine code for a machine of another type, so cross-compiling is a type of compiling.

You have to cross-compile the *source* files. If you already compiled TShark without specifying that you were compiling for a PowerPC system, you presumably compiled it to run on the machine on which you compiled it. You would have to compile it again in order to run on the PPC440.

where are the files located that I have to compile?

In the Wireshark source directory.

(Have you cross-compiled any software for the PPC440 machine in the past?)