[問題] install.sh編譯錯誤

作者: scwuaptx (Angel)   2008-05-31 01:19:57
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
請問一下各位大大這要如何解決.........
作者: bency (林班西)   2008-07-14 20:47:00
我也是遇到這個...糟糕
作者: firedragen   2008-07-19 10:43:00
安裝 libc6-dev,當然 make 跟 gcc 是一定要裝的

Links booklink

Contact Us: admin [ a t ] ucptt.com