[asterisk-users] Fwd: Errors Compiling Libpri-1.4.13

Richard Mudgett rmudgett at digium.com
Tue Nov 27 10:43:53 CST 2012


> On Mon, Nov 19, 2012 at 08:47:23PM +0100, Adolphus Enaboifo wrote:
> > .. I get errors while trying to compile Libpri 1.4.13. (check
> 
> > attachment} Can you guys please help me prescribe a fix.
> 
> [snip]
> 
> > gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC
> > -O2 -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o
> > pridump.c
> > pridump.c:45:24: fatal error: dahdi/user.h: No such file or
> > directory compilation terminated.
> > make: *** [pridump.o] Error 1
> 
> New in lipri 1.4.13 is a default dependency on DAHDI [1]. You should
> be good to go if you make sure that DAHDI is installed before
> compiling libpri.
> 
> 
> My installation scripts were designed to build things this way:
> libpri
> dahdi-linux
> dahdi-tools
> asterisk
> 
> Is it now requested to build this way ?
> dahdi-linux
> libpri
> dahdi-tools
> asterisk

Yes.  Previously, the libpri utilities were not built by default.
Now they are.  It is the utilities that have the dependency on
DAHDI.  It makes more sense to build from the ground up anyway.

dahdi-linux \__ Hardware level drivers and utilities
dahdi-tools /
libpri - Layer 2/Layer 3 protocols
asterisk

Richard



More information about the asterisk-users mailing list