Hi Anne-Sophie, Many thanks for the hint. I recompiled without ZLIB and now I am able to read PCAP files again!
This seems to be an old and known bug in zlib. I find references to it in ethereal-dev threads of January 2000 (Subject: zlib support issue)... BTW there's a new ZLIB available (1.2.1). I'll try to see whether it fixes the cygwin zlib issues... Regards, Olivier | -----Original Message----- | From: Harnois Anne-Sophie | | Hello, | Did you enable the "with-zlib" option? I have the feeling | that I had the | same error when reading a capture file. | | When I built tethereal(0.9.15) with cygwin and with-zlib | (1.1.4), I met | problem with gzseek function : | It seemed to me that gzseek(...,SEEK_CUR) acted as | gzseek(...,SEEK_SET). | | By disabling zlib option, that was OK. | | Best regards, | Anne-Sophie. | | | | > -----Original Message----- | > From: Biot Olivier [mailto:[EMAIL PROTECTED] | > Sent: vendredi 21 novembre 2003 22:41 | > To: Ethereal-Dev ([EMAIL PROTECTED]) | > Subject: [Ethereal-dev] Can't read libpcap files with a CygWin build | > | > | > Hi list, | > | > Does anybody succeed in reading libpcap files with | > [t]ethereal built on | > cygwin? I always get errors like a packet size of 4229955592 | > (0xFC200008) | > and only one single packet being displayed as LLC. | > If I compare what is being read with the CygWin Ethereal | and the Win32 | > Ethereal, then I observe that there is a 4-byte offset | > (cygwin starts the | > packet 4 bytes later than Win32). | > | > I compile with the WinPCAP 3 header files and libraries. | > | > Regards, | > | > Olivier | > | > _______________________________________________ | > Ethereal-dev mailing list | > [EMAIL PROTECTED] | > http://www.ethereal.com/mailman/listinfo/ethereal-dev | > |