HylaFAX The world's most advanced open source fax server

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

[hylafax-users] hylafax-v4.0pl2 Build problems



Hi!

I'm certainly experiencing some problems with compiling hylafax-v4.0pl2
on a RedHat 6.1.

The details of the system are:

uname -a
Linux rincewind.netway.at 2.4.0-test3 #6 SMP Tue Jul 18 16:23:58 CEST
2000 i686 unknown
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

I seem to be using libc-2.1.2 and libg++-2.7.2

./configure seems to run fine, but then I had to remove manually some
prototypes from port.h, namely mktemp(), mkstemp() and getpass(). In
order to get over that:
/usr/bin/gcc      -I.././zlib                     -D__ANSI_CPP__ -I.
-I.. -I.././util -I.././util -I/usr/local/include -I.././regex -g -O -x
c++ -c Dispatcher.c++
Dispatcher.c++: In method `fxBool FdMask::anySet() const':
Dispatcher.c++:67: `fds_bits' undeclared (first use this function)
Dispatcher.c++:67: (Each undeclared identifier is reported only once
Dispatcher.c++:67: for each function it appears in.)
Dispatcher.c++: In method `int FdMask::numSet() const':
Dispatcher.c++:78: confused by earlier errors, bailing out
make[1]: *** [Dispatcher.o] Error 1
make[1]: Leaving directory `/opt/hylafax/hylafax-v4.0pl2/util'
make: *** [default] Error 2

I also inserted the line '#define fds_bits __fds_bits' into util/Sys.h.

But then 'make' comes to a grinding halt with the following messages:

make[1]: Entering directory `/opt/hylafax/hylafax-v4.0pl2/util'
make[2]: Entering directory `/opt/hylafax/hylafax-v4.0pl2/util'
make[2]: Nothing to be done for `_quiet.c++dependtime'.
make[2]: Leaving directory `/opt/hylafax/hylafax-v4.0pl2/util'
make[2]: Entering directory `/opt/hylafax/hylafax-v4.0pl2/util'
make[2]: Nothing to be done for `_quiet.cdependtime'.
make[2]: Leaving directory `/opt/hylafax/hylafax-v4.0pl2/util'
make[1]: Leaving directory `/opt/hylafax/hylafax-v4.0pl2/util'
make[1]: Entering directory `/opt/hylafax/hylafax-v4.0pl2/util'
/usr/bin/gcc      -I.././zlib                     -D__ANSI_CPP__ -I.
-I.. -I.././util -I.././util -I/usr/local/include -I.././regex -g -O -x
c++ -c SendFaxJob.c++
SendFaxJob.c++: In method `fxBool SendFaxJob::createJob(class
SendFaxClient &, class fxStr &)':
SendFaxJob.c++:499: no matching function for call to
`SendFaxClient::sendZData (int &, fxBool (FaxClient::)(fxStr &, fxStr
&), fxStr &, fxStr &)'
FaxClient.h:273: candidates are: FaxClient::sendZData(int, fxBool
(FaxClient::*)(fxStr &, fxStr &), fxStr &, fxStr &)
make[1]: *** [SendFaxJob.o] Error 1
make[1]: Leaving directory `/opt/hylafax/hylafax-v4.0pl2/util'
make: *** [default] Error 2

And there I'm rather helpless, being not much of a C++-Programmer.
Perhaps someone out there got hylafax up and running from source
distribution on a similar system and could advice me!

TIA,

Heinz


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions