Skip to Content.
Sympa Menu

ndt-users - Re: Compile errors

Subject: ndt-users list created

List archive

Re: Compile errors


Chronological Thread 
  • From: Itamar <>
  • To: Richard Carlson <>
  • Cc:
  • Subject: Re: Compile errors
  • Date: Tue, 31 Jul 2007 17:17:16 +0300

Oh Dear,


My bad!


I had libcap installed but not libcap-dev.


Thanks for your swift and helpful response.


Che!


Richard Carlson wrote:

Hi Che;

I haven't seen this before.  Have a look at the src/web100srv.c file, is it corrupted?  Line 127 and 128 reference variables in the /usr/include/pcap.h file, is this file corrupted?

I don't have any other suggestions, anyone else?

Rich

At 07:58 AM 7/31/2007, wrote:
Hi All!

I am trying to get NDT installed and had followed the instructions on the INSTALL file.

running on Debian Lenny,
I have installed web100 and compiled the kernel and libraries.
installed Java6 SDK

Basically done step by step according to the INSTALL.
when trying to make ndt I get the message below:


make[2]: Leaving directory `/root/ndt-3.4.1/I2util'
Making all in src
make[2]: Entering directory `/root/ndt-3.4.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/web100  -I../I2util '-DBASEDIR="/usr/local/ndt"'   -pedantic -Wall -O2 -DNDEBUG -DEXPERIMENTAL_ENABLED -MT web100srv-web100srv.o -MD -MP -MF ".deps/web100srv-web100srv.Tpo" -c -o web100srv-web100srv.o `test -f 'web100srv.c' || echo './'`web100srv.c; \
        then mv -f ".deps/web100srv-web100srv.Tpo" ".deps/web100srv-web100srv.Po"; else rm -f ".deps/web100srv-web100srv.Tpo"; exit 1; fi
In file included from web100srv.h:20,
                 from web100srv.c:73:
/usr/local/include/web100/web100.h:53: warning: comma at end of enumerator list
web100srv.c:127: error: expected &#1490;€˜=&#1490;€™, &#1490;€˜,&#1490;€™, &#1490;€˜;&#1490;€™, &#1490;€˜asm&#1490;€™ or &#1490;€˜__attribute__&#1490;€™ before &#1490;€˜*&#1490;€™ token
web100srv.c:128: error: expected &#1490;€˜=&#1490;€™, &#1490;€˜,&#1490;€™, &#1490;€˜;&#1490;€™, &#1490;€˜asm&#1490;€™ or &#1490;€˜__attribute__&#1490;€™ before &#1490;€˜*&#1490;€™ token
web100srv.c: In function &#1490;€˜cleanup&#1490;€™:
web100srv.c:267: warning: implicit declaration of function &#1490;€˜check_signal_flags&#1490;€™
make[2]: *** [web100srv-web100srv.o] Error 1
make[2]: Leaving directory `/root/ndt-3.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ndt-3.4.1'
make: *** [all] Error 2

------------------------------------



Richard A. Carlson                              e-mail:
Network Engineer                                phone:  (734) 352-7043
Internet2                                       fax:    (734) 913-4255
1000 Oakbrook Dr; Suite 300
Ann Arbor,  MI  48104



Archive powered by MHonArc 2.6.16.

Top of Page