2011年12月28日 星期三

(尚未設定標題)




[pyenvb] pcl99@gaisk[~/tmp/pywumanber][1:15]$ make
gcc -shared -O2 -o wumanber.so wumanber_impl.c
/usr/bin/ld: /var/tmp//ccrcmXPj.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/var/tmp//ccrcmXPj.o: could not read symbols: Bad value
*** Error code 1

Stop in /.amd_mnt/gais4/host/home/UserHome/pcl99/tmp/pywumanber.
Exit 1

[pyenvb] pcl99@gaisk[~/tmp/pywumanber][1:14]$ gcc main.c
/usr/lib/crt1.o: In function `_start':
crt1.c:(.text+0x8a): undefined reference to `main'
Exit 1

沒有留言:

張貼留言