igil@itranser.com
2004-Sep-23 02:03 UTC
[Asterisk-Users] I can't solve mi problem compiling CAPI, please help
Hello, I?m trying to compile the Fritz CAPI module for Debian stable, following the steps related in http://www.voip-info.org/tiki-index.php?page=Asterisk%20AVM%20Fritz%20CAPI%20Driver%20Install But I always get the same error, debian-asterisk:/home/ismaelg/fritz# make (cd src.drv; make CARD=fcpci) make[1]: Entering directory `/home/ismaelg/fritz/src.drv' cc -c -DMODULE -DMODVERSIONS -D__KERNEL__ -DNDEBUG \ -march=i686 -O2 -Wall -I /usr/src/kernel-source-2.4.18/include/ \ main.c -o main.o cc: cannot specify -o with -c or -S and multiple compilations make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/home/ismaelg/fritz/src.drv' make: *** [drv] Error 2 debian-asterisk:/home/ismaelg/fritz# I don't know what is happening. Could someone give me a clue to solve this? Thanks a lot. Ismael Gil. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040923/c4db908e/attachment.htm
Thomas Niesel
2004-Sep-23 22:06 UTC
[Asterisk-Users] I can't solve mi problem compiling CAPI, please help
On Thu, Sep 23, 2004 at 11:03:21AM +0200, igil@itranser.com wrote:> Hello, > > I?m trying to compile the Fritz CAPI module for Debian stable, following > the steps related in > > http://www.voip-info.org/tiki-index.php?page=Asterisk%20AVM%20Fritz%20CAPI%20Driver%20Install > > > But I always get the same error, > > debian-asterisk:/home/ismaelg/fritz# makeHave you called make clean first?> (cd src.drv; make CARD=fcpci) > make[1]: Entering directory `/home/ismaelg/fritz/src.drv' > cc -c -DMODULE -DMODVERSIONS -D__KERNEL__ -DNDEBUG \ -march=i686 -O2 > -Wall -I /usr/src/kernel-source-2.4.18/include/ \ main.c -o main.oYou use kernel version 2.4.18? Why?> cc: cannot specify -o with -c or -S and multiple compilations > make[1]: *** [main.o] Error 1 > make[1]: Leaving directory `/home/ismaelg/fritz/src.drv' > make: *** [drv] Error 2 > debian-asterisk:/home/ismaelg/fritz# > > I don't know what is happening. > > Could someone give me a clue to solve this?What is the version of the avm-driver? Check ftp.avm.de/cardware/fritzcrd.pci/linux... Try some of the older versions (8.1, 8.0)> > Thanks a lot. > > Ismael Gil. > >> _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Tho/\/\as