Re: [xml] libxml2-2.7.1 compiling error under Solaris/GCC



Looks like u need to include  hash.c

On Mon, Sep 29, 2008 at 12:06 PM, Stanley Laufer <slaufer slis sjsu edu> wrote:
Greetings,

I'm compiling 2.7.1 under Solaris 9 using GCC 3.4.6 and I'm running
into the error included below.  This seems to possibly be related to
the issue described in the following thread:

   http://mail.gnome.org/archives/xml/2008-September/msg00116.html

Does anyone know of a workaround for this issue?  Thanks in advance
for any feedback.  Here is the error:

dict.c:276: error: parse error before "xmlDictComputeBigKey"
dict.c:276: warning: return type defaults to `int'
dict.c:276: warning: no previous prototype for 'xmlDictComputeBigKey'
dict.c: In function `xmlDictComputeBigKey':
dict.c:277: error: `uint32_t' undeclared (first use in this function)
dict.c:277: error: (Each undeclared identifier is reported only once
dict.c:277: error: for each function it appears in.)
dict.c:277: error: parse error before "hash"
dict.c:282: error: `hash' undeclared (first use in this function)
dict.c: In function `xmlDictComputeBigQKey':
dict.c:311: error: `uint32_t' undeclared (first use in this function)
dict.c:311: error: parse error before "hash"
dict.c:314: error: `hash' undeclared (first use in this function)
dict.c: In function `xmlDictGrow':
dict.c:572: warning: signed and unsigned type in conditional _expression_
dict.c:615: warning: signed and unsigned type in conditional _expression_
dict.c: In function `xmlDictLookup':
dict.c:736: warning: signed and unsigned type in conditional _expression_
dict.c:775: warning: signed and unsigned type in conditional _expression_
dict.c: In function `xmlDictExists':
dict.c:867: warning: signed and unsigned type in conditional _expression_
dict.c:906: warning: signed and unsigned type in conditional _expression_
dict.c: In function `xmlDictQLookup':




Stanley E. Laufer
Network Administrator
School of Library and Information Science
San Jose State University

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml



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