lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> [root@xx lsyslog-5]# make
> cc -o syslog.so -shared lsyslog.o
> /usr/bin/ld: lsyslog.o: relocation R_X86_64_32 against `a local
> symbol' can not be used when making a shared object; recompile with
> -fPIC

Just do what it asks: add -fPIC to CFLAGS.