Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Build Problems on HP-UX 11
Dear All,
I'm having some difficulty building HylaFAX 4.1beta2 (or any other
version of HylaFAX, for that matter) on HP-UX 11. The hardware is a
712/100 and I have installed GCC 2.95.2 along with binutils 2.9.1. The
tiff libraries build without any difficulty, and I've built other
software, such as bash, with no problems. However, during the build for
HylaFAX I have encountered two problems. The first manifests itself like
this:
= regex
/bin/ksh ../port/mkdepend -e 's@ /usr/include/@ /@' -c
/opt/gcc/bin/gcc -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././regex
-I.././util -I/usr/local/include -g -O -c -M -i Makedepend regexec.c
regcomp.c regfree.c regerror.c
Make: Don't know how to make
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.../../../hppa2.0n-hp-hpux11.00/include/assert.h.
Stop.
This looked like a problem with sed, so I installed gnu sed and gawk as
well for good measure. Made no difference. However, the fix is easy, so
I shan't dwell on it. The next problem has got me stumped. This is the
output I get from the compiler:
= util
/opt/gcc/bin/g++ -I.././zlib -D__ANSI_CPP__ -I. -I..
-I.././regex -I.././util -I.././util -I/usr/local/include -g -O -c
Array.c++
In file included from Types.h:29,
from Obj.h:29,
from Array.h:28,
from Array.c++:26:
/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/string.h:29:
warning: conflicts with built-in declaration `int memcmp(const void *,
const void *, unsigned int)'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:85:
warning: declaration of `void * memcpy(void *, const void *, long
unsigned int)'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:85:
warning: conflicts with built-in declaration `void * memcpy(void *,
const void *, unsigned int)'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:93:
warning: declaration of `size_t strlen(const char *)'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:93:
warning: conflicts with built-in declaration `unsigned int strlen(const
char *)'
In file included from
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/new.h:6,
from Types.h:32,
from Obj.h:29,
from Array.h:28,
from Array.c++:26:
/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
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/new:29:
`operator new' takes type `size_t' as first parameter
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/new:32:
`operator new' takes type `size_t' as first parameter
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/new:33:
`operator new' takes type `size_t' as first parameter
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/new:38:
`operator new' takes type `size_t' as first parameter
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/new:39:
`operator new' takes type `size_t' as first parameter
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
GCC-2.95.2 is the only development environment I have for HP-UX 11 so
I'm hoping there's a fix for this. If not, can anyone point me to
working binaries for 11? I have heard that there are problems with
HylaFAX and gcc-2.95.x on other platforms (such as AIX), so would a
downgrade to 2.7.2.x be more appropriate? If so, do you know where I can
get a version for HP-UX 11?
Sorry to consume your bandwidth, but I'm kinda losing hair over this!
Malcolm.