unable to make libunicode-0.4



In trying to cover dependicies I get this error when making libunicode.
Help apprechiated

[root frodo libunicode-0.4]# make
make  all-recursive
make[1]: Entering directory `/home/shelton/software/libunicode-0.4'
Making all in .
make[2]: Entering directory `/home/shelton/software/libunicode-0.4'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -W
-Wall -Wno-unused -g -O2 -c convert.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -W -Wall -Wno-unused -g -O2 -c
convert.c  -fPIC -DPIC -o .libs/convert.lo
In file included from convert.h:24,
                 from convert.c:28:
/usr/include/iconv.h:42: parse error before `__inbuf'
make[2]: *** [convert.lo] Error 1
make[2]: Leaving directory `/home/shelton/software/libunicode-0.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shelton/software/libunicode-0.4'
make: *** [all-recursive-am] Error 2
[root frodo libunicode-0.4]#

The working parts or the file /usr/include/iconv.h follow.


#ifndef _ICONV_H
#define _ICONV_H        1

#include <features.h>
#define __need_size_t
#include <stddef.h>


__BEGIN_DECLS

/* Identifier for conversion method from one codeset to another.  */
typedef void *iconv_t;


/* Allocate descriptor for code conversion from codeset FROMCODE to
   codeset TOCODE.  */
extern iconv_t iconv_open __P ((__const char *__tocode,
                                __const char *__fromcode));

/* Convert at most *INBYTESLEFT bytes from *INBUF according to the
   code conversion algorithm specified by CD and place up to
   *OUTBYTESLEFT bytes in buffer at *OUTBUF.  */
extern size_t iconv __P ((iconv_t __cd,
                          __const char **__restrict __inbuf,
                          size_t *__restrict __inbytesleft,
                          char **__restrict __outbuf,
                          size_t *__restrict __outbytesleft));

/* Free resources allocated for descriptor CD for code conversion.  */
extern int iconv_close __P ((iconv_t __cd));

__END_DECLS

#endif /* iconv.h */







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]