[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] PATH_WTMP in logwtmp.c
From: |
Michael Geng |
Subject: |
[bug-inetutils] PATH_WTMP in logwtmp.c |
Date: |
Fri, 21 Dec 2007 19:33:01 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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] PATH_WTMP in logwtmp.c,
Michael Geng <=