[asterisk-bugs] [Asterisk 0011971]: ifaddrs.h not available on all linux distributions => asterisk fails to compile
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Feb 11 10:09:52 CST 2008
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=11971
======================================================================
Reported By: ovi
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 11971
Category: Core/BuildSystem
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Asterisk Version: 1.4.18
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 02-11-2008 10:08 CST
Last Modified: 02-11-2008 10:09 CST
======================================================================
Summary: ifaddrs.h not available on all linux distributions
=> asterisk fails to compile
Description:
Some unix distributions don't provide ifaddrs.h.
Asterisk should be able to cope with that.
/home/osas/slug/optware/nslu2/toolchain/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/bin/armv5b-softfloat-linux-gcc
-o acl.o -c acl.c -pthread
-I/home/osas/slug/optware/nslu2/builds/asterisk14/include -fsigned-char
-I/home/osas/slug/optware/nslu2/staging/opt/include -pipe -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3
-include
/home/osas/slug/optware/nslu2/builds/asterisk14/include/asterisk/autoconfig.h
-O6 -MMD -MT acl.o -MF .acl.o.d -MP
acl.c:55:21: warning: ifaddrs.h: No such file or directory
acl.c: In function `get_local_address':
acl.c:169: warning: implicit declaration of function `getifaddrs'
acl.c:180: error: dereferencing pointer to incomplete type
acl.c:182: error: dereferencing pointer to incomplete type
acl.c:183: error: dereferencing pointer to incomplete type
acl.c:237: warning: implicit declaration of function `freeifaddrs'
make[2]: *** [acl.o] Error 1
make[1]: *** [main] Error 2
make[1]: Leaving directory
`/home/osas/slug/optware/nslu2/builds/asterisk14'
make: *** [/home/osas/slug/optware/nslu2/builds/asterisk14/.built] Error 2
======================================================================
----------------------------------------------------------------------
file - 02-11-08 10:09
----------------------------------------------------------------------
This has already been fixed in current SVN and will be in the next release.
Issue History
Date Modified Username Field Change
======================================================================
02-11-08 10:09 file Note Added: 0082012
======================================================================
More information about the asterisk-bugs
mailing list