On Fri, Aug 21, 2009 at 7:47 AM, yassine antir<ensi_...@hotmail.com> wrote: > Hi, > > i tried it again but without success > > so what i have tried to do is just change the main of tcpreplay.c to be a > function that i will call it in my project. > > my_function(int c,char* v[]) > { > /*copy of the main of tcpreplay.c*/ > } > > i have compiled it and i got all the needed .o files, i have used the same > makefile (it is huge and really i couldn't understand all as libtool and > autogen... to figure out how should i compile it) :: i got error for build > of binary (no main) of tcpreplay which i don't need it but i got at the end > the objects files > > and i have created the tcpreplay library using this shell script >
[snip] Your script works just fine for me. Have you already built everything normally before running this script to create a library? Sorry I can't be more help, but without reproducing your issue I'm not sure what else to say. -- 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