[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#593178: swt-gtk: FTBFS: /usr/bin/ld: cannot find -ljawt



Source: swt-gtk
Version: 3.5.1-2.1
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4

swt-gtk FTBFS on SH4.
http://buildd.debian-ports.org/fetch.php?pkg=swt-gtk&arch=sh4&ver=3.5.1-2.1&stamp=1281754248&file=log&as=raw
Because sh4 should set AWT_LIB_PATH.

-----
cc -L/usr/lib/jvm/default-java/jre/lib/sh4 -ljawt -shared -o
libswt-awt-gtk-3555.so swt_awt.o
/usr/bin/ld: cannot find -ljawt
collect2: ld returned 1 exit status
-----

I made patch to support SH. Could you apply this patch?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
--- a/debian/rules	2010-08-15 05:57:36.000000000 +0900
+++ b/debian/rules	2010-08-15 05:57:53.000000000 +0900
@@ -16,6 +16,10 @@
 
 ifneq (,$(filter $(DEB_HOST_ARCH), powerpc))
 	AWT_LIB_DIR = ppc
+endif
+
+ifneq (,$(filter $(DEB_HOST_ARCH), sh4))
+	AWT_LIB_DIR = sh
 endif 
 
 DEB_MAKE_INVOKE += -DAWT_LIB_PATH=/usr/lib/jvm/default-java/jre/lib/\

Reply to: