[netperf-talk] Crosscompiling netperf4 & autotools
Kai Koehne
koehne at informatik.hu-berlin.de
Tue Aug 14 08:10:34 PDT 2007
Hi,
I finally decided to give netperf4 a try ...
First of all, netperf4 compiles fine under debian. However, I want to
cross-compile it, and have difficulties with the generated Makefiles:
[....]
make[3]: Entering directory
`/home/koehne/kamikaze_7.06_seismo/trunk/build_i386/netperf4'
make all-recursive
make[4]: Entering directory
`/home/koehne/kamikaze_7.06_seismo/trunk/build_i386/netperf4'
Making all in include
make[5]: Entering directory
`/home/koehne/kamikaze_7.06_seismo/trunk/build_i386/netperf4/include'
make[6]: Entering directory
`/home/koehne/kamikaze_7.06_seismo/trunk/build_i386/netperf4'
make[6]: *** No rule to make target `am--refresh'. Stop.
[....]
This seems to be an autotool problem (both Makefiles are automatically
generated), so I decided to recreate all intermediate files:
koehne at dhcp-4-153:~/kamikaze_7.06_seismo/trunk/build_i386/netperf4$
./autogen.sh
automake: `$(LIBOBJS)' cannot be used outside `' if `subdir-objects' is
not set
src/Makefile.am:51: required file `src/missing/missing/inet_ntop.c' not
found
src/Makefile.am:51: required file `src/missing/missing/getaddrinfo.c'
not found
The errors are caused by automake (version 1.10). I also gave automake
1.9.6 a try:
koehne at dhcp-4-153:~/kamikaze_7.06_seismo/trunk/build_i386/netperf4$
./autogen.sh
src/Makefile.am:51: required file `src/missing/inet_ntop.c' not found
src/Makefile.am:51: required file `src/missing/getaddrinfo.c' not found
I realize that netperf4 is still in development, but maybe someone can
help me anyway ;-) Which version of the autotools are used for compiling
netperf4? And has anybody a guess why the non-existent "am--refresh"
target is called when crosscompiling, and not called when compiling
directly on the target machine?
Kind regards,
Kai Koehne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: koehne.vcf
Type: text/x-vcard
Size: 380 bytes
Desc: not available
Url : http://www.netperf.org/pipermail/netperf-talk/attachments/20070814/11a3bbea/attachment.vcf
More information about the netperf-talk
mailing list