Bug#259564: asterisk_1:0.9.1-2(ia64/unstable): FTBFS: compile errors

Mark Purcell Mark Purcell <msp@debian.org>, 259564@bugs.debian.org
Sun, 18 Jul 2004 10:43:21 -0400


tags 259564 pending
thanks

Thanks Ray!

That worked a treat and asterisk now build correctly with the current
openh323 libraries.

Upload pending.

Mark

On Sat, Jul 17, 2004 at 04:32:35PM +0200, J.H.M. Dassen (Ray) wrote:
> This problem is reproducible on i386.
> 
> On Thu, Jul 15, 2004 at 08:35:17 -0600, lamont@debian.org wrote:
> > > g++ -g -c -o ast_h323.o  -DNDEBUG -DDO_CRASH -DDEBUG_THREADS -pipe -Wall -fPIC -DP_LINUX  -D_REENTRANT -D_GNU_SOURCE -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA -I../../include -I/usr/include/ptlib/unix -I/usr/include/pwlib -I/usr/share/pwlib//include -I/usr/include/openh323 ast_h323.cpp
> 
> The problem here is the -I/usr/include/ptlib/unix which causes 
> /usr/include/ptlib/unix/ptlib/pdirect.h rather than
> /usr/include/ptlib/ptlib/pdirect.h to be included. The former is just a
> fragment, apparently for libpt's internal use only, while the latter is a
> proper include file.
> 
> On i386 the package appears to build fine after removing the
> "-I/usr/include/ptlib/unix" from the CFLAGS in
> asterisk-0.9.1/channels/h323/Makefile .
> 
> HTH,
> Ray
> -- 
> Brought to you by Microsoft .NOT technology: just say No.
>