[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] Compiling SWT and Eclipse on Solaris x86?
|
Ashley,
For some reason your X printing facilities aren't being found. This could
be an X installation issue, though I've never heard of this before.
You should be able to work around this temporarily if you're willing to
disable printing in Eclipse. Try adding -DNO_XPRINT_EXTENSIONS to your
make_solaris.mak file and recompile the swt libraries. This will make the
CFLAGS block in your make_solaris.mak file look like:
CFLAGS = -O -s \
-xarch=generic \
-DSWT_VERSION=$(SWT_VERSION) \
-DSOLARIS -DMOTIF -DCDE \
-DNO_XPRINTING_EXTENSIONS \
-KPIC \
-I./ \
-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/solaris \
-I$(MOTIF_HOME)/include \
-I$(CDE_HOME)/include
HTH,
Grant
I've managed to compile libraries libswt-cde-motif-2047.so and
libswt-motif-2047.so but I get the following error when I run eclipse:
java.lang.UnsatisfiedLinkError: /usr/local/lib/libswt-motif-2047.so:
ld.so.1: /opt/j2sdk1.4.0_01/bin/java: fatal: relocation error: file
/usr/local/lib/libswt-motif-2047.so: symbol XpSetAttributes: referenced
symbol not found
Does this mean that I have an incorrect version of Motif installed somehow?
Thanks in advance.
Ashley
On Wednesday 07 Aug 2002 3:27 pm, Ashley Collins wrote:
>Much appreciated!
>
>On Tuesday 06 Aug 2002 6:41 pm, Grant Gayed wrote:
> >It looks like the full source was not included. I've attached a zip
with
> >the library directory's contents for the 2.0 release.
> >
> >Note that if you want to build the libraries for a post-2.0 swt then
just
> >change the version number in the contained make_common.mak file to match
> >the version in swt's version.txt file.
> >
> >Grant
> >
> >(See attached file: buildSwt.zip)