Public bug reported: In Hardy alpha1, after install the package libc6-dev, which version is 2.7-4ubuntu1, build the netperf tool, the build will be failed with the error: netlib.c:1725: undefined reference to '__CPU_ZERO' netlib.c: 1727: undefined reference to '__CPU_SET'
check the file: /usr/include/sched.h in the libc6-dev(2.7-4ubuntu1) the define change to: # define CPU_SET(cpu, cpusetp) __CPU_SET_S(cpu, sizeof (cpu_set_t), cpusetp) # define CPU_ZERO_S(cpu, setsize, cpusetp) __CPU_ZERO_S(cpu, setsize, cpusetp) # define CPU_SET_S(cpu, setsize, cpusetp) __CPU_SET_S(cpu, setsize, cpusetp) I have checked this on Gutsy version which use libc6-dev(2.6.1-1ubuntu10), it shows as below: # define CPU_SET(cpu, cpusetp) __CPU_SET(cpu, cpusetp) thanks Kevin ** Affects: ubuntu Importance: Undecided Status: New -- netperf can not be built successfully in Hary alpha1 due to sched.h changed https://bugs.launchpad.net/bugs/176320 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs