Hi,
I have downloaded asterisk 1.4.0-beta2 and having trouble compiling the utils
included with asterisk. I have the libnewt library (0.51.6) that is required
by the util module, astman. I am running RH 9 on 2.6.18 kernel. Following is
the output from make. Any help in resolving my issue is really appreciated.
gcc astman.o -o astman
astman.o(.text+0x16): In function main': /usr/src/asterisk-1.4.0-beta2/utils/astman.c:731: undefined reference to
newtIn
it’
astman.o(.text+0x1b):/usr/src/asterisk-1.4.0-beta2/utils/astman.c:732: undefined
reference to newtCls' astman.o(.text+0x37):/usr/src/asterisk-1.4.0-beta2/utils/astman.c:733: undefined reference to
newtDrawRootText’
astman.o(.text+0x43):/usr/src/asterisk-1.4.0-beta2/utils/astman.c:734: undefined
reference to newtPushHelpLine' astman.o(.text+0x62):/usr/src/asterisk-1.4.0-beta2/utils/astman.c:740: undefined reference to
newtFinished’
astman.o(.text+0x70):/usr/src/asterisk-1.4.0-beta2/utils/astman.c:736: undefined
…
locate libnewt gives me this:
/usr/lib/libnewt.so.0.51.4
/usr/lib/libnewt.so.0.51
/usr/lib/libnewt.a
/usr/lib/libnewt.so
/usr/lib/libnewt.so.0.51.6
/usr/src/redhat/SOURCES/newt-0.51.6/libnewt.a
/usr/src/redhat/SOURCES/newt-0.51.6/libnewt.so.0.51.6
Thank you very much in advance.