[Freeswitch-users] Build system/RPM's

Tamas Cseke cstomi.levlist at gmail.com
Tue Mar 20 09:55:48 PDT 2007


Hello,

I had automake1.4, so this was the inital problem,
 i saw your mail to late :-[

but i upgraded it.
now i have:
autoconf                          2.60-1
automake1.9                   1.9.6-4
libtool                             1.5.22-4

and i have still building problems:

i done
./bootsrap.sh
./configure -C prefix=/usr/local/freeswitch-cstomi
make

....
(cd .libs && rm -f libfreeswitch.la && ln -s ../libfreeswitch.la 
libfreeswitch.la)
gcc -I/home/cstomi/freeswitch_trunk/src/include 
-I/usr/local/freeswitch-cstomi//include -fPIC -Werror -g -O2 -Wall 
-std=c99 -pedantic -o .libs/freeswitch freeswitch-switch.o  
-L/usr/local/freeswitch-cstomi//lib -lm -L/usr/local/lib 
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so -Wl,--rpath 
-Wl,/usr/local/freeswitch-cstomi//lib
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `dlerror'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_create'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_getspecific'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_rwlock_rdlock'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_rwlock_init'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_mutexattr_destroy'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_rwlock_destroy'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `sem_wait'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `sem_post'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_rwlock_unlock'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `apr_generate_random_bytes'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `sem_unlink'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `dlclose'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_detach'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_once'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_key_create'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `sem_close'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_attr_setstacksize'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `dlopen'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_rwlock_wrlock'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_sigmask'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `dlsym'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_mutexattr_settype'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_mutexattr_setpshared'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `sem_open'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_rwlock_trywrlock'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_rwlock_tryrdlock'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_mutexattr_init'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_attr_setguardsize'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_mutex_trylock'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_join'
/home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined 
reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make[2]: *** [freeswitch] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thanks
Tamas

Michael Jerris wrote:

>What versions of autoconf automake and libtool do you have on that box?
>
>  
>
>>-----Original Message-----
>>From: freeswitch-users-bounces at lists.freeswitch.org
>>    
>>
>[mailto:freeswitch-
>  
>
>>users-bounces at lists.freeswitch.org] On Behalf Of Tamas Cseke
>>Sent: Tuesday, March 20, 2007 11:45 AM
>>To: freeswitch-users at lists.freeswitch.org
>>Subject: Re: [Freeswitch-users] Build system/RPM's
>>
>>Hello
>>
>>I am unable to build fs.
>>http://pastebin.freeswitch.org/409
>>I have autoconf, automake, libtool installed.
>>Is there anything what i need to install.
>>It seems make can't find rpath..
>>I don't know what is it. I need install something else?
>>
>>Thanks,
>>Tamas
>>
>>http://www.freeswitch.org
>>    
>>
>
>_______________________________________________
>Freeswitch-users mailing list
>Freeswitch-users at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>http://www.freeswitch.org
>
>  
>





More information about the FreeSWITCH-users mailing list