HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Compiling Hylafax 4.1.2 on Tru64 5.1




Hi,

Well I eventually gave up getting Hylafax 4.1.2 (or CVS) to compile with 
GCC, and got hold of a copy of Compaq's C++ compiler instead (CXX).

This compiled successfully with the following tweaks.

In the configure script make sure any references to dec-osf-4 are changed 
to dec-osf-5, this should be fixed in the CVS version.

Secondly port.h has 3 prototypes that are not required after you have 
configured.  These need to be deleted.
Look in the port.h file and if present delete any prototypes for 
connect(), getsockopt(), setsockopt().

I'm guessing it may be possible to tweak configure to deal with the 
second issue, but I wasn't entirely sure what needed doing...


Regards,

Rob Leadbeater

 -----Original Message-----
From: rob.leadbeater@lynx.co.uk [SMTP:rob.leadbeater@lynx.co.uk]
Sent: Wednesday, June 26, 2002 1:30 PM
To: faxguy@deanox.com
Cc: hylafax-devel@hylafax.org; hylafax-users@hylafax.org
Subject: Re: [hylafax-users] [hylafax-devel] Compiling Hylafax 4.
Hi,

I've managed to get a step further with assistance from the Tru64
manager's list archives.

A similar compiler problem in scan_region for MySQL showed that changing
the optimization to -O0 would get it to compile.
Doing likewise for DestControl.c++ also worked here...

Now I'm stuck on a linker problem though :-(

= faxd
/usr/local/cygnus/tru64-010710/H-alphaev56-dec-osf5.1/bin/g++
 -D__ANSI_CP
P__ -I. -I.. -I.././regex -I.././faxd  -I.././util -I/usr/local/include
 -g -O -o
 faxsend faxSendApp.o libfaxserver.a   -L/usr/local/lib
../util/libfaxutil.a -L
/usr/local/lib -ltiff -L/usr/local/lib -lz -L../regex -lregex
../port/libport.a
 -lutil -lm
/usr/bin/ld:
Unresolved:
non-virtual thunk to ModemServer::timerExpired(long, long)
non-virtual thunk to FaxModem::badDecodingState(char const*, int)
non-virtual thunk to FaxModem::nextByte()
non-virtual thunk to FaxModem::invalidCode(char const*, int)
non-virtual thunk to FaxModem::badPixelCount(char const*, int, int)
non-virtual thunk to Class20Modem::nextByte()
non-virtual thunk to FaxModem::~FaxModem()
non-virtual thunk to FaxModem::~FaxModem()
collect2: ld returned 1 exit status
*** Exit 1
Stop.

Any advice gladly received !

Cheers,

Rob

 -----Original Message-----
From: rob.leadbeater@lynx.co.uk [SMTP:rob.leadbeater@lynx.co.uk]
Sent: Wednesday, June 26, 2002 9:54 AM
To: faxguy@deanox.com
Cc: hylafax-devel@hylafax.org
Subject: [hylafax-devel] Re: [hylafax-users] Compiling Hylafax 4.
Hi Lee,

I think I'm nearly there - however the next error looks more like a
compiler issue. Any ideas ?

/usr/local/cygnus/tru64-010710/H-alphaev56-dec-osf5.1/bin/g++
 -D__ANSI_CP
P__ -I. -I.. -I.././regex -I.././faxd  -I.././util -I/usr/local/include
 -g -O  -
c DestControl.c++
DestControl.c++: In member function `bool 
DestControl::parseEntry(FILE*)':
DestControl.c++:317: Internal compiler error in scan_region, at
except.c:2804


Cheers,

Rob

 -----Original Message-----
From: faxguy@deanox.com [SMTP:faxguy@deanox.com]
Sent: Tuesday, June 25, 2002 8:12 PM
To: Rob Leadbeater
Cc: hylafax-devel@hylafax.org
Subject: Re: [hylafax-users] Compiling Hylafax 4.

   



On 2002.06.25 06:59 rob.leadbeater@lynx.co.uk wrote:
> Hi Lee / list,
> > I've grabbed the CVS and the make now gets past FaxClient.c++
> > However I'm now getting this from Class1Send.c++
> > /usr/local/cygnus/tru64-010710/H-alphaev56-dec-osf5.1/bin/g++
> -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././faxd  -I.././util
> -I/usr/local/include -g -O  -c Class1Send.c++
> Class1Send.c++: In member function `bool Class1Modem::sendPage(TIFF*,
> const
>    Class2Params&, unsigned int, fxStr&)':
> Class1Send.c++:812: no matching function for call to
>    `Class1Modem::correctPhaseCData(u_char*&, u_long*, uint16&, const
>    Class2Params&)'
> FaxModem.h:148: candidates are: void
FaxModem::correctPhaseCData(u_char*,
>    uint32*, unsigned int, const Class2Params&)
> *** Exit 1
> Stop.
> > Any ideas ?
> > Also, configure needs patching to allow it to correctly pick up the
> location of the init scripts for version 5 of Compaq Tru64:
> > # cvs diff configure
> Index: configure
> ===================================================================
> RCS file: /cvsroot/hylafax/configure,v
> retrieving revision 1.82
> diff -r1.82 configure
> 3486a3487
> >         *-dec-osf5*)    DIR_SYSVINITS="/sbin/init.d $DIR_SYSVINITS";;

Please try this patch against CVS.

Thanks.

Lee.



This message is intended only for the use of the person(s) ("The intended
Recipient(s)") to whom it is addressed.  It may contain information which
is privileged and confidential within the meaning of applicable law.  If
you are not the intended recipient, please contact the sender as soon as
possible.  The views expressed in this communication are not necessarily
those held by LYNX Express Limited.

____________________ HylaFAX(tm) Developers Mailing List
____________________
  To subscribe/unsubscribe, click
http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-devel-request@hylafax.org < 
/dev/null




This message is intended only for the use of the person(s) ("The intended
Recipient(s)") to whom it is addressed.  It may contain information which
is privileged and confidential within the meaning of applicable law.  If
you are not the intended recipient, please contact the sender as soon as
possible.  The views expressed in this communication are not necessarily
those held by LYNX Express Limited.

____________________ HylaFAX(tm) Users Mailing List
_______________________
  To subscribe/unsubscribe, click
http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org <
/dev/null




This message is intended only for the use of the person(s) ("The intended
Recipient(s)") to whom it is addressed.  It may contain information which
is privileged and confidential within the meaning of applicable law.  If
you are not the intended recipient, please contact the sender as soon as
possible.  The views expressed in this communication are not necessarily
those held by LYNX Express Limited.

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions