[問題] install.sh編譯錯誤

看板SetupBBS作者 (Angel)時間17年前 (2008/05/31 01:19), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串1/1
gcc -DLINUX -O2 -pipe -fomit-frame-pointer -Wunused -I../include -c admutil.c ld -s -G admutil.o -o admutil.so -L../lib -ldao ld: admutil.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC admutil.o: could not read symbols: Bad value make[2]: *** [admutil.so] Error 1 rm admutil.o make[2]: Leaving directory `/home/bbs/src/so' make[1]: *** [linux] Error 2 make[1]: Leaving directory `/home/bbs/src/so' make: *** [linux] Error 2 /home/bbs/bin/install.sh: 98: bin/bbsd: not found /home/bbs/bin/install.sh: 99: bin/camera: not found /home/bbs/bin/install.sh: 100: bin/account: not found Trying 0.0.0.0... telnet: Unable to connect to remote host: Connection refused 我是使用ubuntu8.04 請問一下各位大大這要如何解決......... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.126.177.189

07/14 20:47, , 1F
我也是遇到這個...糟糕
07/14 20:47, 1F

07/19 10:43, , 2F
安裝 libc6-dev,當然 make 跟 gcc 是一定要裝的
07/19 10:43, 2F
文章代碼(AID): #18G3S-k3 (SetupBBS)