In Makefile:
replace line
${CC} -shared -o libastral.so libastral.c
with
${CC} -shared -o libastral.so libastral.o