Hi ! Now I'm trying to use last pjsip trunk under Linux (CentOs 5 distrib) I think I've almost the same building problem as described in the post : http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-January/001452.html(the problem has no been solved, since the person hasn't reply to your questions) See ./configure log below : [tflo at D820-15 Stack_PjSIP]$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for pthread_create in -lpthread... yes checking for puts in -lwsock32... no checking for puts in -lws2_32... no checking for puts in -lole32... no checking for puts in -lwinmm... no checking for puts in -lsocket... no checking for puts in -lrt... yes checking for puts in -lnsl... yes checking for uuid_generate in -luuid... yes checking for uuid_generate in -luuid... (cached) yes Setting PJ_M_NAME to i686 checking memory alignment... 4 bytes (default) checking whether byte ordering is bigendian... no Checking if floating point is disabled... no checking for fmod in -lm... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking linux/socket.h usability... yes checking linux/socket.h presence... yes checking for linux/socket.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking for mswsock.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for net/if.h... yes Setting PJ_OS_NAME to i686-pc-linux-gnu Setting PJ_HAS_ERRNO_VAR to 1 Setting PJ_HAS_HIGH_RES_TIMER to 1 Setting PJ_HAS_MALLOC to 1 Setting PJ_NATIVE_STRING_IS_UNICODE to 0 Setting PJ_ATOMIC_VALUE_TYPE to long checking if inet_aton() is available... yes checking if inet_pton() is available... yes checking if inet_ntop() is available... yes checking if getaddrinfo() is available... yes checking if sockaddr_in has sin_len member... no checking if socklen_t is available... yes checking if SO_ERROR is available... yes checking if pthread_rwlock_t is available... yes checking if pthread_mutexattr_settype() is available... no checking if pthread_mutexattr_t has recursive member... no checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking linux/soundcard.h usability... yes checking linux/soundcard.h presence... yes checking for linux/soundcard.h... yes checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking alsa/version.h usability... yes checking alsa/version.h presence... yes checking for alsa/version.h... yes Checking sound device backend... unix Checking if small filter is disabled... no Checking if large filter is disabled... no Checking if Speex AEC is disabled...no Checking if G.711 codec is disabled...no Checking if L16 codec is disabled...no Checking if GSM codec is disabled...no Checking if G.722 codec is disabled...no Checking if Speex codec is disabled...no Checking if iLBC codec is disabled...no Skipping libsamplerate detection checking for OpenSSL installations.. checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for SSL_library_init in -lssl... yes checking for ERR_load_BIO_strings in -lcrypto... yes OpenSSL library found, SSL support enabled checking if select() needs correct nfds... no (default) ** Decided that select() doesn't need correct nfds (please check) checking if pj_thread_create() should enforce stack size... no (default) checking if pj_thread_create() should allocate stack... no (default) ** Setting non-blocking recv() retval to EAGAIN (please check) ** Setting non-blocking connect() retval to EINPROGRESS (please check) aconfigure: creating ./config.status config.status: creating build.mak config.status: creating build/os-auto.mak config.status: creating pjlib/build/os-auto.mak config.status: creating pjlib-util/build/os-auto.mak config.status: creating pjmedia/build/os-auto.mak config.status: creating pjsip/build/os-auto.mak config.status: creating third_party/build/portaudio/os-auto.mak config.status: creating third_party/build/os-auto.mak config.status: creating pjlib/include/pj/compat/os_auto.h config.status: pjlib/include/pj/compat/os_auto.h is unchanged config.status: creating pjlib/include/pj/compat/m_auto.h config.status: pjlib/include/pj/compat/m_auto.h is unchanged config.status: creating pjmedia/include/pjmedia/config_auto.h config.status: pjmedia/include/pjmedia/config_auto.h is unchanged config.status: creating pjmedia/include/pjmedia-codec/config_auto.h config.status: pjmedia/include/pjmedia-codec/config_auto.h is unchanged config.status: creating pjsip/include/pjsip/sip_autoconf.h config.status: pjsip/include/pjsip/sip_autoconf.h is unchanged my "make dep" result : ... In file included from ../include/pjmedia/config.h:26, from ../include/pjmedia/types.h:27, from ../include/pjmedia-codec/config.h:22, from ../include/pjmedia-codec/types.h:22, from ../include/pjmedia-codec/l16.h:22, from ../src/pjmedia-codec/l16.c:19: ../../pjlib/include/pj/config.h:1006:4: error: #error "PJ_HAS_HIGH_RES_TIMER is not defined!" ../../pjlib/include/pj/config.h:1022:4: error: #error "PJ_EMULATE_RWMUTEX should be defined in compat/os_xx.h" ../../pjlib/include/pj/config.h:1026:4: error: #error "PJ_THREAD_SET_STACK_SIZE should be defined in compat/os_xx.h" ../../pjlib/include/pj/config.h:1030:4: error: #error "PJ_THREAD_ALLOCATE_STACK should be defined in compat/os_xx.h" ... As the previous person has described in his post, after ./configure, all the macros are undefined in pjlib/include/pj/compat/os_auto.h svn status result : [tflo at D820-15 Stack_PjSIP]$ svn status X third_party/speex X third_party/portaudio Performing status on external item at 'third_party/speex' Performing status on external item at 'third_party/portaudio' finally, my "tail -100 config.log" result : [tflo at D820-15 Stack_PjSIP]$ tail -100 config.log infodir='${prefix}/info' libcrypto_present='1' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libssl_present='1' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' openssl_h_present='1' prefix='/usr/local' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnu' target_alias='' target_cpu='i686' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_INTTYPES_H 1 #define HAVE_LIBM 1 #define HAVE_LIBNSL 1 #define HAVE_LIBPTHREAD 1 #define HAVE_LIBRT 1 #define HAVE_LIBUUID 1 #define HAVE_MEMORY_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "pjproject" #define PACKAGE_STRING "pjproject 0.8" #define PACKAGE_TARNAME "pjproject" #define PACKAGE_VERSION "0.8" #define PJSIP_HAS_TLS_TRANSPORT 1 #define PJ_ATOMIC_VALUE_TYPE long #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS #define PJ_BLOCKING_ERROR_VAL EAGAIN #define PJ_EMULATE_RWMUTEX 0 #define PJ_HAS_ARPA_INET_H 1 #define PJ_HAS_ASSERT_H 1 #define PJ_HAS_CTYPE_H 1 #define PJ_HAS_ERRNO_H 1 #define PJ_HAS_ERRNO_VAR 1 #define PJ_HAS_FCNTL_H 1 #define PJ_HAS_FLOATING_POINT 1 #define PJ_HAS_HIGH_RES_TIMER 1 #define PJ_HAS_IFADDRS_H 1 #define PJ_HAS_LINUX_SOCKET_H 1 #define PJ_HAS_MALLOC 1 #define PJ_HAS_MALLOC_H 1 #define PJ_HAS_NETDB_H 1 #define PJ_HAS_NETINET_IN_H 1 #define PJ_HAS_NETINET_IP_H 1 #define PJ_HAS_NET_IF_H 1 #define PJ_HAS_SEMAPHORE_H 1 #define PJ_HAS_SETJMP_H 1 #define PJ_HAS_SOCKLEN_T 1 #define PJ_HAS_SO_ERROR 1 #define PJ_HAS_STDARG_H 1 #define PJ_HAS_STDDEF_H 1 #define PJ_HAS_STDINT_H 1 #define PJ_HAS_STDIO_H 1 #define PJ_HAS_STDLIB_H 1 #define PJ_HAS_STRING_H 1 #define PJ_HAS_SYS_IOCTL_H 1 #define PJ_HAS_SYS_SELECT_H 1 #define PJ_HAS_SYS_SOCKET_H 1 #define PJ_HAS_SYS_TIMEB_H 1 #define PJ_HAS_SYS_TIME_H 1 #define PJ_HAS_SYS_TYPES_H 1 #define PJ_HAS_TIME_H 1 #define PJ_HAS_UNISTD_H 1 #define PJ_LINUX 1 #define PJ_M_NAME "i686" #define PJ_NATIVE_STRING_IS_UNICODE 0 #define PJ_OS_NAME "i686-pc-linux-gnu" #define PJ_POOL_ALIGNMENT 4 #define PJ_SELECT_NEEDS_NFDS 0 #define PJ_SOCK_HAS_GETADDRINFO 1 #define PJ_SOCK_HAS_INET_ATON 1 #define PJ_SOCK_HAS_INET_NTOP 1 #define PJ_SOCK_HAS_INET_PTON 1 #define PJ_THREAD_ALLOCATE_STACK 0 #define PJ_THREAD_SET_STACK_SIZE 0 #define STDC_HEADERS 1 #endif #ifdef __cplusplus extern "C" void std::exit (int) throw (); using std::exit; aconfigure: exit 0 Do you have any idea about this problem ? Thanks a lot, and best Regards, Electrocut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080513/83a81bde/attachment-0001.html