Code Monkey home page Code Monkey logo

nx-glib-demo's Introduction

This is demo build environment.

I'm trying to use glib-2.0 along with libnx from devkitpro.

Usage:

rm -rf app/build
cd docker
docker-compose up

Expected result: compiled application.

Current actual result:

Starting docker_switch-env_1 ... done
Attaching to docker_switch-env_1
switch-env_1  | linking root.elf
switch-env_1  | /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/libnx/lib/libnx.a(switch_crt0.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `exit@@GLIBC_2.17' which may bind externally can not be used when making a shared object; recompile with -fPIC
switch-env_1  | /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/libnx/lib/libnx.a(switch_crt0.o)(.crt0+0x114): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `exit@@GLIBC_2.17'
switch-env_1  | /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/ld: final link failed: bad value
switch-env_1  | collect2: error: ld returned 1 exit status
switch-env_1  | /opt/devkitpro/libnx/switch_rules:79: recipe for target '/root/root.elf' failed
switch-env_1  | make[1]: *** [/root/root.elf] Error 1
switch-env_1  | Makefile:168: recipe for target 'build' failed
switch-env_1  | make: *** [build] Error 2
docker_switch-env_1 exited with code 2

nx-glib-demo's People

Contributors

devgru avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.