VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
woodydickson at gmail.com Guest
|
Posted: Tue Dec 02, 2008 6:04 am Post subject: [Freeswitch-users] libfreeswitch question |
|
|
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@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@localhost fs]#
Does anyone know which library is missing?
Thanks,
Woody |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Tue Dec 02, 2008 6:09 am Post subject: [Freeswitch-users] libfreeswitch question |
|
|
On Dec 2, 2008, at 5:55 AM, Woody Dickson wrote:
Quote: | 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@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
|
looks like you have the wrong var types you are passing here.
Quote: |
/usr/local/freeswitch/lib/libfreeswitch.so: undefined reference to
`clock_gettime'
|
-lrt
Quote: |
/usr/local/freeswitch/lib/libfreeswitch.so: undefined reference to
`uuid_generate'
|
-luuid
Quote: |
/usr/local/freeswitch/lib/libfreeswitch.so: undefined reference to
`crypt_r'
|
-lcrypt
Quote: |
collect2: ld returned 1 exit status
[root@localhost fs]#
Does anyone know which library is missing?
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|