jdk8u build error in assembling asm_os_linux_aarch32.s

Andrew Haley aph at redhat.com
Tue Mar 10 09:42:36 UTC 2020


On 3/9/20 9:41 PM, Choe, Jiwon wrote:
> Thank you so much for your help. I have been configuring again using this
> command:
> bash configure --with-jvm-variants=client
> --openjdk-target=arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc
> CXX=arm-linux-gnueabihf-g++
> 
> Now, this fails with an error message saying that it could not find X11
> libraries. I'm thinking that this is fixable by specifying the X11 library
> path using the --with-x option, but nothing seems to work (I tried
> /usr/bin/X11, /etc/X11, /usr/include/X11, /usr/share/X11, which all appear
> when I do 'whereis X11'). Am I not specifying the correct path to X11
> libraries?
> 
> It will be great if anyone could point me in the right direction. Thank you
> in advance!

Are you cross compiling? If so you need to populate a directory with the root
filesystem of your target system and point at it with --prefix= .

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the aarch32-port-dev mailing list