gluonhq / gluon-samples

Gluon sample projects
298 stars 166 forks source link

can not native link or build #154

Open lifay9092 opened 2 years ago

lifay9092 commented 2 years ago

After compile, the link has an error,and the build is failed too.

Using: graalvm-svm-java17-linux-gluon-22.1.0.1-Final gcc version 11.2.0 (Uos 11.2.0-10) GNU ld (GNU Binutils for Uos) 2.38

Error Log:

Output

/usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0xf8): undefined reference to Java_com_sun_pisces_PiscesRenderer_setCompositeRuleImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x260): undefined reference toJava_com_sun_pisces_PiscesRenderer_fillRectImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x758): undefined reference to Java_com_sun_pisces_PiscesRenderer_fillLCDAlphaMaskImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x878): undefined reference toJava_com_sun_pisces_PiscesRenderer_setTextureImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x978): undefined reference to Java_com_sun_pisces_PiscesRenderer_setColorImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0xa08): undefined reference toJava_com_sun_pisces_PiscesRenderer_drawImageImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0xba8): undefined reference to Java_com_sun_pisces_PiscesRenderer_setLinearGradientImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0xca0): undefined reference toJava_com_sun_pisces_PiscesRenderer_setClipImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0xcd0): undefined reference to Java_com_sun_pisces_PiscesRenderer_initialize' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0xd30): undefined reference toJava_com_sun_pisces_PiscesRenderer_disposeNative' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0xfd8): undefined reference to Java_com_sun_pisces_Transform6_initialize' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x1220): undefined reference toJava_com_sun_pisces_PiscesRenderer_setRadialGradientImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x1300): undefined reference to Java_com_sun_pisces_JavaSurface_initialize' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x1408): undefined reference toJava_com_sun_pisces_PiscesRenderer_clearRectImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x14f0): undefined reference to Java_com_sun_pisces_PiscesRenderer_emitAndClearAlphaRowImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x1510): undefined reference toJava_com_sun_pisces_AbstractSurface_getRGBImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x1538): undefined reference to Java_com_sun_pisces_PiscesRenderer_setLCDGammaCorrectionImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x1598): undefined reference toJava_com_sun_pisces_PiscesRenderer_fillAlphaMaskImpl' /usr/bin/ld: /home/lifay/Downloads/gluon-samples-master/gluon-samples-master/HelloFX/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1660984100141/hellofx.hellofx.o:(.data+0x15a8): undefined reference to `Java_com_sun_pisces_AbstractSurface_disposeNative' collect2: error: ld returned 1 exit status