Allan Rae wrote:

> Try:
>         make distclean
>         ./configure --disable-threads
>         make

Thanks very much to Allan. I'm now getting much further.

Now the compilation comes to a grinding halt when it reaches
src/mathed/math_utils.C. I've attached the errors which I hope mean
something to someone. They confirm that I'm using gcc 2.95.2. I've trawled
through the mailing list archive to find someone with similar problems, but
to no avail.

Apologies for my continued incompetence.......

Bruce


/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
-I../../images -I./../ -I../.. -I../.. -I../../boost  -I/opt/hppd/include   -isystem 
/usr/include/X11R6  -g -O2 -fno-rtti -fno-exceptions -c math_utils.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
-I../../boost -I/opt/hppd/include -isystem /usr/include/X11R6 -g -O2 -fno-rtti 
-fno-exceptions -c math_utils.C -o math_utils.o
In file included from 
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/../../../../include/g++-3/stl_algobase.h:48,
                 from 
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/../../../../include/g++-3/algorithm:30,
                 from math_utils.C:14:
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/string.h:29: warning: 
declaration of `int memcmp(const void *, const void *, long unsigned int)'
/opt/gnu/lib/gcc-lib/hppa1.1-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/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/string.h:85: warning: 
declaration of `void * memcpy(void *, const void *, long unsigned int)'
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/string.h:85: warning: 
conflicts with built-in declaration `void * memcpy(void *, const void *, unsigned int)'
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/string.h:93: warning: 
declaration of `size_t strlen(const char *)'
/opt/gnu/lib/gcc-lib/hppa1.1-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/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/new.h:6,
                 from 
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/../../../../include/g++-3/stl_algobase.h:52,
                 from 
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/../../../../include/g++-3/algorithm:30,
                 from math_utils.C:14:
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/new:28: `operator new' takes 
type `size_t' as first parameter
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/new:29: `operator new' takes 
type `size_t' as first parameter
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/new:32: `operator new' takes 
type `size_t' as first parameter
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/new:33: `operator new' takes 
type `size_t' as first parameter
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/new:38: `operator new' takes 
type `size_t' as first parameter
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/new:39: `operator new' takes 
type `size_t' as first parameter
In file included from 
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/../../../../include/g++-3/string:6,
                 from ../../src/LString.h:16,
                 from math_defs.h:29,
                 from math_utils.C:16:
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/../../../../include/g++-3/std/bastring.h:112:
 `operator new' takes type `size_t' as first parameter
In file included from 
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/../../../../include/g++-3/std/bastring.h:652,
                 from 
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/../../../../include/g++-3/string:6,
                 from ../../src/LString.h:16,
                 from math_defs.h:29,
                 from math_utils.C:16:
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/../../../../include/g++-3/std/bastring.cc:32:
 `operator new' takes type `size_t' as first parameter
make: *** [math_utils.lo] Error 1

Reply via email to