I did it simply by using the non SMP kernel. You can also do it by putting noht on the kernel line in lilo/grub.
See this post I happened accross for more help.... http://lists.digium.com/pipermail/asterisk-users/2004-January/032514.html > > The sched_settime error may be resolved. I managed to find a post by > > someone about hyperthreading and the 2.4 linux kernels. I have disabled > > hyperthreading in the 2.4 kernel and haven't seen the error since... Now to > > solve the rest of the problems. > > > > How does one en/disable hyperthreading from a kernel? I can't find a > config option with a name close to that. . . nor do I find anything > grepping for "yper" in the Documentation directory. > > Thx. > > B. > > --__--__-- > > Message: 3 > Date: Sat, 13 Mar 2004 15:33:33 -0500 (EST) > From: James Golovich <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: [Asterisk-Dev] sched_settime error -- possible resolution.... > AGI question now.... > Reply-To: [EMAIL PROTECTED] > > > > On Sat, 13 Mar 2004, Brian Capouch wrote: > > > Tom Knox wrote: > > > The sched_settime error may be resolved. I managed to find a post by > > > someone about hyperthreading and the 2.4 linux kernels. I have disabled > > > hyperthreading in the 2.4 kernel and haven't seen the error since... Now to > > > solve the rest of the problems. > > > > > > > How does one en/disable hyperthreading from a kernel? I can't find a > > config option with a name close to that. . . nor do I find anything > > grepping for "yper" in the Documentation directory. > > > > It's typically done from the BIOS > > James > > > --__--__-- > > Message: 4 > To: [EMAIL PROTECTED] > From: Jason Titus <[EMAIL PROTECTED]> > Date: Sun, 14 Mar 2004 01:55:58 -0800 > Subject: [Asterisk-Dev] Mac OS X 10.3.2 build issues > Reply-To: [EMAIL PROTECTED] > > 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 > > > End of Asterisk-Dev Digest > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.598 / Virus Database: 380 - Release Date: 2/28/2004 _______________________________________________ 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
