[ First of all, sorry for this first shot reports, thay were quite incomplete, and I knew that I did not complete the bug-research effort when I posted. I am just before leaving for the week-end (I'll send photos ;) and I was kind of asleep-at-work yesterday, please bear with me ]
Guy Harris <[EMAIL PROTECTED]> - Thu, Nov 13, 2003: > >-#ifdef HAVE_UNISTD_H > > #include <unistd.h> > >-#endif > The configure script is apparently not working on Cygwin, as you > presumably have <unistd.h> (otherwise the #include wouldn't work), but > it's not setting HAVE_UNISTD_H. I just checked my config.h (which I did not do last time). It seems everything like PACKAGE, VERSION etc. is well inside, as well as HAVE_UNISTD_H. The problem seems to be in the conditionnal include "HAVE_CONFIG_H" at the beginning of tethereal.c. I took a fresh tethereal.c, and tried to build but "cannot unlink `tethereal.exe': Permission denied". This seems to be the consequence of a bug I spotted yesterday and was about to report: My Cygwin-built tethereal is hanging when I try to listen on my wifi card. Listening on the network card is OK, and tethereal exits when I SIGHUP (^C) but not when I try listening on the wifi. With a regular tethereal.exe, it dies nicely (but I never see nay packet on the interface). I guess this is somehow winpcap related. > >-#ifdef NEED_GETOPT_H > > #include "getopt.h" > >-#endif > >-#ifdef _WIN32 > > #include "capture-wpcap.h" > >-#endif I fear I did not see this defines in the config.h, and since I had to do this on the first time, I guess it will be the same now. I'll tell you after my reboot. -- Loïc Minier <[EMAIL PROTECTED]>