On Thursday, January 23, 2003, at 11:59 PM, Christian Schaffner wrote:
Hi,-g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/sw/include -I../include -I../include/arch/unix -c apr_hash.c && touch > apr_hash.lo
apr_hash.c:373: conflicting types for `apr_hash_count'
/sw/include/apr_hash.h:193: previous declaration of `apr_hash_count'
make[2]: *** [apr_hash.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
### execution of failed, exit code 2
Failed: compiling apr-0.9.2-1 failed
Could anybody help here? Has anybody else seen this error? Has anybody succeeded in updating apr to 0.9.2?
don't have apr installed, but this is due to the order of the includes in the cc line, in the info file you can do "NoSetCPPFlags: true" and see what happens, if that doesn't work then try also adding "SetCPPFlags: -isystem %p/include" to ensure that /sw/include comes after -I../include etc whan gcc is looking for the include files.
HTH,
Peter
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel