[zorp] bug ?

Zhou Li zhou.li at ca-jc.com
Sat Aug 13 05:10:49 CEST 2005

I try to complie zorp- with libzorpll-, and get the following error message: 

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/src/zorp- -I/usr/src/zorp- -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
packstream.c:47: error: redefinition of `struct _ZStreamPacket'
packstream.c:56: warning: redefinition of `ZStreamPacket'
/usr/local/include/zorp/stream.h:113: warning: `ZStreamPacket' previously declared here
packstream.c:61: error: conflicting types for `z_stream_packet_new'
/usr/local/include/zorp/stream.h:115: error: previous declaration of `z_stream_packet_new'
packstream.c: In function `z_stream_packet_send':
packstream.c:256: warning: implicit declaration of function `z_data_dump'
packstream.c: At top level:
packstream.c:751: warning: missing initializer
packstream.c:751: warning: (near initialization for `z_stream_packet_funcs.set_child')
packstream.c: In function `z_stream_packet_new':
packstream.c:768: error: `Z_STREAM_FLAG_READ' undeclared (first use in this function)
packstream.c:768: error: (Each undeclared identifier is reported only once
packstream.c:768: error: for each function it appears in.)
packstream.c:768: error: `Z_STREAM_FLAG_WRITE' undeclared (first use in this function)
packstream.c:768: warning: passing arg 3 of `z_stream_new' makes integer from pointer without a cast
packstream.c:768: error: too many arguments to function `z_stream_new'
make[3]: *** [packstream.lo] Error 1
make[3]: Leaving directory `/usr/src/zorp-'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/zorp-'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zorp-'
make: *** [all] Error 2

//Zhou Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/zorp/attachments/20050813/f3c21572/attachment.htm

More information about the zorp mailing list