Abdelrazak Younes wrote:
> Hello,
>
> In http://tcpreplay.synfin.net/trac/wiki/Developer#DeveloperNotes, I 
> read that I should use --enable-local-libopts
>
> I don't know if this is an old page but I get this error:
>
> you...@younes:~/devel/pcap/tcpreplay$ ./autogen.sh
> libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
> you...@younes:~/devel/pcap/tcpreplay$ ./configure --enable-local-libopts
> ...
> checking for autogen version >= 5.9.x... yes
> configure: error: Your version of autogen (5.9.5) != libopts tear off 
> (5.9.2)  Either install the correct version or specify 
> --disable-local-libopts

Please tell me if this kind of report is needed or maybe the svn version 
is too unstable at the moment?

When I configure without any option, I get this:

##########################################################################      
                   

             TCPREPLAY Suite Configuration Results 
(3.4.0)                                        
##########################################################################      
                   

libpcap:                    /usr/local (>= 
0.9.6)                                                 
libdnet:                    no 
()                                                                 
autogen:                    /usr/bin/autogen 
(5.9.5)                                              
Use libopts tearoff:        
yes                                                                   
64bit counter support:      
yes                                                                   
tcpdump binary path:        
/usr/local/sbin/tcpdump                                               
tcpreplay edit support:     
no                                                                    
tcpbridge support:          
yes                                                                   
fragroute support:          
no                                                                    

Supported Packet Injection Methods (*):
Linux PF_PACKET:            yes       
BSD BPF:                    no        
libdnet:                    no        
pcap_inject:                yes       
pcap_sendpacket:            yes       

And then I get a lot of warnings (I can report them if you want) and a 
compilation error:

make[4]: Leaving directory `/home/younes/devel/pcap/tcpreplay/src/tcpedit'
make[3]: Leaving directory `/home/younes/devel/pcap/tcpreplay/src/tcpedit'
make[3]: Entering directory `/home/younes/devel/pcap/tcpreplay/src'
/usr/bin/autogen -L tcpedit  tcpreplay_opts.def
if gcc -DHAVE_CONFIG_H -I. -I. -I.    -I../libopts -I..   -DTCPREPLAY 
-D_U_="__attribute__((unused))"  -Wall -O3 -std=gnu99 -Wextra 
-Wno-variadic-macros -Wfatal-errors -I/usr/local/include -MT 
tcpreplay-tcpreplay_opts.o -MD -MP -MF 
".deps/tcpreplay-tcpreplay_opts.Tpo" -c -o tcpreplay-tcpreplay_opts.o 
`test -f 'tcpreplay_opts.c' || echo './'`tcpreplay_opts.c; \
        then mv -f ".deps/tcpreplay-tcpreplay_opts.Tpo" 
".deps/tcpreplay-tcpreplay_opts.Po"; else rm -f 
".deps/tcpreplay-tcpreplay_opts.Tpo"; exit 1; fi
In file included from tcpreplay_opts.c:56:
tcpreplay_opts.h:72:3: error: #error option template version mismatches 
autoopts/options.h header
In file included from tcpreplay_opts.c:56:
tcpreplay_opts.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘Me’
compilation terminated due to -Wfatal-errors.
make[3]: *** [tcpreplay-tcpreplay_opts.o] Error 1
make[3]: Leaving directory `/home/younes/devel/pcap/tcpreplay/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/younes/devel/pcap/tcpreplay/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/younes/devel/pcap/tcpreplay/src'
make: *** [all-recursive] Error 1

Abdel.


------------------------------------------------------------------------------
_______________________________________________
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

Reply via email to