can't build on x86_64
Status: Beta
Brought to you by:
mezantrop
It does not build on x86_64 arcitecture :(
Here is the text of error message:
bash:~/Documents/temp/libastral-0.5>make
gcc -fPIC -g -c -Wall libastral.c
gcc -shared -o libastral.so libastral.c
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /tmp/ccCkcjgf.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/tmp/ccCkcjgf.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [lib] Error 1
library compilation with -fPIC option may help.
In Makefile:
replace line
${CC} -shared -o libastral.so libastral.c
with
${CC} -shared -o libastral.so libastral.o