I try to complie zorp-3.0.5.5 with libzorpll-3.1.0.0.2, and get the following error message: 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 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-3.0.5.5/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/zorp-3.0.5.5/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/zorp-3.0.5.5' make: *** [all] Error 2 //Zhou Li
On Sat, 2005-08-13 at 11:10 +0800, Zhou Li wrote:
I try to complie zorp-3.0.5.5 with libzorpll-3.1.0.0.2, and get the following error message:
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 packstream.c:47: error: redefinition of `struct _ZStreamPacket'
Our version number policy reserves the first two number of version numbers to identify the branch. As we do not maintain compatibility of our libraries across branches you have to ensure that Zorp is compiled against a libzorpll in its own branch. This means that you need libzorpll 3.0.x.x for Zorp 3.0.x libzorpll 3.1 is going to be needed by the upcoming Zorp 3.1 For more information on our version number policy, please check: http://www.balabit.com/products/zorp/develinfo/version_policy.bbq Although it describes our commercial versioning scheme, it applies to Zorp GPL as well. -- Bazsi
participants (2)
-
Balazs Scheidler
-
Zhou Li