[Bug 3946] New: swt3.4-gtk-3.3+3.4M5 doesn't find "jni.h"

bugzilla-daemon at treke.net bugzilla-daemon at treke.net
Thu Mar 6 08:27:54 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=3946

           Summary: swt3.4-gtk-3.3+3.4M5 doesn't find "jni.h"
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: hs4233 at mail.mn-solutions.de


>From a clean (rm -rf tmp) openembedded setup, the command "bitbake -v
swt3.4-gtk" fails in the compilation stage. temp/log.do_compile.* shows:


make -f make_linux.mak make_swt make_atk make_cairo
make[1]: Entering directory
`/usr/src/sdk4000/tmp/work/armv5te-angstrom-linux-gnueabi/swt3.
ccache arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=xscale -O -Wall
-DSWT_VERSION=3
In file included from swt.c:12:
swt.h:23:17: error: jni.h: No such file or directory


However, "find tmp/staging -name jni.h" finds
tmp/staging/i686-linux/include/classpath/jni.h and
tmp/staging/i686-linux/include/classpath-initial/jni.h.

packages/swt-gtk.inc has only

do_compile() {
  oe_runmake NATIVE_STATS="-I${STAGING_INCDIR}/classpath"
}

which doesn't cover the path where jni.h is located. I'm unsure if classpath
installed it's jni.h file into the wrong location or if NATIVE_STATS should be
amended with additional -I switches.


-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list