[Asterisk-Users] compiling CVS-HEAD + Patch from http://bugs.digium.com/view.php?id=3644

Christian Wengel wengel at coxorange.net
Tue Aug 23 06:56:08 MST 2005


Hi!

First I have to say, that I'm not very familiar with CVS and patching.
I tried to patch & compile CVS-HEAD.
First I checked out zaptel, libpri and asterisk with this command: "cvs 
co zaptel libpri asterisk"
But the latest patch sipsubscribe-20050812.rev806v2.txt from 
http://bugs.digium.com/view.php?id=3644 didn't worked, so I tried to 
check out an older CVS-Versions with "cvs co -D 08/12/05 zaptel libpri 
asterisk". With this version the patch-command didn't gave me any 
errors. So I tried to compile asterisk, but then my compiler (gcc (GCC) 
3.3.5 (Debian 1:3.3.5-13)) runs into a loop:

    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 ; \
    fi
    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=pentium3 
    -DZAPTEL_OPTIMIZATIONS          -fomit-frame-pointer  -pipe  -Wall
    -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g 
    -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -O6
    -march=pentium3  -DZAPTEL_OPTIMIZATIONS         
    -fomit-frame-pointer  acl.c aescrypt.c aeskey.c aestab.c alaw.c
    app.c asterisk.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/mkdep -a -d -pipe  -Wall -Wstrict-prototypes
    -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude
    -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=pentium3 
    -DZAPTEL_OPTIMIZATIONS          -fomit-frame-pointer  -pipe  -Wall
    -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g 
    -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -O6
    -march=pentium3  -DZAPTEL_OPTIMIZATIONS         
    -fomit-frame-pointer  ast_expr.c
    make[1]: Leaving directory `/usr/src/asterisk'
    make[1]: Entering directory `/usr/src/asterisk'
    build_tools/make_version_h > include/asterisk/version.h.tmp

And I get this message again and again.

Greets, Christian



More information about the asterisk-users mailing list