<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I try to complie zorp-3.0.5.5 with
libzorpll-3.1.0.0.2, and get the following error message: </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/src/zorp-3.0.5.5/lib -I/usr/src/zorp-3.0.5.5 -I -pthread -D_GNU_SOURCE
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include
-I/usr/include/python2.3 -I/usr/include/python2.3/ExtensionClass -O2 -Wall -W -g
-D_GNU_SOURCE -MT packstream.lo -MD -MP -MF .deps/packstream.Tpo -c
packstream.c -fPIC -DPIC -o .libs/packstream.o<BR>packstream.c:47: error:
redefinition of `struct _ZStreamPacket'<BR>packstream.c:56: warning:
redefinition of `ZStreamPacket'<BR>/usr/local/include/zorp/stream.h:113:
warning: `ZStreamPacket' previously declared here<BR>packstream.c:61: error:
conflicting types for
`z_stream_packet_new'<BR>/usr/local/include/zorp/stream.h:115: error: previous
declaration of `z_stream_packet_new'<BR>packstream.c: In function
`z_stream_packet_send':<BR>packstream.c:256: warning: implicit declaration of
function `z_data_dump'<BR>packstream.c: At top level:<BR>packstream.c:751:
warning: missing initializer<BR>packstream.c:751: warning: (near initialization
for `z_stream_packet_funcs.set_child')<BR>packstream.c: In function
`z_stream_packet_new':<BR>packstream.c:768: error: `Z_STREAM_FLAG_READ'
undeclared (first use in this function)<BR>packstream.c:768: error: (Each
undeclared identifier is reported only once<BR>packstream.c:768: error: for each
function it appears in.)<BR>packstream.c:768: error: `Z_STREAM_FLAG_WRITE'
undeclared (first use in this function)<BR>packstream.c:768: warning: passing
arg 3 of `z_stream_new' makes integer from pointer without a
cast<BR>packstream.c:768: error: too many arguments to function
`z_stream_new'<BR>make[3]: *** [packstream.lo] Error 1<BR>make[3]: Leaving
directory `/usr/src/zorp-3.0.5.5/lib'<BR>make[2]: *** [all-recursive] Error
1<BR>make[2]: Leaving directory `/usr/src/zorp-3.0.5.5/lib'<BR>make[1]: ***
[all-recursive] Error 1<BR>make[1]: Leaving directory
`/usr/src/zorp-3.0.5.5'<BR>make: *** [all] Error 2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>//Zhou Li</FONT></DIV></BODY></HTML>