Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2013 19:36:51 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        ports@freebsd.org
Subject:   problem building swt-devel
Message-ID:  <20720.45091.93451.549697@jerusalem.litteratus.org>

next in thread | raw e-mail | index | archive | help

       (I've tried twice to contact the maintainer, with no response.)

       Anyone out there familiar with swt/-devel?  Frying to build it
produces this:

     [exec] gcc -shared -s -o libswt-awt-gtk-3738.so swt_awt.o -L/usr/local/openjdk7/jre/lib/amd64 -ljawt
     [exec] g++ -o xpcomxul.o -O  -DSWT_VERSION=3738    -DMOZILLA_STRICT_API=1  -fno-rtti  -fno-exceptions  -Wall  -Wno-non-virtual-dtor  -fPIC  -I.  -I/usr/local/openjdk7/include  -I/usr/local/openjdk7/include/freebsd  -DJNI64 -DNO__1NS_1InitXPCOM2 -I/usr/local/include/nspr -DXPCOM_GLUE -I/usr/local/include/libxul   -c xpcom.cpp
     [exec] In file included from /usr/local/include/libxul/nsEmbedString.h:43,
     [exec]                  from xpcom.h:19,
     [exec]                  from xpcom_structs.h:12,
     [exec]                  from xpcom.cpp:13:
     [exec] /usr/local/include/libxul/nsStringAPI.h:1101: error: 'char16_t' was not declared in this scope
     [exec] xpcom.cpp: In function 'jint Java_org_eclipse_swt_internal_mozilla_XPCOM__1Call__JJJJJI(JNIEnv*, _jclass*, jlong, jlong, jlong, jlong, jlong, jint)':
     [exec] xpcom.cpp:58: error: 'nsStaticModuleInfo' was not declared in this scope
     [exec] xpcom.cpp:58: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:58: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:58: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:58: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:58: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:58: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:58: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:58: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:58: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:58: error: expected `)' before 'const'
     [exec] xpcom.cpp:58: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:58: error: expected `)' before 'const'
     [exec] xpcom.cpp:58: error: expected `)' before ';' token
     [exec] *** [xpcomxul.o] Error code 1
     [exec] 
     [exec] Stop in /data/port-work/usr/ports/x11-toolkits/swt-devel/work.

BUILD FAILED
/data/port-work/usr/ports/x11-toolkits/swt-devel/work/build.xml:62: exec returned: 1

Total time: 50 seconds
*** [do-build] Error code 1


    This is way beyond my level of competence.  Ideas?


    Respectfully,


			Robert Huff




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20720.45091.93451.549697>