Compiling SWT+SwingWT
Robin Rawson-Tetley
enquiries@sheltermanager.homeip.net
Wed Apr 21 07:19:00 GMT 2004
I'm definitely nearly there now! Everything compiles fine, and the link
phase goes fine except for some strange complaints about undefined
references to methods in java::lang::Throwable at the end - I had a look
round the net and found someone else had this problem, but it was never
satisfactorily concluded.
Here's the output with -v (everything needed to repeat is in the SwingWT
CVS as before).
Thanks again for helping me out,
Rob
: ====================
Building SWT...
Unpacking SWT source...
Generating SWT classlist...
Compiling SWT to libswt.so ...
Cleaning up SWT...
Building SwingWT...
Generating the SwingWT classlist...
Compiling SwingWT to libswingwt.so ...
Cleaning up SwingWT...
Building demonstration executable...
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/specs
Reading specs from
/usr/lib/gcc-lib/i486-linux/3.3.3/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,ob
jc,ada,treelang --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--with-system-zlib -
-enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gn
u --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib
--enable-objc-gc
i486-linux
Thread model: posix
gcc version 3.3.3 (Debian 20040401)
/usr/lib/gcc-lib/i486-linux/3.3.3/jvgenmain demo.Everythingmain
/tmp/ccUOIhcX.i
/usr/lib/gcc-lib/i486-linux/3.3.3/cc1 /tmp/ccUOIhcX.i -quiet -dumpbase
demo.Eve
rythingmain.c -g1 -version -fdollars-in-identifiers -o /tmp/ccCKKplK.s
GNU C version 3.3.3 (Debian 20040306) (i486-linux)
compiled by GNU C version 3.3.3 (Debian 20040306).
GGC heuristics: --param ggc-min-expand=99 --param
ggc-min-heapsize=129294
as -V -Qy -o /tmp/ccQA1qKy.o /tmp/ccCKKplK.s
GNU assembler version 2.14.90.0.7 (i386-linux) using BFD
version 2.14.90.0.7 200
31029 Debian GNU/Linux
/usr/lib/gcc-lib/i486-linux/3.3.3/collect2 --eh-frame-hdr -m
elf_i386 -dynamic-
linker /lib/ld-linux.so.2 -o swingwtdemo
/usr/lib/gcc-lib/i486-linux/3.3.3/../..
/../crt1.o /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
/usr/lib/gcc-lib/i4
86-linux/3.3.3/crtbegin.o
-L/usr/lib/gcc-lib/i486-linux/3.3.3 -L/usr/lib/gcc-lib
/i486-linux/3.3.3/../../.. /tmp/ccQA1qKy.o demo.o
lib/libswt.so lib/libswingwt.s
o -lgcc_s -lgcc -lgcj -lm -lpthread -lz -ldl -lgcc_s -lgcc
-lc -lgcc_s -lgcc /us
r/lib/gcc-lib/i486-linux/3.3.3/crtend.o
/usr/lib/gcc-lib/i486-linux/3.3.3/../../
../crtn.o
lib/libswt.so: undefined reference to
`java::lang::Throwable::getCause()'
lib/libswt.so: undefined reference to
`java::lang::Throwable::initCause(java::la
ng::Throwable*)'
lib/libswt.so: undefined reference to
`java::lang::Throwable::getStackTrace()'
lib/libswt.so: undefined reference to
`java::lang::Throwable::setStackTrace(JArr
ay<java::lang::StackTraceElement*>*)'
collect2: ld returned 1 exit status
Finished.
--
=====================================================
Robin Rawson-Tetley
Animal Shelter Manager (http://sheltermanager.sf.net)
SwingWT (http://swingwt.sf.net)
I prefer encrypted email.
Download my public key at: http://rawsontetley.ath.cx/sfpk.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/java/attachments/20040421/a3933c12/attachment.sig>
More information about the Java
mailing list