sun.tools.java.BinaryConstantPool: sun.tools.java.BinaryAttribute: toba: line -114: 1154 Aborted (core dumped) cc -ansi ...
/usr/bin
, AND make sure that the command
cc
invokes egcs (that is often only installed as
gcc
; you may need to add a link from the one to the other).
sun.tool.java.BinaryAttributes: /usr/local/toba-1.1/packages/RUNTIME.so: undefined reference to 'initializeSystemClass__ZvvXb' make[1]:***[xjavac] Error 1
java.lang.System
to use
a different initialization method. Version 1.1.6 reverted to the scheme
used by 1.1.3. Upgrade to version 1.1.6, or edit the file
runtime/runtime.c
around line 83 to comment out the call to the
above function. (We don't guarantee that this edit will work; jdk 1.1.5 has
proved unreliable in several aspects that might be traced back to these
initialization changes.)
../bin/toba demo.java structs.c:101: failed assertion `sizeof(Long) == 8' Abort - core dumped
#if (0x40000000lu << 2) == 0 /* if long is just 32 bits wide */ typedef signed long long Long; typedef unsigned long long ULong; /* only for >>>; not Java primitive */ #else typedef signed long Long; typedef unsigned long ULong; /* only for >>>; not Java primitive */ #endif #includeWe get "8" on gcc 2.7.2.1, egcs 1.0.1, and Sun cc 5.2, those being what we have available on the Ultra-1 we have here.int main (void) { printf ("sizeof(Long) = %d\n", sizeof(Long)); }
DisplayWindow:2682: structure has no member named `dispose__hMemi' DisplayWindow:2771: structure has no member named `setTitle_S_IojoN' DisplayWindow:2891: structure has no member named `setTitle_S_IojoN' DisplayWindow:2979: structure has no member named `getTitle__sTO00' DisplayWindow:3037: structure has no member named `show__wNNzS' DisplayWindow: In function `main_aS_mnbda': DisplayWindow:2233: structure has no member named `show__wNNzS' DisplayWindow:2262: structure has no member named `show__wNNzS' DisplayWindow: In function `init_S_slPV2': DisplayWindow:3000: structure has no member named `setTitle_S_IojoN'it's probably because the underlying AWT implementation we use isn't really meant to be compatible with Sun's. See the BISS caveat for details. Unfortunately, graphical programs are not the main use for Toba at Arizona, so we have limited resources available to address this issue.
TOBAPATH
?TOBAPATH
environment variable is used to tell the Toba
driver script where to find the include files, shared libraries, and class
files for precompiled packages. Most users should not set it, because its
value is both complex and critical to successful compilation. If you want
to add your own packages, be sure to end the path with a colon, e.g.:
TOBAPATH=/path/to/my/package:which will cause the driver to append the standard path settings.
-rdynamic
flag to the loader. Do this by adding -a
-rdynamic
to the Toba command line.
$TOBAROOT/configs/biss.linux.opt
, change
BISS_LDFLAGS = -L/usr/X11/lib -lX11 -lXext -lXawto
BISS_LDFLAGS = -L/usr/X11R6/lib -lX11 -lXext -lXawThanks to David J. Orme for discovering and providing a fix for this.
java.lang.reflect
hierarchy is untested.
sun.security.provider.SHA
when I try to use serialization.Class.forName
, rather than
through an explicit reference. If you have compiled
--with-jit
, you shouldn't be seeing this problem. If you don't
want to or can't enable the jit for some reason, modify packages/buildAPI
following the instructions around line 52 to set up SUN_EXCLUDE to be a bit
more lax--that'll put the required security classes, and another 80-plus
classes, into your SUNAPI library.