Cxx -> CXX

论坛 期权论坛 脚本     
已经选择匿名的用户   2021-10-25 13:35   4935   0

以后再也不用变量 CXX, 一律使用CPP,折腾了进8个小时才发现Makefile文件变量使用错误!!!

/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../lib/libtixml.a(tinyxml.o): Relocations in generic ELF (EM: 40)
../../lib/libtixml.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [PSIA] Error 1
shengdn@DevServer:~/DV_Web/shdv/psia$ cd ../../lib/
shengdn@DevServer:~/DV_Web/lib$ ls -l
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:86
帖子:240
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP