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

J.H.M. Dassen (Ray) "J.H.M. Dassen (Ray)" <fsmla@xinara.org>, 259564@bugs.debian.org
Sat, 17 Jul 2004 16:32:35 +0200


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.