[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem builing ddd-3.3.1 on HP-UX 11.00 (fwd)
From: |
James . Marselle |
Subject: |
Problem builing ddd-3.3.1 on HP-UX 11.00 (fwd) |
Date: |
Tue, 5 Feb 2002 14:37:36 -0600 |
I'm hoping someone can help me. I'm trying to build ddd 3.3.1 on
an HP-UX 11.00 system with gcc 3.0.1. The build moves along for
a while and then I start getting warnings about size_t being
undeclared in namespace 'std' followed by errors about calls of
overloaded operator new ambiguous. Since I'm not very experienced
with C++, I'd like to avoid hacking the code. I'm including the
output from the build.
Thanks in advance.
Jim Marselle
--------------------------------------------------------
No suffix list.
Making all in readline
rm -f readline.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O readline.c
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O vi_mode.c
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O parens.c
rm -f search.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O search.c
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O complete.c
rm -f bind.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O bind.c
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O isearch.c
rm -f display.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O display.c
rm -f signals.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O signals.c
rm -f util.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O kill.c
rm -f undo.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O input.c
rm -f callback.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O terminal.c
rm -f nls.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O nls.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O xmalloc.c
rm -f history.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O history.c
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O histexpand.c
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O shell.c
rm -f tilde.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.0"' -g -O tilde.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o
parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o
util.o kill.o undo.o macro.o input.o callback.o terminal.o nls.o xmalloc.o
history.o histexpand.o histfile.o histsearch.o shell.o tilde.o
test -n "ranlib" && ranlib libreadline.a
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o
histsearch.o shell.o xmalloc.o
test -n "ranlib" && ranlib libhistory.a
Making all in vsllib
No suffix list.
cd . \
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh
./config.status
creating Makefile
Making all in themes
No suffix list.
cd . \
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh
./config.status
creating Makefile
Making all in ddd
rm -f ./gpl.texinfo; ln -s ./../texinfo/gpl.texinfo
./gpl.texinfo
rm -f ./gfdl.texinfo; ln -s ./../texinfo/gfdl.texinfo
./gfdl.texinfo
cat ./host.h.in | \
sed "s%@HOST_CANONICAL@%hppa2.0w-hp-hpux11.00%" | \
sed "s%@TARGET_CANONICAL@%hppa2.0w-hp-hpux11.00%" | \
cat > host.h~ && mv host.h~ host.h
cat ./root.h.in | \
sed "s%@ROOT@%/usr/local/share/ddd-3.3.1%" | \
sed "s%@ALT_ROOT@%/usr/local/share/ddd%" | \
cat > root.h~ && mv root.h~ root.h
cat Ddd | cat | \
sed -n -f ./ad2c.sed > Ddd.ad.h~ && mv Ddd.ad.h~ Ddd.ad.h
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -O2 -g -W
-Wall -trigraphs -c userinfo.C
/bin/sh ./libtool --mode=link c++ -DNDEBUG -O2 -g -W -Wall
-trigraphs -o userinfo userinfo.o
mkdir .libs
c++ -DNDEBUG -O2 -g -W -Wall -trigraphs -o userinfo userinfo.o
(cat $HOME/.ddd_userinfo 2> /dev/null || \
./userinfo || echo '(unknown)') > USERINFO~ && mv USERINFO~
USERINFO
Please check your name and e-mail address:
James Marselle <jim@octa-gfi.gfisoft.com>
This information will be compiled into DDD.
If it is not correct, please edit USERINFO and re-compile.
/bin/sh ./config-info ./USERINFO USERINFO > configinfo.C~ && \
mv configinfo.C~ configinfo.C
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -O2 -g -W
-Wall -trigraphs -c ddd.C
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -O2 -g -W
-Wall -trigraphs -c basename.C
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -O2 -g -W
-Wall -trigraphs -c compare.C
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -O2 -g -W
-Wall -trigraphs -c cook.C
In file included from /opt/gcc/include/g++-v3/bits/std_cstdio.h:38,
from /opt/gcc/include/g++-v3/cstdio:31,
from
/opt/gcc/include/g++-v3/hppa2.0n-hp-hpux11.00/bits/c++io.h:35,
from /opt/gcc/include/g++-v3/bits/fpos.h:39,
from /opt/gcc/include/g++-v3/bits/std_iosfwd.h:41,
from /opt/gcc/include/g++-v3/backward/strstream:52,
from /opt/gcc/include/g++-v3/backward/strstream.h:33,
from cook.C:37:
/opt/gcc/include/g++-v3/bits/std_cstddef.h:43: `size_t' not declared
In file included from /opt/gcc/include/g++-v3/bits/stl_algobase.h:75,
from /opt/gcc/include/g++-v3/bits/std_memory.h:49,
from /opt/gcc/include/g++-v3/bits/std_string.h:43,
from /opt/gcc/include/g++-v3/bits/localefwd.h:42,
from /opt/gcc/include/g++-v3/bits/std_ios.h:43,
from /opt/gcc/include/g++-v3/backward/strstream:53,
from /opt/gcc/include/g++-v3/backward/strstream.h:33,
from cook.C:37:
/opt/gcc/include/g++-v3/new:76: `size_t' undeclared in namespace `std'
/opt/gcc/include/g++-v3/new:76: declaration of `operator new' as
non-function
/opt/gcc/include/g++-v3/new:76: invalid declarator
/opt/gcc/include/g++-v3/new:77: `size_t' undeclared in namespace `std'
/opt/gcc/include/g++-v3/new:77: declaration of `operator new []' as
non-function
/opt/gcc/include/g++-v3/new:77: invalid declarator
/opt/gcc/include/g++-v3/new:80: `size_t' undeclared in namespace `std'
/opt/gcc/include/g++-v3/new:80: parse error before `::' token
/opt/gcc/include/g++-v3/new:80: `operator new' takes type `size_t' (`long
unsigned int') as first parameter
/opt/gcc/include/g++-v3/new:81: `size_t' undeclared in namespace `std'
/opt/gcc/include/g++-v3/new:81: parse error before `::' token
/opt/gcc/include/g++-v3/new:81: `operator new' takes type `size_t' (`long
unsigned int') as first parameter
/opt/gcc/include/g++-v3/new:86: `size_t' undeclared in namespace `std'
/opt/gcc/include/g++-v3/new:86: parse error before `*' token
/opt/gcc/include/g++-v3/new:86: `operator new' takes type `size_t' (`long
unsigned int') as first parameter
/opt/gcc/include/g++-v3/new: In function `void* operator new(long unsigned
int,
...)':
/opt/gcc/include/g++-v3/new:86: `place' undeclared (first use this
function)
/opt/gcc/include/g++-v3/new:86: (Each undeclared identifier is reported
only
once for each function it appears in.)
/opt/gcc/include/g++-v3/new: At global scope:
/opt/gcc/include/g++-v3/new:87: `size_t' undeclared in namespace `std'
/opt/gcc/include/g++-v3/new:87: parse error before `*' token
/opt/gcc/include/g++-v3/new:87: `operator new' takes type `size_t' (`long
unsigned int') as first parameter
/opt/gcc/include/g++-v3/bits/locale_facets.tcc: In static member function
`static std::_Format_cache<_CharT>*
std::_Format_cache<_CharT>::_S_get(std::ios_base&) [with _CharT =
char]':
/opt/gcc/include/g++-v3/bits/ostream.tcc:490: instantiated from `void
std::__pad_char(std::basic_ios<_CharT, _Traits>&, _CharT*, const _CharT*,
long int, long int) [with _CharT = char, _Traits = std::char_traits<char>]'
/opt/gcc/include/g++-v3/bits/ostream.tcc:701: instantiated from
`std::basic_ostream<char, _Traits>& std::operator
<<(std::basic_ostream<char, _Traits>&, const char*) [with _Traits =
std::char_traits<char>]'
cook.C:57: instantiated from here
/opt/gcc/include/g++-v3/bits/locale_facets.tcc:219: call of overloaded
`operator new(long unsigned int)' is ambiguous
<internal>:219: candidates are: void* operator new(long unsigned int)
/opt/gcc/include/g++-v3/new:86: void* operator new(long
unsigned int, ...)
/opt/gcc/include/g++-v3/bits/locale_facets.tcc: In static member function
`static void std::_Format_cache<_CharT>::
_S_callback(std::ios_base::event,
std::ios_base&, int) [with _CharT = char]':
/opt/gcc/include/g++-v3/bits/locale_facets.tcc:220: instantiated from
`static std::_Format_cache<_CharT>* std::_Format_cache<_CharT>::
_S_get(std::ios_base&) [with _CharT = char]'
/opt/gcc/include/g++-v3/bits/ostream.tcc:490: instantiated from `void
std::__pad_char(std::basic_ios<_CharT, _Traits>&, _CharT*, const _CharT*,
long int, long int) [with _CharT = char, _Traits = std::char_traits<char>]'
/opt/gcc/include/g++-v3/bits/ostream.tcc:701: instantiated from
`std::basic_ostream<char, _Traits>& std::operator
<<(std::basic_ostream<char, _Traits>&, const char*) [with _Traits =
std::char_traits<char>]'
cook.C:57: instantiated from here
/opt/gcc/include/g++-v3/bits/locale_facets.tcc:198: call of overloaded
`operator new(long unsigned int)' is ambiguous
<internal>:198: candidates are: void* operator new(long unsigned int)
/opt/gcc/include/g++-v3/new:86: void* operator new(long
unsigned int, ...)
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
--------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem builing ddd-3.3.1 on HP-UX 11.00 (fwd),
James . Marselle <=