ORBIT-USER: Error in compiling iperf using make

Pandurang Kamat pkamat at winlab.rutgers.edu
Thu Feb 15 01:32:15 EST 2007


Two potential reasons for the oml error :

1] there is connectivity problem to the oml service from the node.
2] problem in the "../etc/orbit_winlab_iperf.xml" file. Could you please 
mail the file here ?

-Pandurang

Arinto Murdopo wrote:
> Dear all,
> 
> I try to do makefile in default iperf package in Click image. After I 
> executed ./configure, I tried to do make. But, it generated error after 
> it tried to getting OML header and library.
> By the way, can I just install another iperf package? I have already 
> spent whole day just to find out how to make the iperf works in spatial 
> switching image.
> 
> 
> Here is the error
> 
> node1-1:~/iperf# make
> make  all-recursive
> make[1]: Entering directory `/root/iperf'
> Making all in compat
> make[2]: Entering directory `/root/iperf/compat'
> make[3]: Entering directory `/root/iperf'
> make[3]: Leaving directory `/root/iperf'
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O2  -MT Thread.o 
> -MD -MP -MF ".deps/Thread.Tpo" -c -o Thread.o Thread.c; \
> then mv -f ".deps/Thread.Tpo" ".deps/Thread.Po"; else rm -f 
> ".deps/Thread.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O2  -MT error.o -MD 
> -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
> then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f 
> ".deps/error.Tpo"; exit 1; fi
> if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O2  -MT delay.o -MD 
> -MP -MF ".deps/delay.Tpo" -c -o delay.o delay.cpp; \
> then mv -f ".deps/delay.Tpo" ".deps/delay.Po"; else rm -f 
> ".deps/delay.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O2  -MT 
> gettimeofday.o -MD -MP -MF ".deps/gettimeofday.Tpo" -c -o gettimeofday.o 
> gettimeofday.c; \
> then mv -f ".deps/gettimeofday.Tpo" ".deps/gettimeofday.Po"; else rm -f 
> ".deps/gettimeofday.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O2  -MT inet_ntop.o 
> -MD -MP -MF ".deps/inet_ntop.Tpo" -c -o inet_ntop.o inet_ntop.c; \
> then mv -f ".deps/inet_ntop.Tpo" ".deps/inet_ntop.Po"; else rm -f 
> ".deps/inet_ntop.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O2  -MT inet_pton.o 
> -MD -MP -MF ".deps/inet_pton.Tpo" -c -o inet_pton.o inet_pton.c; \
> then mv -f ".deps/inet_pton.Tpo" ".deps/inet_pton.Po"; else rm -f 
> ".deps/inet_pton.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O2  -MT signal.o 
> -MD -MP -MF ".deps/signal.Tpo" -c -o signal.o signal.c; \
> then mv -f ".deps/signal.Tpo" ".deps/signal.Po"; else rm -f 
> ".deps/signal.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O2  -MT snprintf.o 
> -MD -MP -MF ".deps/snprintf.Tpo" -c -o snprintf.o snprintf.c; \
> then mv -f ".deps/snprintf.Tpo" ".deps/snprintf.Po"; else rm -f 
> ".deps/snprintf.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O2  -MT string.o 
> -MD -MP -MF ".deps/string.Tpo" -c -o string.o string.c; \
> then mv -f ".deps/string.Tpo" ".deps/string.Po"; else rm -f 
> ".deps/string.Tpo"; exit 1; fi
> rm -f libcompat.a
> ar cru libcompat.a Thread.o error.o delay.o gettimeofday.o inet_ntop.o 
> inet_pton.o signal.o snprintf.o string.o
> ranlib libcompat.a
> make[2]: Leaving directory `/root/iperf/compat'
> Making all in doc
> make[2]: Entering directory `/root/iperf/doc'
> make[3]: Entering directory `/root/iperf'
> make[3]: Leaving directory `/root/iperf'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/root/iperf/doc'
> Making all in include
> make[2]: Entering directory `/root/iperf/include'
> make[3]: Entering directory `/root/iperf'
> make[3]: Leaving directory `/root/iperf'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/root/iperf/include'
> Making all in src
> make[2]: Entering directory `/root/iperf/src'
> make[3]: Entering directory `/root/iperf'
> make[3]: Leaving directory `/root/iperf'
> make[3]: Entering directory `/root/iperf'
> make[3]: Leaving directory `/root/iperf'
> Getting OML header and library
> wget -q http://oml.orbit-lab.org/generator/wrapper --post-file 
> ../etc/orbit_winlab_iperf.xml -O -\
> | tar -xzf -
> 
> gzip: stdin: unexpected end of file
> tar: Child returned status 1
> tar: Error exit delayed from previous errors
> make[2]: *** [fetch-oml] Error 2
> make[2]: Leaving directory `/root/iperf/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/iperf'
> make: *** [all] Error 2
> 
> 
> Thank you for you help
> 
> Arinto



More information about the orbit-user mailing list