I’m not a C programmer and i haven’t got much of clue what’s going on during the build process, so maybe someone can help me understand my problem here.
The first time i downloaded the 1.2.0-beta1 CVS sources and built it, it built and installed ok. But since then, every time i try, zaptel and libpri build and install ok. Asterisk builds ok, but when i do make install it seems to go into an infinite loop. I’ve tried deleting it all and re-installing from CVS, but it doesn’t make any difference.
The output from make install while it’s in the loop is this, over and over again:
rm -f include/asterisk/version.h.tmp
build_tools/mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer acl.c aescrypt.c aeskey.c aestab.c alaw.c app.c asterisk.c ast_expr2.c ast_expr2f.c astmm.c autoservice.c callerid.c cdr.c channel.c chanvars.c cli.c config.c config_old.c db.c devicestate.c dlfcn.c dns.c dnsmgr.c dsp.c enum.c file.c frame.c fskmodem.c image.c indications.c io.c jitterbuf.c loader.c logger.c manager.c md5.c muted.c netsock.c pbx.c plc.c poll.c privacy.c rtp.c say.c sched.c slinfactory.c srv.c strcompat.c tdd.c term.c translate.c ulaw.c utils.c
build_tools/make_version_h > include/asterisk/version.h.tmp
if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; then echo; else \
mv include/asterisk/version.h.tmp include/asterisk/version.h ; \
I’m afraid the linewrap has mutilated it a bit, even though i used the “code” tags.
The version of gcc is 3.4.4 20050721 (Red Hat 3.4.4-2)
The version of make is GNU Make 3.80
Can anyone suggest what might be wrong?