[Freeswitch-users] libfreeswitch question

Woody Dickson woodydickson at gmail.com
Tue Dec 2 02:55:06 PST 2008


Hi,

I am just having a dumb question and hoping someone can help me.  I am
trying to run a c program with libfreeswitch embedded so I can use some
external mechanism to keep track of freeswitch, but I am having problem
while compiling:

[root at localhost fs]# gcc switchnode.c -I/usr/local/freeswitch/include
-L/usr/local/freeswitch/lib -lfreeswitch -lpthread
switchnode.c: In function 'main':
switchnode.c:11: warning: passing argument 1 of
'switch_core_init_and_modload' makes integer from pointer without a cast
switchnode.c:11: warning: passing argument 3 of
'switch_core_init_and_modload' from incompatible pointer type
/usr/local/freeswitch/lib/libfreeswitch.so: undefined reference to
`clock_gettime'
/usr/local/freeswitch/lib/libfreeswitch.so: undefined reference to
`uuid_generate'
/usr/local/freeswitch/lib/libfreeswitch.so: undefined reference to `crypt_r'
collect2: ld returned 1 exit status
[root at localhost fs]#


Does anyone know which library is missing?

Thanks,
Woody
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081202/5f995ebf/attachment-0002.html 


More information about the FreeSWITCH-users mailing list