ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] no success building ethereal on cygwin/w2k

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

From: Susan M Lockwood <Susan_M_Lockwood@xxxxxxxxxxxx>
Date: Thu, 24 Jun 2004 17:17:12 -0700

Hi, Folks -

I'm trying to make Ethereal in a cygwin environment on W2K, following the steps listed in the Readme.win32 bundled with the source download.

Even after applying several of the suggested patches, I'm running into errors that, it seems, others on the dev_list have encountered. I haven't found a workable solution yet.

Anybody have a handy (perhaps obvious) hint about the following?

$ make

fails with the following <snipped> complaints about unrefined refs:

gtk/libui.a(packet_list.o)(.text+0x14b7): In function `packet_list_get_sort_column':
/cygdrive/c/ethereal/gtk/packet_list.c:702: undefined reference to `_eth_clist_get_type'
gtk/libui.a(packet_list.o)(.text+0x42a): In function `packet_list_click_column_cb':
/cygdrive/c/ethereal/gtk/packet_list.c:250: undefined reference to `_eth_clist_sort'
vals by linking to __imp__nt_cmd_vals (auto-import)
Info: resolving _vals_pdu_type by linking to __imp__vals_pdu_type (auto-import)
Info: resolving _vals_status by linking to __imp__vals_status (auto-import)
collect2: ld returned 1 exit status
make[2]: *** [ethereal.exe] Error 1
make[2]: Leaving directory `/cygdrive/c/ethereal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/ethereal'
make: *** [all] Error 2

... and of course,

$ make ethereal.exe

fails with <snipped> complaints such as these...

gtk/libui.a(packet_list.o)(.text+0x149a):/cygdrive/c/ethereal/gtk/packet_list.c:695: undefined reference to `_eth_clist_
select_row'
gtk/libui.a(packet_list.o)(.text+0x14b7): In function `packet_list_get_sort_column':
/cygdrive/c/ethereal/gtk/packet_list.c:702: undefined reference to `_eth_clist_get_type'
gtk/libui.a(packet_list.o)(.text+0x42a): In function `packet_list_click_column_cb':
/cygdrive/c/ethereal/gtk/packet_list.c:250: undefined reference to `_eth_clist_sort'
vals by linking to __imp__nt_cmd_vals (auto-import)
Info: resolving _vals_pdu_type by linking to __imp__vals_pdu_type (auto-import)
Info: resolving _vals_status by linking to __imp__vals_status (auto-import)
collect2: ld returned 1 exit status
make: *** [ethereal.exe] Error 1

Any help appreciated, and I'm still combing the list for other clues.

Thanks,

- Susan