Fwd: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Vadim Kochan
CC to Perf Tech -- Forwarded message -- From: Vadim Kochan vadi...@gmail.com Date: Thu, Jun 4, 2015 at 11:11 PM Subject: Re: [netsniff-ng] error when running trafgen for the first time. To: netsniff-ng@googlegroups.com On Wed, Jun 3, 2015 at 7:05 PM, Perf Tech perfte

Re: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Perf Tech
-ng] error when running trafgen for the first time. To: netsn...@googlegroups.com javascript: On Wed, Jun 3, 2015 at 7:05 PM, Perf Tech perf...@gmail.com javascript: wrote: Hi Guys, New to the tool trafgen (ver 0.5.9-rc4). When I run it on my ubuntu 12.04 server, got errors

Re: Fwd: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Daniel Borkmann
On 06/05/2015 09:58 AM, Vadim Kochan wrote: ... May be you should add --cpp option ? $./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us --cpp Yes, that's correct. Thanks for the quick reply, Vadim! -- You received this message because you are subscribed to the Google Groups

Re: Fwd: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Perf Tech
Thanks Guys for the reply. The following is what I got, any idea why? # ./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us --cpp Syntax error at line6, at char 't'! syntax error, unexpected number! # ./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us Syntax error at line2, at char

Re: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Vadim Kochan
On Fri, Jun 05, 2015 at 03:04:24PM -0700, Perf Tech wrote: Sorry, I meant to say I got the following. I am stuck with syntax errors :-( # ./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us --cpp Syntax error at line6, at char 't'! syntax error, unexpected number! # ./trafgen --dev eth0

Re: Fwd: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Vadim Kochan
On Sat, Jun 06, 2015 at 12:27:46AM +0200, Daniel Borkmann wrote: On 06/06/2015 12:16 AM, Vadim Kochan wrote: ... Do you have cpp installed on your machine? I think in that case there could be a message like: sh: cpp: command not found Failed to invoke C preprocessor! Yes, agreed. Want

Re: Fwd: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Vadim Kochan
On Sat, Jun 06, 2015 at 12:08:58AM +0200, Daniel Borkmann wrote: On 06/06/2015 12:02 AM, Perf Tech wrote: Thanks Guys for the reply. The following is what I got, any idea why? # ./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us --cpp Syntax error at line6, at char 't'! syntax error,

Re: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Perf Tech
Did that but still get the same problem. # ls /etc/netsniff-ng/ rules trafgen_stddef.h # cd trafgen/ # ./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us --cpp Syntax error at line6, at char 't'! syntax error, unexpected number! I suspect the problem is due to the cpp version: # file

Re: Fwd: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Daniel Borkmann
On 06/06/2015 12:16 AM, Vadim Kochan wrote: ... Do you have cpp installed on your machine? I think in that case there could be a message like: sh: cpp: command not found Failed to invoke C preprocessor! Yes, agreed. Want to send a patch? ;) -- You received this message because you are

Re: [netsniff-ng] error when running trafgen for the first time.

2015-06-05 Thread Vadim Kochan
On Fri, Jun 05, 2015 at 03:31:30PM -0700, Perf Tech wrote: Did that but still get the same problem. # ls /etc/netsniff-ng/ rules trafgen_stddef.h It should be as stddef.h in /etc/netsniff-ng -- You received this message because you are subscribed to the Google Groups netsniff-ng group.

[netsniff-ng] error when running trafgen for the first time.

2015-06-04 Thread Perf Tech
Hi Guys, New to the tool trafgen (ver 0.5.9-rc4). When I run it on my ubuntu 12.04 server, got errors: $./trafgen -e tmp2.txt $./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us Syntax error at line2, at char 'T'! syntax error, unexpected number, expecting ')'! Not sure what's