Hylafax Mailing List Archives

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

Re: [hylafax-users] ./configure Missing C++ runtime supportforgcc



Hi Robert

I picked up the pre-compiled version of gcc-2.95.2 for HP-UX 11.0 off the
Software Porting Centre, (hpux.connect.org.uk), and just assumed that it was
OK, (maybe I should read the occassional release notes).   ;-P

Hmmm, I have a very short time-frame for implementation here and putting
together
another release of gcc isn't a really good short-term option, has anyone out
there
setup print queue's in LPRng to talk to Hylafax ??  I have an idea of how to do
it, but
as I said time is at a premium on this job and I never did like re-inventing
wheels.

If you do get around to pre-compiling it on HP I would be extremely grateful, I
downloaded
GNU sed from here:  http://hpux.connect.org.uk/hppd/hpux/Gnu/sed-3.02/

Thanks for the advice, I'm mainly working in "c" here, but I'll have a close
look to see if
anything else is broken by the compiler.

Regards
Alan

Robert Colquhoun wrote:

> At 11:20 28/05/01 +1000, Alan O'Keefe wrote:
> ><-- SNIP -->
> >/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:29:
> >warning:
> >declaration of `int memcmp(const void *, const void *, long unsigned int)'
> >...
> >/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/new:28:
> >`operator new'
> >takes type `size_t' as first parameter
>
> Your compiler is broken - i dont think gcc 2.95 is officially supported on
> HP-UX 11, the 'size_t'  type changed between 10.20 and 11 and the compiler
> needs to know the correct value internally.
>
> You may be able to get away with it if you only compile regular C programs
> and use a compiler flag to stop compiler internal versions of functions
> like memcmp() being used.  Unfortunately for C++ and the new operator i
> don't know of anyway to work around it.
>
> I had this problem almost 2 years back and ended up downloading and
> compiling a cvs snapshot of gcc 2.96 which seems to be working.
>
> Someone else has asked me to make up a binary of 4.1beta3 for HP11, if i
> can find some time i will try to get it compiled on a local machine,
> provided i can get past some other problems(ie sed).
>
> - Robert

--
Alan O'Keefe
O'Keefe Systems Consulting
email:  aokeefe@primus.com.au
Phone:  +61 413 517168        Fax:    +613 97408893





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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services