Ethereal-dev: [Ethereal-dev] epan dependencies

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

From: "Gisle Vanem" <giva@xxxxxxxxx>
Date: Sat, 21 Feb 2004 18:06:25 +0100
While linking dftest.exe with MingW:

packet-diameter.o(.text+0x48c7): In function `xmlParseFilePush':
G:/MingW32/src/inet/Ethereal-0.10.1/packet-diameter.c:286: undefined reference to `report_open_failure'

epan/ethereal.a(plugins.o)(.data+0x3e8): In function `plugins_scan_dir':
G:/MingW32/src/inet/Ethereal-0.10.1/epan/plugins.c:226: undefined reference to `report_open_failure'
epan/ethereal.a(plugins.o)(.data+0x3ec):G:/MingW32/src/inet/Ethereal-0.10.1/epan/plugins.c:226: 
undefined reference to `report_read_failure'

It's a ugly design when a static lib all of a sudden depends on modules using
it (alert_box.c which also requires GTK). I thought epan should be independant
of any GUI. I assume the fix is to not call `report_open_failure', but something 
else.

--gv