[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-dev
Subject: Re: [asterisk-dev] Asterisk 1.2.13 under FC6 - chan_phone.c wants
From: Leif Madsen <leif.madsen () asteriskdocs ! org>
Date: 2006-11-29 15:36:06
Message-ID: 200611291036.06786.leif.madsen () asteriskdocs ! org
[Download RAW message or body]
On Tuesday 28 November 2006 18:56, Juan Carlos Castro y Castro wrote:
> ...a header file I understand it's deprecated. I solved the problem by
> eliminating chan_phone from channels/Makefile, but what is the real fix?
> Just removing the #include in chan_phone.c?
>
> gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
> -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
> -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations
> -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_phone.o
> chan_phone.c
> chan_phone.c:41:29: error: linux/compiler.h: No such file or directory
> make[1]: *** [chan_phone.o] Error 1
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.13/channels'
> make: *** [subdirs] Error 1
You are correct, and 'file' has fixed it in all the branches as of revision
48087-48089 for 1.2, 1.4, and trunk branches. The fix was simply to remove it
as we never really needed it.
Leif.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic