首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >F-Stack编译问题 smp_no_rendevous_barrier找不到定义?

F-Stack编译问题 smp_no_rendevous_barrier找不到定义?

提问于 2018-07-18 15:50:56
回答 1关注 0查看 1.4K

环境:Centos 6.10 内核:4.9.0

编译Ngix或Example程序时有如下错误,请教各位知道怎么解决吗?

-ldl -lpthread -lcrypt -L/root/f-stack-master/f-stack-master/lib -Wl,--whole-archive,-lfstack,--no-whole-archive -L/root/f-stack-master/f-stack-master/dpdk/x86_64-native-linuxapp-gcc/lib -Wl,--whole-archive,-ldpdk,--no-whole-archive -Wl,--no-whole-archive -lrt -lm -ldl -lcrypto -lpthread \

-Wl,-E

/root/f-stack-master/f-stack-master/lib/libfstack.a(libfstack.ro): In function `counter_u64_zero':

uma_core.c:(.text+0x1f5d1): undefined reference to `smp_no_rendevous_barrier'

uma_core.c:(.text+0x1f5e1): undefined reference to `smp_rendezvous'

/root/f-stack-master/f-stack-master/lib/libfstack.a(libfstack.ro): In function `counter_u64_alloc':

uma_core.c:(.text+0x1f64a): undefined reference to `smp_no_rendevous_barrier'

uma_core.c:(.text+0x1f65a): undefined reference to `smp_rendezvous'

/root/f-stack-master/f-stack-master/lib/libfstack.a(libfstack.ro): In function `sysctl_handle_counter_u64':

uma_core.c:(.text+0x1f6f5): undefined reference to `smp_no_rendevous_barrier'

uma_core.c:(.text+0x1f706): undefined reference to `smp_rendezvous'

/root/f-stack-master/f-stack-master/lib/libfstack.a(libfstack.ro): In function `sysctl_handle_counter_u64_array':

uma_core.c:(.text+0x1f7d5): undefined reference to `smp_no_rendevous_barrier'

uma_core.c:(.text+0x1f7e6): undefined reference to `smp_rendezvous'

/root/f-stack-master/f-stack-master/lib/libfstack.a(libfstack.ro): In function `if_transmit':

if.c:(.text+0x3d5d4): undefined reference to `__pcpu'

if.c:(.text+0x3d5eb): undefined reference to `__pcpu'

if.c:(.text+0x3d61f): undefined reference to `__pcpu'

/root/f-stack-master/f-stack-master/lib/libfstack.a(libfstack.ro): In function `if_inc_counter':

uma_core.c:(.text+0x3e90c): undefined reference to `__pcpu'

/root/f-stack-master/f-stack-master/lib/libfstack.a(libfstack.ro): In function `if_handoff':

uma_core.c:(.text+0x41326): undefined reference to `__pcpu'

/root/f-stack-master/f-stack-master/lib/libfstack.a(libfstack.ro):uma_core.c:(.text+0x41392): more undefined references to `__pcpu' follow

collect2: error: ld returned 1 exit status

make[1]: *** [objs/nginx] Error 1

make[1]: Leaving directory `/root/f-stack-master/f-stack-master/app/nginx-1.11.10'

make: *** [build] Error 2

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档