[asterisk-users] Static linking
Jiri Uncovsky
uncovsky at optimsys.cz
Thu Mar 25 10:00:27 CDT 2010
Hi,
we have a problem with Asterisk that is described in https://issues.asterisk.org/view.php?id=15915. According to the last post in the bug report, a workaround is using of static linking. When I tried (I
enabled option Compiler Flags/STATIC_BUILD) it I got the following error message:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtbeginT.o: relocation R_X86_64_32 against `__deregister_frame_info' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtbeginT.o: could not read symbols: Bad value
I tried to compile Asterisk 1.6.1.17 on Debian/etch/x86_64 with gcc-4.1.2 and gcc-3.4.
Can you provide me with any help?
Jiri Uncovsky, programmer / analysis
OptimSys, s.r.o.
uncovsky at optimsys.cz
Tel: +420 541 143 065
Fax: +420 541 143 066
http://www.optimsys.cz
More information about the asterisk-users
mailing list