Hi,

I downloaded the inetutils sources from cvs. Unfortunately it fails to build
with the following message:

make[2]: Entering directory 
`/home/linux/tmp/inetutils-cvs-12-19-2007/libinetutils'
gcc -DHAVE_CONFIG_H -I. -I.. -I../headers -I../lib -I../lib 
-DPATH_WTMPX=\"/usr/local/var/log/wtmpx\" -DPATH_TTY_PFX=\"/dev/\" 
-DPATH_DEVNULL=\"/dev/null\" -DPATH_HEQUIV=\"/etc/hosts.equiv\"    -g -O2 -MT 
logwtmpko.o -MD -MP -MF .deps/logwtmpko.Tpo -c -o logwtmpko.o logwtmpko.c
In file included from logwtmpko.c:2:
logwtmp.c: In function '_logwtmp':
logwtmp.c:70: error: 'PATH_WTMP' undeclared (first use in this function)
logwtmp.c:70: error: (Each undeclared identifier is reported only once
logwtmp.c:70: error: for each function it appears in.)

What am I doing wrong? config.log shows

#define PATH_WTMP "/var/log/wtmp"
#define PATH_WTMPX "$(localstatedir)/log/wtmpx"

Shouldn't logwtmp.c be compiled with -DPATH_WTMP set instead of -DPATH_WTMPX
or PATH_WTMP in logwtmp.c be replaced with PATH_WTMPX?

Michael


_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to