Re: unable to make libunicode-0.4



Sorry for not supplying enough info the first time around.

Hope the  following helps a little.


I am running Red Hat 6.2

Here are some of the RPMs that I have installed.

[shelton frodo shelton]$ rpm -q glib glibc egcs
glib-1.2.6-3
glibc-2.1.3-21
egcs-1.1.2-30

These are the tarballs that I have either already installed or are going to
install.

gnumeric-0.57.tar.gz
gal-0.1.tar.gz
imlib-1.9.8.1.tar.gz
gdk-pixbuf-0.9.0.tar.gz
libglade-0.14.tar.gz
glade-0.5.9.tar.gz
glademm-0.5.9.tar.gz
libole2-0.1.6.tar.gz
glib-1.2.8.tar.gz
libunicode-0.4.gnome.tar.gz
libxml2-2.2.5.tar.gz
gnome-core-1.2.2.1.tar.gz
gnome-libs-1.2.5.tar.gz
gnome-print-0.24.tar.gz


here are the file from line 19 on that the compile is failing at.   The
first 18 lines are just the license.

    19 #ifndef _ICONV_H
    20 #define _ICONV_H 1
    21
    22 #include <features.h>
    23 #define __need_size_t
    24 #include <stddef.h>
    25
    26
    27 __BEGIN_DECLS
    28
    29 /* Identifier for conversion method from one codeset to another.  */
    30 typedef void *iconv_t;
    31
    32
    33 /* Allocate descriptor for code conversion from codeset FROMCODE to
    34    codeset TOCODE.  */
    35 extern iconv_t iconv_open __P ((__const char *__tocode,
    36     __const char *__fromcode));
    37
    38 /* Convert at most *INBYTESLEFT bytes from *INBUF according to the
    39    code conversion algorithm specified by CD and place up to
    40    *OUTBYTESLEFT bytes in buffer at *OUTBUF.  */
    41 extern size_t iconv __P ((iconv_t __cd,
    42      __const char **__restrict __inbuf,
    43      size_t *__restrict __inbytesleft,
    44      char **__restrict __outbuf,
    45      size_t *__restrict __outbytesleft));
    46
    47 /* Free resources allocated for descriptor CD for code conversion.
*/
    48 extern int iconv_close __P ((iconv_t __cd));
    49
    50 __END_DECLS
    51
    52 #endif /* iconv.h */


Jody Goldberg wrote:

On Sat, Oct 21, 2000 at 03:24:58PM -0400, Phillip J Shelton wrote:
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'

1) I am at a loss to explain a syntax error at line 42 when the file
   you sent us has 33 lines.   Is there more ?

2) Please supply more information.  The compiler looks like gcc but
   without information re: OS and platform it is hard to guess.

3) Make sure you are using libunicode-0.4.gnome it adds some
   necessary shell scripts for use with gnome-config

Hope this helps,
    Jody






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