All pastes #26330 Raw Edit

Untitled

public text v1 · immutable
#26330 ·published 2005-10-22 22:57 UTC
rendered paste body
[root@localhost res]# gcc -shared -Xlinker -x -o res_js.so res_js.c -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DX86_LINUX  -DDEBUG -DDEBUG_root -DJS_THREADSAFE -DHAVE_CURL  -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DX86_LINUX  -DDEBUG -DDEBUG_root -DJS_THREADSAFE -L/usr/lib64 -lcurl -L/usr/kerberos/lib -L/usr/kerberos/lib64 -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -L/usr/lib -lidn -lssl -lcrypto -lz -I../include -I../ -I. -I/usr/include/mozilla-1.7.12/nspr/
In file included from ../include/openpbx/linkedlists.h:23,
                 from ../include/openpbx/chanvars.h:26,
                 from ../include/openpbx/channel.h:29,
                 from ../include/openpbx/file.h:26,
                 from res_js.c:15:
../include/openpbx/lock.h: In function `opbx_mutex_init':
../include/openpbx/lock.h:495: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
../include/openpbx/lock.h:495: error: (Each undeclared identifier is reported only once
../include/openpbx/lock.h:495: error: for each function it appears in.)
[1]+  Done                    updatedb
[root@localhost res]#