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] ./configure Missing C++ runtime supportfor gcc



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




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




Project hosted by iFAX Solutions