[Freeswitch-dev] build error: undefined reference to `su_log_default' in sofia-sip build

Ben Brunk brunkb at gmail.com
Sun Jan 15 19:33:51 MSK 2012


Hi,

I have the latest code I am trying to build on Ubuntu 11 and am running
into a problem in freeswitch/libs/sofia-sip/
libsofia-sip-ua/su

The error is:

./.libs/libsu.a(su.o): In function `su_init':
su.c:(.text+0x93): undefined reference to `su_log_default'
su.c:(.text+0xa2): undefined reference to `su_log_global'
./.libs/libsu.a(su_log.o): In function `su_log':
su_log.c:(.text+0xfb): undefined reference to `su_log_default'
./.libs/libsu.a(su_log.o): In function `su_vllog':
su_log.c:(.text+0x225): undefined reference to `su_log_default'
su_log.c:(.text+0x258): undefined reference to `su_log_default'
su_log.c:(.text+0x267): undefined reference to `su_log_default'
./.libs/libsu.a(su_log.o): In function `su_log_init':
su_log.c:(.text+0x2dc): undefined reference to `su_log_default'
./.libs/libsu.a(su_log.o):su_log.c:(.text+0x2e9): more undefined references
to `su_log_default' follow
collect2: ld returned 1 exit status

I have followed all of the directions for building on Ubuntu thus far and I
could tell that the configuration step went smoothly.  I have not
undertaken any in-depth troubleshooting (yet) as I am not very experienced
with the Freeswitch code base at the moment.  It seems like I missed some
minor configuration step or perhaps there's an OS issue going on here.
Thanks for any help!


Ben Brunk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20120115/ed8e7e01/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list