我在編譯install.sh時
發生了以下問題
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
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
再來就出現bbs登入畫面
但是使用telnet時
卻出現遠端登入而非bbs畫面
我再想
會不會是上面/home/bbs/src/so編譯沒過的問題
我想問一下學長
上面so的問題要如何解決
感謝~~~
--
╴╴
/ /▔▔\ 迷幻國度 Charming Shadow Country
▕ / /\ ▏入境位址 csc241.twbbs.org
▕ \/ / ▏位址代碼 203.71.212.241
\╴╴/ / 來源母國 59-126-177-189.HINET-IP.hinet.net
/ ▔▔\ 發表時間 2008/05/31 Sat 11:37:05