HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: hfaxd segmentation fault
Hi Vinay,
>"HylaFAXServer.h", line 156.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,DIR*)"
>will as
>sume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance.
Looking at the definition of HylaFAXServer just below:
class HylaFAXServer : public Syslog, public FaxConfig, public IOHandler {
That's 3 base classes == multiple inheritance.
The situation is sort of chicken and egg the definition of the SpoolDir
struct needs HylaFAXServer and the definition of HylaFAXServer needs SpoolDir.
You could try moving the definition of SpoolDir(cutting and pasting) to
below that of HylaFAXServer at the bottom of the header file. and adding a
line where the definition of SpoolDir was:
struct SpoolDir;
to tell the compiler it is a valid stuct which is defined later.
PS No guarantees!!!!!
- Robert
At 09:54 5/05/98 -0700, Vinay Doma wrote:
>Hi,
>Thanks Nico, Robert and Steve for your help earlier.
>I really appreciate it. Robert's suggestion seems to
>fix the problem. But now for another one...
>
>I thought I had managed to compile hylaFAX, but hfaxd
>doesn't run. I always get a segmentation fault when I
>try to run it. I've tried to re-make it, but I get
>the following warnings but no errors. I'm using xlC
>on AIX4.2. Any ideas??
>
>Thanks
>Vinay Doma
>vdoma@rocketmail.com
>
>
>Script command is started on Tue May 5 11:14:50 CDT
>1998.# make
>make[1]: Entering directory
>`/common/software/hylafax-v4.0pl2/hfaxd'
>make[2]: Entering directory
>`/common/software/hylafax-v4.0pl2/hfaxd'
>make[2]: Nothing to be done for `_quiet.c++dependtime'.
>make[2]: Leaving directory
>`/common/software/hylafax-v4.0pl2/hfaxd'
>make[1]: Leaving directory
>`/common/software/hylafax-v4.0pl2/hfaxd'
>make[1]: Entering directory
>`/common/software/hylafax-v4.0pl2/hfaxd'
>/bin/xlC -DOLDPROTO_SUPPORT=1 -DSNPP_SUPPORT=1
>-I.././faxd -I.././zlib -D__
>ANSI_CPP__ -I. -I.. -I.././hfaxd -I.././util
>-I/usr/local/include -I.././regex -
>qlanglvl=compat -I/usr/lpp/xlC/include -I/usr/include
>-g -O -+ -c Admin.c++
>"HylaFAXServer.h", line 156.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,DIR*)"
>will as
>sume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance.
>"HylaFAXServer.h", line 157.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,const
>char*,co
>nst stat&)" will assume "HylaFAXServer" has no
>virtual bases and does not use mu
>ltiple inheritance.
>"HylaFAXServer.h", line 159.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,DIR*)"
>will as
>sume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance.
>"HylaFAXServer.h", line 157.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,const
>char*,co
>nst stat&)" will assume "HylaFAXServer" has no
>virtual bases and does not use multiple inheritance.
>"HylaFAXServer.h", line 159.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,DIR*)"
>will as
>sume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance.
>"HylaFAXServer.h", line 160.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,const
>char*,co
>nst stat&)" will assume "HylaFAXServer" has no
>virtual bases and does not use multiple inheritance.
>"HylaFAXServer.h", line 162.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type "void(HylaFAXServer::*)(const
>SpoolDir&,const char*)" will a
>ssume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance
>.
>"HylaFAXServer.h", line 163.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type "void(HylaFAXServer::*)(const
>SpoolDir&,const char*)" will a
>ssume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance
>.
>"HylaFAXServer.h", line 164.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type "void(HylaFAXServer::*)(const
>SpoolDir&,const char*)" will a
>ssume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance
>.
>"HylaFAXServer.h", line 163.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type "void(HylaFAXServer::*)(const
>SpoolDir&,const char*)" will a
>ssume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance
>.
>"HylaFAXServer.h", line 164.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type "void(HylaFAXServer::*)(const
>SpoolDir&,const char*)" will a
>ssume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance
>.
>/bin/xlC -DOLDPROTO_SUPPORT=1 -DSNPP_SUPPORT=1
>-I.././faxd -I.././zlib -D__
>ANSI_CPP__ -I. -I.. -I.././hfaxd -I.././util
>-I/usr/local/include -I.././regex -
>qlanglvl=compat -I/usr/lpp/xlC/include -I/usr/include
>-g -O -+ -c FIFO.c++
>"HylaFAXServer.h", line 156.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,DIR*)"
>will as
>sume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance.
>"HylaFAXServer.h", line 157.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,const
>char*,co
>nst stat&)" will assume "HylaFAXServer" has no
>virtual bases and does not use mu
>ltiple inheritance.
>"HylaFAXServer.h", line 159.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,DIR*)"
>will as
>sume "HylaFAXServer" has no virtual bases and does
>not use multiple inheritance.
>"HylaFAXServer.h", line 157.26: 1540-398: (W)
>"HylaFAXServer" is undefined. Eve
>ry variable of type
>"void(HylaFAXServer::*)(FILE*,const SpoolDir&,const
>char*,co
>nst stat&)" will assume "HylaFAXServer" has no
>virtual bases and does not use mu
>ltiple inheritance.
>
>
>
>
>
>_________________________________________________________
>DO YOU YAHOO!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>