[zorp] z_stream_new

zorp@lists.balabit.hu zorp@lists.balabit.hu
Thu, 22 Jan 2004 12:50:16 +1100 (EST)


I answered my own question... I used the newer release and was fixed.

thanks,
pascal


> Hi guys,
>
> I thought I give your software a try and started compiling it. The
> configuration was running okay.. but when I do a make I get following
> error:
>
>
> make[3]: Entering directory `/tmp/zorp-2.0.7/lib'
> /bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I/tmp/zorp-2.0.7/lib -I/tmp/zorp-2.0.7  -I/usr/include/python2.1
> -I/usr/include/python2.1/ExtensionClass/ -pthread
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -pthr=
ead
> -D_GNU_SOURCE -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include -I/usr/local/include    -O2  -Wall -W=
 -g
> -D_GNU_SOURCE -c proxy.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/tmp/zorp-2.0.7/lib -I/tmp/zorp-2.0.=
7
> -I/usr/include/python2.1 -I/usr/include/python2.1/ExtensionClass/ -pthr=
ead
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -pthrea=
d
> -D_GNU_SOURCE -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include -I/usr/local/include -O2 -Wall -W -g
> -D_GNU_SOURCE -c proxy.c  -fPIC -DPIC -o proxy.lo
> proxy.c: In function `z_proxy_stack_proxy':
> proxy.c:515: warning: passing arg 1 of `z_stream_new' makes pointer fro=
m
> integer without a cast
> proxy.c:515: error: too few arguments to function `z_stream_new'
> proxy.c:519: warning: passing arg 1 of `z_stream_new' makes pointer fro=
m
> integer without a cast
> proxy.c:519: error: too few arguments to function `z_stream_new'
> proxy.c: In function `z_stacked_proxy_new':
> proxy.c:634: warning: passing arg 1 of `z_stream_new' makes pointer fro=
m
> integer without a cast
> proxy.c:634: error: too few arguments to function `z_stream_new'
> proxy.c:637: warning: passing arg 1 of `z_stream_new' makes pointer fro=
m
> integer without a cast
> proxy.c:637: error: too few arguments to function `z_stream_new'
> make[3]: *** [proxy.lo] Error 1
>
>
> I checked then the library file
> libzorpll-2.1.1.10.0+20040106+2213/src/stream.c
> and the declaration of the z_stream_new function requires 4 arguments.
> -->z_stream_new(ZClass *class, gchar *name, ZStream *child, gint
> umbrella_flags) <--
>
> But in the zorp-2.0.7/lib/proxy.c file there are only 2 parameters.
> -->tmpstream =3D z_stream_new(uppair[1], "");<--
>
>
> So my guess is that I use the wrong libzorg library but thats just a
> guess?
> I hope you can help me out with this one.
>
> I am using on Suse9.0, python2.3 / 2.1, zorp-2.0.7,
> libzorpll-2.1.1.10.0+20040106+2213..
>
> Thanks,
> pascal
>
> _______________________________________________
> zorp mailing list
> zorp@lists.balabit.hu
> http://lists.balabit.hu/mailman/listinfo/zorp
>
>