ubuntu18.04 make出现问题 #153
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
[ 58%] Linking CXX executable hub_sample /usr/bin/ld: CMakeFiles/hub_sample.dir/main.c.o: relocation R_X86_64_32 against.rodata' can not be used when making a PIE object; recompile with -fPIC/usr/bin/ld: 最后的链结失败: 输出不可表示的节
collect2: error: ld returned 1 exit status
sample/hub/CMakeFiles/hub_sample.dir/build.make:96: recipe for target 'sample/hub/hub_sample' failed
make[2]: *** [sample/hub/hub_sample] Error 1
CMakeFiles/Makefile2:140: recipe for target 'sample/hub/CMakeFiles/hub_sample.dir/all' failed
make[1]: *** [sample/hub/CMakeFiles/hub_sample.dir/all] Error 2
Makefile:131: recipe for target 'all' failed
make: *** [all] Error 2
`
Hi jjxxf
建议您检查一下是否满足以下 pre-request
