Ethereal-users: [Ethereal-users] Compiling prefs.c

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

From: Joshua Chang <jchang@xxxxxxxx>
Date: Sun, 24 Jun 2001 08:52:42 -0400
I am using a Borland C++ Builder 4 compiler in Windows 2000.

I'm getting an error that states that DATAFILE_DIR is an undefined symbol pointing to line 624 in prefs.c.
	 if ((pf = fopen(GPF_PATH, "r")) != NULL) {

GPF_PATH uses DATAFILE_DIR much earlier in line 71
	#define GPF_PATH	DATAFILE_DIR "/ethereal.conf".

Does anybody know what could be the error?