[英]Problems with installing ACE on Ubuntu
我擁有 Ubuntu 11.10 (GNU/Linux 3.0.0-18-server x86_64),我正在嘗試使用本手冊安裝 Single ACE 6.1.1: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE /ACE-INSTALL.html#unix_traditional
安裝自版本 6.0.7 以來發生了變化,我認為所以在我執行命令“make”后會出現一些錯誤,這是他的錯誤,我希望有人能幫助我:
g++ -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -O3 -ggdb -pthread -Wall -W -Wpointer-arith -pipe -D_GNU_SOURCE -I/opt/ace/ACE_wrappers -D__ACE_INLINE__ -I../../.. -Wl,-E -L/opt/ace/ACE_wrappers/lib -L. -L../../../lib -Wl,-R/usr/local/lib -Wl,--enable-new-dtags -o taoout .obj/test.o .obj/tao.o -lACE -ldl -lrt
.obj/test.o: In function `main':
/opt/ace/ACE_wrappers/apps/gperf/tests/test.cpp:28: undefined reference to `in_word_set(char const*, unsigned int)'
/opt/ace/ACE_wrappers/apps/gperf/tests/test.cpp:28: undefined reference to `in_word_set(char const*, unsigned int)'
collect2: ld returned 1 exit status
make[1]: *** [taoout] Error 1
make[1]: Leaving directory `/opt/ace/ACE_wrappers/apps/gperf/tests'
make: *** [taoinset] Error 2
命令如:
make clean
解決了這個問題 - 但你必須刪除構建文件夾並重新完成安裝過程,但它在之后有效:) 我花了一些時間來解決但現在沒問題了。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.