[modules-dev] B22 modules project build failure

Andreas Sterbenz Andreas.Sterbenz at Sun.COM
Wed Oct 31 00:42:11 PDT 2007


Stephen J. McConnell wrote:
> 
> /usr/bin/ld: cannot find -lXtst
> collect2: ld returned 1 exit status
> make[2]: *** [../../../build/linux-i586/lib/i386/xawt/libmawt.so] Error 1
> make[2]: Leaving directory `/home/foo/jdk/modules/make/sun/xawt'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/home/foor/jdk/modules/make/sun'
> make: *** [all] Error 1

That's a linker error. Apparently AWT requires various X libraries, 
including libXtst, to be installed on the system.

You should try installing it on your system. There are some hints for 
Ubuntu in the build README: 
https://openjdk.dev.java.net/source/browse/*checkout*/openjdk/jdk/trunk/README-builds.html#SDBE

Hope that helps.
Andreas.



More information about the modules-dev mailing list