Ethereal-dev: Re: [Ethereal-dev] [CYGWIN]Build hints

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Loïc Minier <lool+ethereal@xxxxxxxxxx>
Date: Fri, 14 Nov 2003 12:04:20 +0100
Lo�c Minier <lool+ethereal@xxxxxxxxxx> - Fri, Nov 14, 2003:

>  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".

 I don't understand what happened on my first build, but now I can build
 tethereal.exe without patching it...

   However, the binary now outputs:
 $ ./tethereal.exe -D
 (process:3264): GLib-CRITICAL **: file gdir.c: line 67 (g_dir_open): assertion `path != NULL' failed
 1. \Device\[...]

 FYI, here's the command line used to build the tethereal.o object:
 gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I./wiretap -I/usr/local/include
 -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include
 -pthreads -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
 -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
 -I/usr/lib/glib-2.0/include -c tethereal.c

 (so this will be a cygwin build, which we might not want, we want a
 native win32 build, right?)

   A note for the pluginS, when trying to configure with plugins, the
 build fails on "multiple definitions of the _version symbol used in
 plugin init; Because this happens at link time, I think there's little
 effort to get plugins working under cygwin! I hope I'll have time to
 check this on monday.

 Sorry I am out of time (already late), nice week-end list.

-- 
Lo�c Minier <lool@xxxxxxxx>