Hi guys, Looks like there's a bug (at least on my system) in the stock build script for the python project. I get a "Bad Value" linking error. I've sprinkled -fPIC throughout the build scripts which usually works but so far no luck (only tried adding to main Makefile and to the python script, also tried running the two python build commands manually with -fPIC which did not fix it). Pulled latest stable 2.0.1 release. Any tips? pjsip builds just fine, this is building the pjsip-apps/src/python project. $ ./configure && make dep && make && sudo make install works just fine I've also tried just a clean "make" from the python directory in addition to python setup.py build_ext (tmdi)[blaine at lemur:/data/pjproject-2.0.1/pjsip-apps/src/python Wed Jan 30] 124$ python setup.py build_ext running build_ext building '_pjsua' extension creating build creating build/temp.linux-x86_64-2.7 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-DPJMEDIA_HAS_LIBAVFORMAT=1 -I-DPJMEDIA_HAS_LIBAVCODEC=1 -I-DPJMEDIA_HAS_LIBSWSCALE=1 -I-DPJMEDIA_HAS_LIBAVUTIL=1 -I/usr/local/include -I-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1 -I/data/pjproject-2.0.1/pjlib/include -I/data/pjproject-2.0.1/pjlib-util/include -I/data/pjproject-2.0.1/pjnath/include -I/data/pjproject-2.0.1/pjmedia/include -I/data/pjproject-2.0.1/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] _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] _pjsua.c: In function ?py_pjsua_get_snd_dev?: _pjsua.c:2713:9: warning: variable ?status? set but not used [-Wunused-but-set-variable] _pjsua.c: In function ?py_pjsua_call_make_call?: _pjsua.c:3139:7: warning: passing argument 3 of ?pjsua_call_make_call? makes pointer from integer without a cast [enabled by default] /data/pjproject-2.0.1/pjsip/include/pjsua-lib/pjsua.h:3969:22: note: expected ?const struct pjsua_call_setting *? but argument is of type ?unsigned int? creating build/lib.linux-x86_64-2.7 gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/_pjsua.o -L/data//pjproject-2.0.1/pjlib/lib -L/data/pjproject-2.0.1/pjlib-util/lib -L/data/pjproject-2.0.1/pjnath/lib -L/data//pjproject-2.0.1/pjmedia/lib -L/data/pjproject-2.0.1/pjsip/lib -L/data/pjproject-2.0.1/third_party/lib -L/usr/local/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-videodev-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 -lavformat -lavcodec -ldl -lasound -lx264 -lz -lrt -lswscale -lavutil -lm -lv4l2 -lcrypto -lssl -o build/lib.linux-x86_64-2.7/_pjsua.so -fPIC /usr/bin/ld: /data/pjproject-2.0.1/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 /data/pjproject-2.0.1/pjsip/lib/libpjsua-x86_64-unknown-linux-gnu.a: could not read symbols: Bad value collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 125$ uname -a Linux lemur 3.3.7-030307-generic #201205211535 SMP Mon May 21 19:36:02 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux 2$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Sincerely, Blaine Booher Clifton Labs, Inc (513)-400-5606 (work) (937)-570-9336 (cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130130/55d6f6bc/attachment-0001.html>