[Home]

Summary:ASTERISK-01534: Compile fails on OS X (10.3.3)
Reporter:Roy Sigurd Karlsbakk (rkarlsba)Labels:
Date Opened:2004-05-04 10:31:26Date Closed:2004-09-25 02:48:25
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hi

Compilation fails on -stable branch, byteswap.h is missing

****** ADDITIONAL INFORMATION ******

gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include  -D_REENTRANT -D_GNU_SOURCE  -O6    -DASTERISK_VERSION=\"CVS-05/04/04-16:21:32\" -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 aescrypt.o aescrypt.c
In file included from aescrypt.c:39:
aesopt.h:158:24: byteswap.h: No such file or directory
make: *** [aescrypt.o] Error 1
Comments:By: Brian West (bkw918) 2004-05-04 10:43:22

Far from major.  Not only does it not compile we don't recursive mutex suport.  I think this bug is already open.

edited on: 05-04-04 09:40

By: alric (alric) 2004-05-04 10:44:04

This doesn't appear to be so much an asterisk bug as a lack of libraries on your system.  A search on packages.debian.org for "byteswap.h" gives the following results:

usr/i386-linux-uclibc/include/bits/byteswap.h    devel/libuclibc-dev
usr/i386-linux-uclibc/include/byteswap.h    devel/libuclibc-dev
usr/include/bits/byteswap.h    devel/libc6-dev
usr/include/byteswap.h    devel/libc6-dev
usr/include/calc/byteswap.h    math/apcalc-dev
usr/lib/checker/i686-pc-linux-gnu/include/bits/byteswap.h   devel/gccchecker

Looks like you're missing a -devel library or something.

By: Mark Spencer (markster) 2004-05-04 10:52:58

Further incompatibilities should be duely noted under 1411, not in new bugs.  I went ahead and changed CVS so that we should be not looking for byteswap when apple isn't defined.