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.




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";;


Cheers,

Rob

 -----Original Message-----
From: faxguy@deanox.com [SMTP:faxguy@deanox.com]
Sent: Monday, June 24, 2002 5:19 PM
To: Rob Leadbeater
Cc: hylafax-users@hylafax.org
Subject: Re: [hylafax-users] Compiling Hylafax 4.1.2 on Compaq Tru64

On 2002.06.24 05:44 rob.leadbeater@lynx.co.uk wrote:
> > Hi,
> > I'm attempting to compile Hylafax 4.1.2 on Compaq Tru64 5.1A, and get 

the
> > following during make when compiling FaxClient.c++
> > I'm using GCC 2.97 downloaded from Compaq.
> > Could someone give me some pointers as to how to get this to compile
> please.
> > > Thanks,
> > Rob Leadbeater
> > > gcc -v
> Reading specs from
>
/usr/local/cygnus/tru64-010710/H-alphaev56-dec-osf5.1/bin/../lib/gcc-lib/a 

> > lphaev56-dec-osf5.1/2.97-tru64-010710/specs
> Configured with:
>
/tantor/build/compaq-tru64/tru64-010710/alphaev56-dec-osf5.1/src/configure 

> >  -v --host=alphaev56-dec-osf5.1 --build=alphaev56-dec-osf5.1
>  -prefix=/usr/cygnus/tru64-010710
>  --exec-prefix=/usr/cygnus/tru64-010710/H-alphaev56-dec-osf5.1
>  --target=alphaev56-dec-osf5.1
> gcc version 2.97-tru64-010710
> > > /usr/local/cygnus/tru64-010710/H-alphaev56-dec-osf5.1/bin/g++
>      -I/usr/local/include                   -D__ANSI_CPP__ -I. -I..
>  -I.././regex -I.././util  -I.././util -I/usr/local/include-g -O  -c
> FaxClient.c++
> FaxClient.c++: In member function `virtual void
> FaxClient::setupConfig()':
> FaxClient.c++:244: assignment of read-only location
> FaxClient.c++: In member function `virtual bool
> FaxClient::setConfigItem(const
>    char*, const char*)':
> FaxClient.c++:281: assignment of read-only location
> FaxClient.c++: In member function `bool FaxClient::setCommon(const
>    FaxClient::FaxParam&, unsigned int)':
> FaxClient.c++:435: assignment of read-only location
> FaxClient.c++: In member function `bool FaxClient::recvData(bool
> (*)(void*,
>    const char*, int, fxStr&), void*, fxStr&, long unsigned int, const
> char*,
>    ...)':

This has been fixed in HylaFAX CVS.  See
http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=305

> FaxClient.c++:1305: jump to label `bad'
> FaxClient.c++:1279:   from here
> FaxClient.c++:1280:   enters scope of non-POD `va_list ap'
> FaxClient.c++:1305: jump to label `bad'
> FaxClient.c++:1277:   from here
> FaxClient.c++:1280:   enters scope of non-POD `va_list ap'
> FaxClient.c++:1305: jump to label `bad'
> FaxClient.c++:1275:   from here
> FaxClient.c++:1280:   enters scope of non-POD `va_list ap'
> FaxClient.c++: In member function `bool FaxClient::recvZData(bool
> (*)(void*,
>    const char*, int, fxStr&), void*, fxStr&, long unsigned int, const
> char*,
>    ...)':
> FaxClient.c++:1379: jump to label `bad'
> FaxClient.c++:1330:   from here
> FaxClient.c++:1335:   enters scope of non-POD `va_list ap'
> *** Exit 1
> Stop.

This has also been fixed in HylaFAX CVS.  See
http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=277

You'll need to either pull current CVS (recommended) or patch the source
with the patches on these bug reports.

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) 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