apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject apr-util build error - xlate.c
Date Fri, 02 Jul 2004 12:34:22 GMT
Hi all,

While trying to build apr-util from HEAD (as an RPM), the build bombs 
out like so:

/bin/sh /usr/lib/apr/build-1/libtool --silent --mode=compile gcc 
-pthread  -O2 -g -pipe -march=i386 -mcpu=i686 -DHAVE_CONFIG_H -DLINUX=2 
-D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-I/usr/src/redhat/BUILD/apr-util-1.0.0/include 
-I/usr/src/redhat/BUILD/apr-util-1.0.0/include/private 
-I/usr/include/apr-1    -o xlate/xlate.lo -c xlate/xlate.c && touch 
xlate/xlate.lo
xlate/xlate.c:61: syntax error before "iconv_t"
xlate/xlate.c:61: warning: no semicolon at end of struct or union
xlate/xlate.c: In function `apr_xlate_cleanup':
xlate/xlate.c:91: dereferencing pointer to incomplete type
xlate/xlate.c:91: `iconv_t' undeclared (first use in this function)
xlate/xlate.c:91: (Each undeclared identifier is reported only once
xlate/xlate.c:91: for each function it appears in.)
xlate/xlate.c:92: dereferencing pointer to incomplete type
xlate/xlate.c: In function `check_sbcs':
xlate/xlate.c:119: dereferencing pointer to incomplete type
xlate/xlate.c:129: dereferencing pointer to incomplete type
xlate/xlate.c:129: dereferencing pointer to incomplete type
xlate/xlate.c:130: dereferencing pointer to incomplete type
xlate/xlate.c:131: dereferencing pointer to incomplete type
xlate/xlate.c:132: dereferencing pointer to incomplete type

It bombs out here:

#if APU_HAVE_ICONV
     iconv_t ich; <---
#elif APU_HAVE_APR_ICONV

The platform is Linux (RHEL3).

Anyone know what might be causing this, or is it something stupid I've done?

Regards,
Graham
--

Mime
View raw message