On Tue, Jul 28, 2009 at 11:06 PM, Chris Packham<judge.pack...@gmail.com> wrote: > Hi, > > Has anyone tried to cross compile tcpreplay? In my case I want to use > it on an embedded target as part of a larger test setup. > > I keep running into ./configure problems with the libpcap detection > [1] where it wants to run some test programs but can't run them on the > host (because they're not for that architecture). Most other autotools > based scripts figure this out print a warning and move on so I'm sure > there is a way around it I'm just not sure what it is. > > I assume that because the detection stuff can't work I need to tell > the configure script what version of libpcap I have. Again I've not > had enough experience with autotools to know quite how to do this. > > Any guidance would be much appreciated.
You're the first person to ask about this, so you're sorta on uncharted territory. There are a number of tests which check your compiler/architecture (big vs. little endian and strict vs. non-strictly aligned architectures come to mind) which will cause problems for you. Then there's a bunch of tests which check what version of various libraries you have installed. This means if I skipped those tests you'd have to manually fix things so you'd get binaries which worked. Honestly, I have no cross-compiling experience and not 100% sure of how things work. What is your compile vs. target platform? How do you normally handle the situation when autotools skips these tests? -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin ------------------------------------------------------------------------------ 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