HylaFAX The world's
most advanced open source fax server
Re: More compile problems with Linux 2.2
Another way to beat the UTMPX problem is to make sure __USE_GNU is defined
before includeing utmpx.h
On Sun, 16 May 1999, Dave Wreski wrote:
> Hi all. I've managed to get around a few of the compile problems with the
> latest rjc6 beta, but am running into a few others that I can't figure
> make: Entering directory `/usr/src/hylafax-v4.0pl2-rjc6/faxd'
> /usr/bin/g++ -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././faxd
> -I/usr/include -g -O -c GettySysV.c++
> GettySysV.c++:37: redefinition of `struct exit_status'
> /usr/include/bits/utmp.h:49: previous definition here
> GettySysV.c++: In method `void SysVGetty::writeWtmp(struct utmpx *)':
> GettySysV.c++:149: `_PATH_WTMPX' undeclared (first use this function)
> GettySysV.c++:149: (Each undeclared identifier is reported only once
> GettySysV.c++:149: for each function it appears in.)
> GettySysV.c++:149: warning: implicit declaration of function `int
> make: *** [GettySysV.o] Error 1
> make: Leaving directory `/usr/src/hylafax-v4.0pl2-rjc6/faxd'
> make: *** [default] Error 2
> I think I can get around the redefinition problem by commenting out the
> struct exit_status structure, but _PATH_WTMPX doesn't seem to be defined
> in any of the header files... And the implicit definition of updwtmpx()?
Aidan Van Dyk Create like a god,
email@example.com command like a king,
http://www.highrise.ca/ work like a slave.
|\^/| |\^/| |\^/| |\^/| |\^/| |\^/|
_|\| |/|_ _|\| |/|_ _|\| |/|_ _|\| |/|_ _|\| |/|_ _|\| |/|_
> C < > a < > n < > a < > d < > a <
>_./|\._< >_./|\._< >_./|\._< >_./|\._< >_./|\._< >_./|\._<