Wireshark mailing list archives

Re: Fix for cross-compilation issues


From: Alexis La Goutte <alexis.lagoutte () gmail com>
Date: Sat, 4 Oct 2014 10:42:47 +0200

On Sat, Oct 4, 2014 at 9:55 AM, Graham Bloice
<graham.bloice () trihedral com> wrote:
On 3 October 2014 20:57, Eric W. Anderson <andersoe () cs cmu edu> wrote:

Hi All,

I ran into trouble cross-compiling wirshark/tshak for ARM.  It looks
like the same issues from
https://www.wireshark.org/lists/wireshark-users/200910/msg00121.html
and https://www.wireshark.org/lists/wireshark-dev/201104/msg00135.html :
Host-side tools (lemon) were being compiled with the cross-compiler, and
then didn't work later in the build process.

I believe the problem is that CC_FOR_BUILD was never being properly set
and ultimately got defaulted to $CC.  The fix is basically a 2-line change
to configure.ac, and including the macro ax_prog_cc_for_build.m4 in
aclocal-fallback/.  Should I submit a change for code review, or how is
that
handled?


Thanks for looking into this, the procedure for submitting changes can be
found here: http://wiki.wireshark.org/Development/SubmittingPatches

There is already a patch :
https://code.wireshark.org/review/#/c/4450/

Good look but in the wrong branch (need to be push on master) and may
be backport to other branch
--
Graham Bloice

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: