Summary: | ld duplicate | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | dailylama |
Component: | Build | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.5-HEAD | ||
Target Milestone: | --- | ||
Hardware: | Macintosh | ||
OS: | Mac OS X 10.4 |
Description
dailylama
2013-04-17 08:24:01 UTC
FYI, I fixed this problem locally by modifying the ap_config.h include file. The source contains some comments about NeXT gcc missing the inline and __attribute__ feature. Because of the NeXT/Apple entanglements, I guessed at adding "defined(DARWIN)" as a condition for declaring ap_inline: #if !defined(__GNUC__) || __GNUC__ < 2 || \ (__GNUC__ == 2 && __GNUC_MINOR__ < 7) ||\ defined(NEXT) || defined(DARWIN) #define ap_inline #define __attribute__(__x) #define ENUM_BITFIELD(e,n,w) signed int n : w #else #define ap_inline __inline__ #define USE_GNU_INLINE #define ENUM_BITFIELD(e,n,w) e n : w #endif I did not add this condition to other declarations, so YMMV. This worked for Apache HTTPD version 1.3.42 built on Mac OS X 10.9.2, mavericks. |