Ethereal-dev: [Ethereal-dev] ethereal plugins on cygwin

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

From: "Parul Singla" <parul@xxxxxxxxxxxxxx>
Date: Tue, 14 Oct 2003 15:17:52 -0700
Hi All,
 Has anyone been able to get ethereal-0.9.15/plugins compiled over cygwin?
If yes, did you encounter the proble like:
plz respond with a solution. I'm having a hard time figuring the solution
out.

/***************
plugins/artnet/.libs/artnet.a(packet-artnet.o)(.text+0x4ed0):/cygdrive/c/Eth
ereal_Packages/ethereal-0.9.1
5/plugins/artnet/packet-artnet.c:2597: first defined here
plugins/pcli/.libs/pcli.a(packet-pcli.o)(.text+0x3b0): In function
`plugin_init':
/cygdrive/c/Ethereal_Packages/ethereal-0.9.15/plugins/pcli/packet-pcli.c:196
: multiple definition of `_plugin_init'
plugins/artnet/.libs/artnet.a(packet-artnet.o)(.text+0x4ee0):/cygdrive/c/Eth
ereal_Packages/ethereal-0.9.15/plugins/artnet/packet-artnet.c:2610: first
defined here
plugins/pcli/.libs/pcli.a(packet-pcli.o)(.text+0x0):packet-pcli.c: multiple
definition of `_version'
plugins/artnet/.libs/artnet.a(packet-artnet.o)(.text+0x0):packet-artnet.c:
first defined here
plugins/rtnet/.libs/rtnet.a(packet-rtnet.o)(.text+0x1290): In function
`plugin_reg_handoff':
/cygdrive/c/Ethereal_Packages/ethereal-0.9.15/plugins/rtnet/packet-rtnet.c:7
30: multiple definition of `_plugin_reg_handoff'
plugins/artnet/.libs/artnet.a(packet-artnet.o)(.text+0x4ed0):/cygdrive/c/Eth
ereal_Packages/ethereal-0.9.15/plugins/artnet/packet-artnet.c:2597: first
defined here
plugins/rtnet/.libs/rtnet.a(packet-rtnet.o)(.text+0x12a0): In function
`plugin_init':
/cygdrive/c/Ethereal_Packages/ethereal-0.9.15/plugins/rtnet/packet-rtnet.c:7
43: multiple definition of `_plugin_init'
plugins/artnet/.libs/artnet.a(packet-artnet.o)(.text+0x4ee0):/cygdrive/c/Eth
ereal_Packages/ethereal-0.9.1
5/plugins/artnet/packet-artnet.c:2610: first defined here
plugins/rtnet/.libs/rtnet.a(packet-rtnet.o)(.text+0x0):packet-rtnet.c:
multiple definition of `_version'
plugins/artnet/.libs/artnet.a(packet-artnet.o)(.text+0x0):packet-artnet.c:
first defined here
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)
collect2: ld returned 1 exit status
rm -f .libs/ethereal.exeS.o
make: *** [ethereal.exe] Error 1
/***************************************************************************
*********/

Thanks and Regards,
-Parul


----- Original Message -----
From: "Biot Olivier" <Olivier.Biot@xxxxxxxxxxx>
To: "'Parul Singla'" <parul@xxxxxxxxxxxxxx>
Cc: <ethereal-dev@xxxxxxxxxxxx>
Sent: Friday, October 10, 2003 1:43 AM
Subject: RE: [Ethereal-dev] compiling Ethereal on Pure cygwin


> Hi Parul,
>
> I never succeeded in compiling libpcap under cygwin, and now I'm used to
> develop with CygWin and capture with a released Ethereal version on Win32
> :^~
> There are some clues in README.win32 for cygwin, and I also posted build
> instructions for using GTK-2 in cygwin by means of precompiled packages
> found on the Internet. See:
>
> http://www.ethereal.com/lists/ethereal-dev/200309/msg00370.html (install
> part 1)
> http://www.ethereal.com/lists/ethereal-dev/200309/msg00684.html (install
> part 2)
> http://www.ethereal.com/lists/ethereal-dev/200309/msg00406.html (font
setup)
>
> Regards,
>
> Olivier
>
> | -----Original Message-----
> | From: Parul Singla
> | Subject: [Ethereal-dev] compiling Ethereal on Pure cygwin
> |
> |
> | Hi,
> |  I'm trying to compile ethereal-0.9.15 under "pure cygwin"
> | and have followed
> | the instructions as indicated on:
> | http://www.csie.nctu.edu.tw/~smhuang/02build_ethereal.html
> |
> | I have all the packages which the reference mentions and
> | installing them
> | exactly the way the person suggests. Apart from during glib-1.2.10 and
> | gtk+1.2.10 I do not use CFLAGS=-0.2
> | rather I just do a ./configure, make and make install.. ( all
> | this seems to
> | be OK)
> |
> | The problem comes when I try and compile ethereal-0.9.15. I just say:
> |
> | ./configure
> |
> | and it complains of absence of "pcap.h". I checked that
> | "pcap.h" was present
> | in "/usr/include" and also i copied pcap.h to
> | "/usr/local/include" .. just
> | in-case.. but the problem still persists.
> |
> | Any suggestions? I need to use pcap.h
> |
> | Thanks and Regards,
> | -Parul