Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not native link or build #154

Open
lifay9092 opened this issue Aug 20, 2022 · 0 comments
Open

can not native link or build #154

lifay9092 opened this issue Aug 20, 2022 · 0 comments

Comments

@lifay9092
Copy link

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 to Java_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 to Java_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 to Java_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 to Java_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 to Java_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 to Java_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 to Java_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 to Java_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 to Java_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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant