From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Petit-Bianco To: "Anthony Green" Cc: Subject: Re: Jython dependencies... Date: Fri, 19 Oct 2001 16:30:00 -0000 Message-id: <15312.46970.217609.225728@fencer.cygnus.com> References: <200110180039.RAA06254@fencer.cygnus.com> <000201c1578a$997e9e40$5be6b4cd@cygnus.com> X-SW-Source: 2001-10/msg00037.html Anthony Green writes: > Hmm... if you link lib-org-jython.la with -l-javax-servlet and > -l-org-apache-oro and -l-org-gnu-readline, then there should be no > need to put these in your dependencies list. Does lib-org-jython.la > really refer to classes in these libraries? If so you'll need to > modify lib_org_jython_la_LIBADD and then have lib-org-jython.la in > your dependencies for the test programs. Things break pretty badly > otherwise. That's what I did. I'm about to check in the bits to let jython build. But there's much work to do (see jython/TODO.) One mystery is that this morning, my build yields to a test_jython which core all the time. I just rebuilt with -static (and a re-build of bhoem-gc sans -O) and I got the following stack trace: xception in thread "main" java.lang.NullPointerException at 0x080f8044: _Jv_ThrowSignal (/home/apbianco/src/egcs-devel/libjava/prims.cc:119) at 0x080f8067: catch_segv(int) (/home/apbianco/src/egcs-devel/libjava/prims.cc:128) at 0xbfffeb54: ?? (??:0) at 0x0807000a: ?? (/usr/src/bs/BUILD/glibc-2.2.1/csu/init.c:0) at 0x080da494: ?? (/usr/src/bs/BUILD/glibc-2.2.1/csu/init.c:0) at 0x080da3ca: ?? (/usr/src/bs/BUILD/glibc-2.2.1/csu/init.c:0) at 0x0808992f: ?? (/usr/src/bs/BUILD/glibc-2.2.1/csu/init.c:0) at 0x08089597: ?? (/usr/src/bs/BUILD/glibc-2.2.1/csu/init.c:0) at 0x08089262: ?? (/usr/src/bs/BUILD/glibc-2.2.1/csu/init.c:0) at 0x080482d8: ?? (/usr/src/bs/BUILD/glibc-2.2.1/csu/init.c:0) at 0x0817fccb: gnu.gcj.runtime.FirstThread.call_main() (/home/apbianco/src/egcs-devel/libjava/gnu/gcj/runtime/natFirstThread.cc:47) at 0x08154028: gnu.gcj.runtime.FirstThread.run() (/home/apbianco/src/egcs-devel/libjava/gnu/gcj/runtime/FirstThread.java:55) at 0x081163ae: _Jv_ThreadRun(java.lang.Thread) (/home/apbianco/src/egcs-devel/libjava/java/lang/natThread.cc:285) at 0x080f967a: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/home/apbianco/src/egcs-devel/libjava/prims.cc:1025) at 0x080f979f: JvRunMain (/home/apbianco/src/egcs-devel/libjava/prims.cc:1035) at 0x0804822d: ?? (/usr/src/bs/BUILD/glibc-2.2.1/csu/init.c:0) at 0x081c69ba: __libc_start_main (/usr/src/bs/BUILD/glibc-2.2.1/csu/../sysdeps/generic/libc-start.c:129) at 0x08048101: _start (??:0) Strange. test_SimpleEmbeddd works thoug. When I get this fixed, I'll work on the make check. ./A