On Thu, Jul 30, 2009 at 12:38 PM, Aaron Turner<synfina...@gmail.com> wrote: > On Wed, Jul 29, 2009 at 5:16 PM, Chris Packham<judge.pack...@gmail.com> wrote: >> On Thu, Jul 30, 2009 at 9:57 AM, Chris Packham<judge.pack...@gmail.com> >> wrote: >>> A bit of googling turned up some guideance on how to handle this [1]. >>> Looks like there is an optional argument to AC_RUN_IFELSE that can be >>> used for an action-if-cross-compiling. The cache manipulation trick is >>> also mentioned. I'll post a patch shortly. >> >> Turned out to be easy enough after I figured out the autoconf syntax. >> >> The changes are basically to 1) allow the tests that execute code to >> be skipped if cross compiling and 2) turn the libpcap_version into a >> cached variable so that we can tell tcpreplay which version of libpcap >> is used in our target environment. >> >> With my patch applied the typical usage is >> >> autoreconf # this won't be necessary once my patch is accepted upstream >> >> tr_cv_libpcap_version=">= 0.7.0" \ >> ./configure --target=powerpc-linux \ >> --host=powerpc-linux \ >> --build=i386-pc-linux-gnu \ >> --program-prefix="" \ >> --with-libpcap=<path-to-libpcap> >> > > What is the output of: > > grep ALIGN src/config.h > > I'm curious if FORCE_ALIGN was set (needs to be for PPC builds).
~/tcpreplay-3.4.3> grep ALIGN src/config.h #define FORCE_ALIGN 1 The other thing I should mentioned is that in addition to compiling I've confirmed tcpreplay runs on my target. I haven't tried any of the other tools yet. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support