OK, I am having no luck trying to build asterix on Mac OS X 10.3.2. I have tried 0.7.2, stable-cvs, and development-cvs and all seem to have the same errors:

gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -DASTERISK_VERSION=\"CVS-03/14/04-01:45:29\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -c -o cli.o cli.c
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -DASTERISK_VERSION=\"CVS-03/14/04-01:45:29\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -c -o md5.o md5.c
md5.c:3:20: endian.h: No such file or directory
make: *** [md5.o] Error 1



----


If I manually edit the Makefile to set PROC to ppc, I get the same error. 'locate endian.h' returns the following:

hostname:~/Desktop/Asterix/cvs-checkout/asterisk jasontitus$ locate endian.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/ endian.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/machine/ endian.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ppc/ endian.h
/usr/include/i386/endian.h
/usr/include/machine/endian.h
/usr/include/ppc/endian.h


Adding '/usr/include/machine/', '/usr/include/ppc/', or '/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ machine/' resulted in the following error:

gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -I/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ machine/ -D_REENTRANT -D_GNU_SOURCE -O6 -DASTERISK_VERSION=\"CVS-03/14/04-01:50:46\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -c -o localtime.o localtime.c
In file included from /usr/include/pthread.h:61,
from ../include/asterisk/lock.h:17,
from localtime.c:27:
/usr/include/unistd.h:236: error: parse error before '*' token
In file included from ../include/asterisk/lock.h:17,
from localtime.c:27:
/usr/include/pthread.h:256: error: parse error before '*' token
localtime.c: In function `gmtsub':
localtime.c:1088: warning: assignment discards qualifiers from pointer target type
localtime.c: At top level:
localtime.c:33: warning: `elsieid' defined but not used
make[1]: *** [localtime.o] Error 1
make: *** [stdtime/libtime.a] Error 2


I saw a post or two in the past implying others had successfully compiled this on OS X. What am I missing?

Thanks for any help,
Jason

_______________________________________________
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to