[netperf-talk] Errors compiling netperf on Opteron running Fedora-9
Rick Jones
rick.jones2 at hp.com
Wed Oct 8 14:36:21 PDT 2008
Folks -
I've been trying to work-out a sequence of #include and direct typedef
to allow src/netdrv_ethtool.c to compile where we want it too. I've
tried now on a system with an "older" linux/ethtool.h file using u32
etc, and on newer ones where linux/ethtool.h uses __u32 etc and I
_think_ I have something working.
If folks (especially, but not limited to Rahul and Andrew) could try the
attached source code just standalone (doesn't need to go into a netperf
tree) with:
cc -DNETPERF_STANDALONE_DEBUG -o test_ethtool netdrv_ethtool.c
and let me know if it compiles and works:
./test_ethtool <interfacename>
that would be great.
happy benchmarking,
rick jones
More information about the netperf-talk
mailing list