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



Hi Dave,

At 08:22 PM 5/16/99 -0400, Dave Wreski wrote:
>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()?

utmpx problems......i sort of knew this was coming with the new glibc ,
hylafax seems to have trouble with utmpx on many platforms.

As a quick fix in config.site try adding a line like:
UTMP=utmp

to disable the interface.

PS Did the previous configure changes, and the hack to Dispatcher.c++ work?


- Robert




Project hosted by iFAX Solutions