bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] PATH_WTMP in logwtmp.c


From: Jeff Bailey
Subject: Re: [bug-inetutils] PATH_WTMP in logwtmp.c
Date: Fri, 21 Dec 2007 10:50:34 -0800

What platform are you running on, btw?

Check to see if that define is in config.h, then check to make sure
config.h is getting pulled in.

2007/12/21, Michael Geng <address@hidden>:
> 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-inetutils
>


-- 
Jeff Bailey - http://www.raspberryginger.com/jbailey/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]