svn HEAD fails to compile with PJ_CONFIG_MINIMAL_SIZE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/24/13 8:25 PM, Christopher Creutzig wrote:

> I have created pjlib/include/pj/config_site.h as indicated in README.txt
> and actiavted PJ_CONFIG_MINIMAL_SIZE:

> gcc -o ../bin/pjnath-test-armv6l-unknown-linux-gnueabihf \
> 	     output/pjnath-test-armv6l-unknown-linux-gnueabihf/main.o
> output/pjnath-test-armv6l-unknown-linux-gnueabihf/ice_test.o
> output/pjnath-test-armv6l-unknown-linux-gnueabihf/stun.o
> output/pjnath-test-armv6l-unknown-linux-gnueabihf/sess_auth.o
> output/pjnath-test-armv6l-unknown-linux-gnueabihf/server.o
> output/pjnath-test-armv6l-unknown-linux-gnueabihf/concur_test.o
> output/pjnath-test-armv6l-unknown-linux-gnueabihf/stun_sock_test.o
> output/pjnath-test-armv6l-unknown-linux-gnueabihf/turn_sock_test.o
> output/pjnath-test-armv6l-unknown-linux-gnueabihf/test.o
> ../lib/libpjnath-armv6l-unknown-linux-gnueabihf.a
> ../../pjlib-util/lib/libpjlib-util-armv6l-unknown-linux-gnueabihf.a
> ../../pjlib/lib/libpj-armv6l-unknown-linux-gnueabihf.a  -lm -lnsl -lrt
> -lpthread  -lasound   -lcrypto -lssl
> ../lib/libpjnath-armv6l-unknown-linux-gnueabihf.a(ice_session.o): In
> function `on_stun_rx_indication':
> ice_session.c:(.text+0x2f8): undefined reference to `pj_log_push_indent'
> ice_session.c:(.text+0x2fc): undefined reference to `pj_log_pop_indent'
> ../lib/libpjnath-armv6l-unknown-linux-gnueabihf.a(ice_session.o): In
> function `start_nominated_check':
> ice_session.c:(.text+0x658): undefined reference to `pj_log_push_indent'
> ice_session.c:(.text+0x798): undefined reference to `pj_log_pop_indent'
> ../lib/libpjnath-armv6l-unknown-linux-gnueabihf.a(ice_session.o): In
> function `perform_check':
> ice_session.c:(.text+0x850): undefined reference to `pj_log_push_indent'
> ice_session.c:(.text+0x954): undefined reference to `pj_log_pop_indent'
> ice_session.c:(.text+0x994): undefined reference to `pj_log_pop_indent'
> ../lib/libpjnath-armv6l-unknown-linux-gnueabihf.a(ice_session.o): In
> function `periodic_timer':
> ice_session.c:(.text+0xa0c): undefined reference to `pj_log_push_indent'
> ice_session.c:(.text+0xa80): undefined reference to `pj_log_pop_indent'

The 2.1 release has the same problem. Is minimal size compilation
supported, or should it be removed?


Christopher





[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux