public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: rhug-rhats@sources.redhat.com
Subject: Failing to build with the core patch.
Date: Wed, 05 Sep 2001 17:19:00 -0000	[thread overview]
Message-ID: <200109060019.RAA11611@fencer.cygnus.com> (raw)

Anthony, 

I'm (eventually) testing your patch. I'm trying to build your proposed
extension of libjava and it fails with:

/bin/sh ./libtool --tag=GCJ --mode=link /castro/street/apbianco/t/build/gcc/gcc/gcj -B/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava/ -B/castro/street/apbianco/t/build/gcc/gcc/ -L/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava -mieee -g -O2  -o jv-convert --main=gnu.gcj.convert.Convert -rpath /castro/street/apbianco/t/install/lib -shared-libgcc  gnu/gcj/convert/BytesToUnicode.lo gnu/gcj/convert/Convert.lo gnu/gcj/convert/Input_8859_1.lo gnu/gcj/convert/Input_ASCII.lo gnu/gcj/convert/Input_EUCJIS.lo gnu/gcj/convert/Input_JavaSrc.lo gnu/gcj/convert/Input_SJIS.lo gnu/gcj/convert/Input_UTF8.lo gnu/gcj/convert/Input_iconv.lo gnu/gcj/convert/IOConverter.lo gnu/gcj/convert/Output_8859_1.lo gnu/gcj/convert/Output_ASCII.lo gnu/gcj/convert/Output_EUCJIS.lo gnu/gcj/convert/Output_JavaSrc.lo gnu/gcj/convert/Output_SJIS.lo gnu/gcj/convert/Output_UTF8.lo gnu/gcj/convert/Output_iconv.lo gnu/gcj/convert/UnicodeToBytes.lo libgcj.la ./../boehm-gc/l!
ibgcjgc.la -L/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava/../boehm-gc/.libs -lpthread ./../zlib/libzgcj.la -L/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava/../zlib/.libs -L/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava/.libs 
/castro/street/apbianco/t/build/gcc/gcc/gcj -B/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava/ -B/castro/street/apbianco/t/build/gcc/gcc/ -mieee -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc gnu/gcj/convert/.libs/BytesToUnicode.o gnu/gcj/convert/.libs/Convert.o gnu/gcj/convert/.libs/Input_8859_1.o gnu/gcj/convert/.libs/Input_ASCII.o gnu/gcj/convert/.libs/Input_EUCJIS.o gnu/gcj/convert/.libs/Input_JavaSrc.o gnu/gcj/convert/.libs/Input_SJIS.o gnu/gcj/convert/.libs/Input_UTF8.o gnu/gcj/convert/.libs/Input_iconv.o gnu/gcj/convert/.libs/IOConverter.o gnu/gcj/convert/.libs/Output_8859_1.o gnu/gcj/convert/.libs/Output_ASCII.o gnu/gcj/convert/.libs/Output_EUCJIS.o gnu/gcj/convert/.libs/Output_JavaSrc.o gnu/gcj/convert/.libs/Output_SJIS.o gnu/gcj/convert/.libs/Output_UTF8.o gnu/gcj/convert/.libs/Output_iconv.o gnu/gcj/convert/.libs/UnicodeToBytes.o  -L/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava ./.libs/libgcj.!
so -ldl ./../boehm-gc/.libs/libgcjgc.so -L/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava/../boehm-gc/.libs -lpthread ./../zlib/.libs/libzgcj.so -L/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava/../zlib/.libs -L/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava/.libs -Wl,--rpath -Wl,/castro/street/apbianco/t/install/lib
./.libs/libgcj.so: undefined reference to `gnu::gcj::Core::create(java::lang::String*)'
./.libs/libgcj.so: undefined reference to `gnu::gcj::protocol::core::CoreInputStream::unsafeGetByte(long long)'
./.libs/libgcj.so: undefined reference to `gnu::gcj::protocol::core::CoreInputStream::copyIntoByteArray(JArray<char>*, int, int)'
collect2: ld returned 1 exit status
make[1]: *** [jv-convert] Error 1
make[1]: Leaving directory `/castro/street/apbianco/t/build/gcc/alphaev6-unknown-linux-gnu/libjava'
make: *** [all-recursive] Error 1

(I'm building on Alpha/linux.) The Makefile{,am,in} appears to be OK,
listing gnu/gcj/protocol/core/natCoreInputStream.cc and such but it
never seems to build. If I touch an other new file, such as
gnu/gcj/natCore.cc, then natCore.cc gets rebuild.

Am I missing something?

./A






             reply	other threads:[~2001-09-05 17:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 17:19 Alexandre Petit-Bianco [this message]
2001-09-05 17:55 ` Anthony Green
2001-09-05 18:04 ` Anthony Green
2001-09-05 20:11   ` Alexandre Petit-Bianco
2001-09-05 21:28     ` Anthony Green
2001-09-06  0:46       ` Alexandre Petit-Bianco
2001-09-06  6:12         ` Anthony Green

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200109060019.RAA11611@fencer.cygnus.com \
    --to=apbianco@cygnus.com \
    --cc=rhug-rhats@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).