HylaFAX The world's most advanced open source fax server

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

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

a.

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
> out:
> 
> make[3]: Entering directory `/usr/src/hylafax-v4.0pl2-rjc6/faxd'
> /usr/bin/g++        -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././faxd
> -I.././util
>  -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
> updwtmpx(...)'
> make[3]: *** [GettySysV.o] Error 1
> make[3]: Leaving directory `/usr/src/hylafax-v4.0pl2-rjc6/faxd'
> make[2]: *** [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()?
> 
> Thanks,
> Dave
> 
> 

Aidan Van Dyk                                        Create like a god,
aidan@ottawa.com                                   command like a king,
http://www.highrise.ca/                              work like a slave.

   |\^/|       |\^/|       |\^/|       |\^/|       |\^/|       |\^/|
_|\|   |/|_ _|\|   |/|_ _|\|   |/|_ _|\|   |/|_ _|\|   |/|_ _|\|   |/|_
>    C    < >    a    < >    n    < >    a    < >    d    < >    a    <
 >_./|\._<   >_./|\._<   >_./|\._<   >_./|\._<   >_./|\._<   >_./|\._<




Project hosted by iFAX Solutions