[pjsip] Python - pjsip BUG in the core?

Shamun Toha Md shamun at companysocia.com
Mon Dec 2 07:37:22 EST 2013


release 1.14: BUG

root at sun-Alienware-X51:/var/tmp/pjproject-1.14/pjsip-apps/src/python#
python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying pjsua.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_pjsua' extension
creating build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC -DPJ_AUTOCONF=1 -I-DPJ_IS_BIG_ENDIAN=0
-I-DPJ_IS_LITTLE_ENDIAN=1 -I/var/tmp/pjproject-1.14/pjlib/include
-I/var/tmp/pjproject-1.14/pjlib-util/include
-I/var/tmp/pjproject-1.14/pjnath/include
-I/var/tmp/pjproject-1.14/pjmedia/include
-I/var/tmp/pjproject-1.14/pjsip/include -I/usr/include/python2.7 -c
_pjsua.c -o build/temp.linux-x86_64-2.7/_pjsua.o
_pjsua.c: In function ‘py_pjsua_enum_transports’:
_pjsua.c:1201:17: warning: variable ‘status’ set but not used
[-Wunused-but-set-variable]
     pj_status_t status;
                 ^
_pjsua.c: In function ‘py_pjsua_conf_get_port_info’:
_pjsua.c:2337:9: warning: variable ‘status’ set but not used
[-Wunused-but-set-variable]
     int status;
         ^
_pjsua.c: In function ‘py_pjsua_get_snd_dev’:
_pjsua.c:2713:9: warning: variable ‘status’ set but not used
[-Wunused-but-set-variable]
     int status;
         ^
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security build/temp.linux-x86_64-2.7/_pjsua.o
-L/var/tmp/pjproject-1.14/pjlib/lib
-L/var/tmp/pjproject-1.14/pjlib-util/lib
-L/var/tmp/pjproject-1.14/pjnath/lib -L/var/tmp/pjproject-1.14/pjmedia/lib
-L/var/tmp/pjproject-1.14/pjsip/lib
-L/var/tmp/pjproject-1.14/third_party/lib -lpjsua-x86_64-unknown-linux-gnu
-lpjsip-ua-x86_64-unknown-linux-gnu -lpjsip-simple-x86_64-unknown-linux-gnu
-lpjsip-x86_64-unknown-linux-gnu -lpjmedia-codec-x86_64-unknown-linux-gnu
-lpjmedia-x86_64-unknown-linux-gnu
-lpjmedia-audiodev-x86_64-unknown-linux-gnu
-lpjnath-x86_64-unknown-linux-gnu -lpjlib-util-x86_64-unknown-linux-gnu
-lresample-x86_64-unknown-linux-gnu -lmilenage-x86_64-unknown-linux-gnu
-lsrtp-x86_64-unknown-linux-gnu -lgsmcodec-x86_64-unknown-linux-gnu
-lspeex-x86_64-unknown-linux-gnu -lilbccodec-x86_64-unknown-linux-gnu
-lg7221codec-x86_64-unknown-linux-gnu -lportaudio-x86_64-unknown-linux-gnu
-lpj-x86_64-unknown-linux-gnu -lm -lnsl -lrt -lpthread -lasound -o
build/lib.linux-x86_64-2.7/_pjsua.so
/usr/bin/ld:
/var/tmp/pjproject-1.14/pjsip/lib/libpjsua-x86_64-unknown-linux-gnu.a(pjsua_acc.o):
relocation R_X86_64_32S against `.rodata.str1.1' can not be used when
making a shared object; recompile with -fPIC
/var/tmp/pjproject-1.14/pjsip/lib/libpjsua-x86_64-unknown-linux-gnu.a:
error adding symbols: Bad value
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131202/8dd23a2f/attachment-0001.html>


More information about the pjsip mailing list