Skip to content

Not able to install netperf on SLES 16 Distro #89

@vpuliyal

Description

@vpuliyal

make all

make all-recursive
make[1]: Entering directory '/linuxci/netperf_src'
Making all in src
make[2]: Entering directory '/linuxci/netperf_src/src'
Making all in missing
make[3]: Entering directory '/linuxci/netperf_src/src/missing'
Making all in m4
make[4]: Entering directory '/linuxci/netperf_src/src/missing/m4'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/linuxci/netperf_src/src/missing/m4'
make[4]: Entering directory '/linuxci/netperf_src/src/missing'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/linuxci/netperf_src/src/missing'
make[3]: Leaving directory '/linuxci/netperf_src/src/missing'
make[3]: Entering directory '/linuxci/netperf_src/src'
gcc -DHAVE_CONFIG_H -I. -I.. -fcommon -MT netlib.o -MD -MP -MF .deps/netlib.Tpo -c -o netlib.o netlib.c
netlib.c: In function ‘bind_to_specific_processor’:
netlib.c:2343:9: error: implicit declaration of function ‘sched_setaffinity’; did you mean ‘SYS_sched_setaffinity’? [-Wimplicit-function-declaration]
2343 | if (sched_setaffinity(getpid(), len, &netperf_cpu_set)) {
| ^~~~~~~~~~~~~~~~~
| SYS_sched_setaffinity
make[3]: *** [Makefile:458: netlib.o] Error 1
make[3]: Leaving directory '/linuxci/netperf_src/src'
make[2]: *** [Makefile:478: all-recursive] Error 1
make[2]: Leaving directory '/linuxci/netperf_src/src'
make[1]: *** [Makefile:382: all-recursive] Error 1
make[1]: Leaving directory '/linuxci/netperf_src'
make: *** [Makefile:321: all] Error 2

any idea how to resolve above issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions