Hello
I thought I had all the prerequisites to compile Asterisk 1.4.x under an up-to-date Fedora 6, but it looks like I’m still missing something. I’m trying to compile it on a mini-ITX host with a Via motherboard, hence the i586 limitation.
After running “./configure -build=i586 --host=i586” succesfully, at some point, “make” barfs this:
io.o jitterbuf.o loader.o logger.o manager.o md5.o netsock.o pbx.o plc.o privacy.o rtp.o say.o sched.o sha1.o slinfactory.o srv.o stdtime/localtime.o strcompat.o tdd.o term.o threadstorage.o translate.o udptl.o ulaw.o utils.o editline/libedit.a db1-ast/libdb1.a -> asterisk
asterisk.o: In function `quit_handler':
/tmp/asterisk-1.4.4/main/asterisk.c:1277: undefined reference to `pthread_cancel'
/tmp/asterisk-1.4.4/main/asterisk.c:1304: undefined reference to `pthread_kill'
asterisk.o: In function `console_verboser':
/tmp/asterisk-1.4.4/main/asterisk.c:1356: undefined reference to `pthread_kill'
asterisk.o: In function `listener':
/tmp/asterisk-1.4.4/main/asterisk.c:971: undefined reference to `pthread_testcancel'
asterisk.o: In function `main':
/tmp/asterisk-1.4.4/main/asterisk.c:2824: undefined reference to `pthread_sigmask'
etc.
I ran the following before running configure:
yum install kernel-devel
yum install bison
yum install bison-devel
yum install ncurses
yum install ncurses-devel
yum install zlib
yum install zlib-devel
yum install openssl
yum install openssl-devel
yum install gnutls-devel
yum install gcc
yum install gcc-c++
yum install libtermcap-devel
Any idea what it could be? Wrong kernel version or kernel headers? Something else?
Thank you.
PS : BTW, just about every documentation mentions compiling Zaptel and Libpri. I’m not using any PCI device, and rely on a Linksys 3102 VoIP gateway to handle incoming POTS calls. Do I still need to compile Zaptel or Libpri?