Marco d'Itri writes: > +ifdef HAVE_ZLIB > +LIBS += -lz > +else > +OBJS += zlib.o > +endif Are you sure that the Z_BLOCK value of the flush parameter to inflate works the same as the Z_PACKET_FLUSH value that I added to zlib.c? Possibly it does, but there could be differences. (Note that both constants have the value 5.) Also it seems a bit dangerous to build deflate.o against the zlib.h in pppd but link it against the system zlib, which has a longer z_stream definition. If you use the system zlib.h you will hit the Z_PACKET_FLUSH vs. Z_BLOCK thing of course. Paul. - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html