<AWT Dev> [Fwd: Missing -L path for xawt]

Artem Ananiev artem.ananiev at oracle.com
Tue Dec 7 03:14:52 PST 2010


On 12/7/2010 3:06 AM, David Holmes wrote:
> Total silence on build-dev. Perhaps someone on awt-dev knows what to
> look for?

Could you provide an exact build error you're observing, please?

As far as I know, we shouldn't link to libmawt.so (I assume you meant 
libmawt.so, not libxawt.so, right?) directly as there are multiple 
versions of libmawt (in i386/xawt, i386/headless, i386/motif in JDK6), 
and what libmawt.so should be used is determined in runtime. 
sun/xawt/Makefile doesn't contain -lxawt or -lmawt, which makes me 
believe my assumption is correct.

Thanks,

Artem

> Please cc me as I'm not a member of awt-dev.
>
> Thanks,
> David
>
> -------- Original Message --------
> Subject: Missing -L path for xawt
> Date: Mon, 06 Dec 2010 20:34:12 +1000
> From: David Holmes <David.Holmes at oracle.com>
> Organization: Oracle Corporation
> To: build-dev <build-dev at openjdk.java.net>
>
> I have a problem building for Solaris-i586. When building libjawt.so I
> get missing symbol references that should be coming from libxawt.so.
> However the -L path is for lib/i386 whereas xawt.so resides in
> lib/i386/xawt, hence it isn't found.
>
> I can't tell why this error is arising. Does anyone have any suggestions
> as to what might be the source of the problem?
>
> The other possibility is that the lib is meant to be build with "z
> nodefs" rather than "z defs" - though again I'm not sure where this flag
> might be being mis-set.
>
> Thanks,
> David Holmes
>



More information about the awt-dev mailing list