Open richardimaoka opened 5 years ago
It's fixed for a long time on master, just no release has been made in all that time...
https://github.com/HewlettPackard/netperf/commit/40c8a0fb873ac07a95f0c0253b2bd66109aa4c51
I faced the same error while compiling using brew install --build-from-source
after editing the configure
script using brew edit netperf
.
Are there any plans to release a new version?
See #12
Description
Hi, I'm new to netperf, and encountered an error upon compiling it. I added more detail about how to reproduce this but basically:
--enable-demo
make
step:The error was
undefined reference to demo_interval_xxx
as follows:Seems like the issue is related to this
My workaround and suggestion
By removing
inline
from the two places insrc/netlib.c
(here, and here), I could compile the source successfully.As I am new to netperf, I am not sure if this is a genuine issue and my solution is acceptable. I assume those
inline
's are used for a good reason, and the compilation error is just due to my environment. If so, please close this issue and I do my workaround on my end.However, if it makes sense to remove
inline
from these two places, and thoseinline
s don't add much value currently (inline
for performance optimization?), I can submit a pull request.Thanks