Problem compiling astman with 1.4.0-beta2


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 tonewtIn
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 tonewtDrawRootText’
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 tonewtFinished’
astman.o(.text+0x70):/usr/src/asterisk-1.4.0-beta2/utils/astman.c:736: undefined

locate libnewt gives me this:

Thank you very much in advance.

I think some of the makefile definitions are incorrect. When I issued the command gcc astman.o -o astman -lnewt in the utils directory then astman compilation does not give the undefined reference errors. But now the errors are from MD5.

/usr/src/asterisk-1.4.0-beta2/utils/astman.c:685: undefined reference to MD5Init' astman.o(.text+0x2cbe):/usr/src/asterisk-1.4.0-beta2/utils/astman.c:686: undefined reference toMD5Update’
astman.o(.text+0x2ce2):/usr/src/asterisk-1.4.0-beta2/utils/astman.c:687: undefined reference to MD5Update' astman.o(.text+0x2cf6):/usr/src/asterisk-1.4.0-beta2/utils/astman.c:688: undefined reference toMD5Final’

So, I think some of the definitions in the Makefiles are incorrect. I have successfully gotten the asterisk and the astman for that version compiled. Hope these definitions in 1.4 are rectified. Please do let me know if I am am missing something to make this work or anybody needs more information.

Thanks in advance.


Just want to let you know that I got the compilation problems resolved by downloading 1.4.0 beta3 and upgrading libcurl to 7.16.0

Hope this helps