Not working in Fedora 12

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

 



Dear Sir,

Even i cant use the sample that shifted with, its not working!!! Any idea if
its ever worked in Fedora 12 or Red hat linux?

[root at example lib]# gcc
/home/sun/Downloads/pjsip/pjproject-1.6/pjlib/src/pjlib-samples/log.c
/usr/local/lib/libpj-i686-pc-linux-gnu.a -o test
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_sem_destroy':
os_core_unix.c:(.text+0x429): undefined reference to `sem_destroy'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_sem_post':
os_core_unix.c:(.text+0x494): undefined reference to `sem_post'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_sem_trywait':
os_core_unix.c:(.text+0x4d3): undefined reference to `sem_trywait'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_sem_wait':
os_core_unix.c:(.text+0x549): undefined reference to `sem_wait'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_sem_create':
os_core_unix.c:(.text+0x61b): undefined reference to `sem_init'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_rwmutex_destroy':
os_core_unix.c:(.text+0x71d): undefined reference to
`pthread_rwlock_destroy'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_rwmutex_unlock_write':
os_core_unix.c:(.text+0x74d): undefined reference to `pthread_rwlock_unlock'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_rwmutex_lock_write':
os_core_unix.c:(.text+0x78d): undefined reference to `pthread_rwlock_wrlock'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_rwmutex_lock_read':
os_core_unix.c:(.text+0x7bd): undefined reference to `pthread_rwlock_rdlock'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_rwmutex_create':
os_core_unix.c:(.text+0x80c): undefined reference to `pthread_rwlock_init'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`init_mutex':
os_core_unix.c:(.text+0x98d): undefined reference to
`pthread_mutexattr_init'
os_core_unix.c:(.text+0x9c1): undefined reference to
`pthread_mutexattr_settype'
os_core_unix.c:(.text+0x9dd): undefined reference to
`pthread_mutexattr_destroy'
os_core_unix.c:(.text+0xa04): undefined reference to
`pthread_mutexattr_settype'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_mutex_trylock':
os_core_unix.c:(.text+0xc1c): undefined reference to `pthread_mutex_trylock'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_thread_local_set':
os_core_unix.c:(.text+0xff4): undefined reference to `pthread_setspecific'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_thread_local_alloc':
os_core_unix.c:(.text+0x10bd): undefined reference to `pthread_key_create'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_thread_join':
os_core_unix.c:(.text+0x11fc): undefined reference to `pthread_join'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_thread_create':
os_core_unix.c:(.text+0x12ef): undefined reference to `pthread_create'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_thread_local_get':
os_core_unix.c:(.text+0xb98): undefined reference to `pthread_getspecific'
/usr/local/lib/libpj-i686-pc-linux-gnu.a(os_core_unix.o): In function
`pj_thread_local_free':
os_core_unix.c:(.text+0x1098): undefined reference to `pthread_key_delete'
collect2: ld returned 1 exit status


Thank you
Best regards
Shamun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100731/b055f068/attachment.html>


[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