[Asterisk-Dev] Major dialplan functions rework

Bob Goddard asterisk at bgcomp.co.uk
Thu May 5 05:38:49 MST 2005


On Thursday 05 May 2005 07:57, Domjan Attila wrote:
> It's nice if I can compile it on x86_64:

It would be nice if you googled for this sort of error since
it has been discussed plenty of times in the past few months.

> gcc -shared -Xlinker -x -o pbx_functions.so func_md5.o func_groupcount.o
> func_strings.o func_cdr.o func_logic.o func_env.o pbx_functions.o
> /usr/bin/ld: func_md5.o: relocation R_X86_64_32 against `a local symbol'
> can not be used when making a shared object; recompile with -fPIC
> func_md5.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [pbx_functions.so] Error 1
> make[1]: Leaving directory `/usr/local/src/asterisk/funcs'
> make: *** [subdirs] Error 1
[...]



More information about the asterisk-dev mailing list