[asterisk-dev] H323 64 bit Nightmare

Venefax venefax at gmail.com
Thu May 22 03:09:41 CDT 2008

I am trying to compile h323 on a 64 Bit machine (RED HAT 5), but pwlib fails
with this error, no matter what kind of CFLAGS or CXXFLAG I use, with -fPIC
or not, etc. What is the reason and solution to successfully compile pwlib
and H323 into a 64 But machine? I really appreciate some help, because this
is affecting the hard of my business.

.a(res_comp.o): relocation R_X86_64_32 against `a local symbol' can not be
used when making a shared object; recompile with -fPIC
.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [/usr/src/pwlib/lib/libpt_linux_x86_64_r.so.1.11.0] Error 1
make[1]: Leaving directory `/vz/usr/src/pwlib/src/ptlib/unix'

More information about the asterisk-dev mailing list