werkn / n64devkit-everdrive

N64 development environment setup for containerized homebrew development using the Everdrive 64 X7 and Libdragon
The Unlicense
12 stars 1 forks source link

docker-compose up -d FAILS #5

Open wtfbbqhax opened 1 year ago

wtfbbqhax commented 1 year ago

Hello @werkn , I'm following your instructions on Windows 10, and found that the docker-compose step fails in build/cpptest.elf, it also throws an error for missing sudo

#11 6.410     [Z64] audioplayer.z64
#11 6.415 /usr/local/lib/gcc/mips64-elf/10.2.0/../../../../mips64-elf/bin/ld: small-data section exceeds 64KB; lower small-data size limit (see option -G)
#11 6.415 build/*.o: in function `main':
#11 6.415 (.text.startup.main+0xd8): relocation truncated to fit: R_MIPS_GPREL16 against `_ZTIi'
#11 6.416       text       data        bss      total filename
#11 6.416      98064      60836       1652     160552 build/ucodetest.elf
#11 6.417     [Z64] ucodetest.z64
#11 6.420 collect2: error: ld returned 1 exit status
#11 6.421 /usr/local/include/n64.mk:144: recipe for target 'build/cpptest.elf' failed
#11 6.421 make[2]: *** [build/cpptest.elf] Error 1
#11 6.421 make[1]: *** [cpptest] Error 2
#11 6.421 make[1]: *** Waiting for unfinished jobs....
#11 6.421 Makefile:10: recipe for target 'cpptest' failed
#11 6.459     [LD] build/eepromfstest_4k.elf
#11 6.459     [LD] build/eepromfstest_16k.elf
#11 6.475       text       data        bss      total filename
#11 6.475      84432      59648       2644     146724 build/eepromfstest_4k.elf
#11 6.475       text       data        bss      total filename
#11 6.475      84432      59648       2644     146724 build/eepromfstest_16k.elf
#11 6.476     [Z64] eepromfstest_4k.z64
#11 6.476     [Z64] eepromfstest_16k.z64
#11 6.485 Makefile:45: recipe for target 'examples' failed
#11 6.485 make: *** [examples] Error 2
#11 6.485 ./build.sh: line 26: sudo: command not found
werkn commented 1 year ago

Heya Victor, I'd recommend using the libdragon cli from the Libdragon repository if you encounter anymore errors, the team put a ton of effort into streamlining the library setup since I made this tutorial.

Best of luck, Ryan :)

On Sat, Dec 17, 2022, 11:26 AM Victor Roemer @.***> wrote:

Hello @werkn https://github.com/werkn , I'm following your instructions on Windows 10, and found that the docker-compose step fails due to missing sudo command of all things.

11 6.410 [Z64] audioplayer.z64

11 6.415 /usr/local/lib/gcc/mips64-elf/10.2.0/../../../../mips64-elf/bin/ld: small-data section exceeds 64KB; lower small-data size limit (see option -G)

11 6.415 build/*.o: in function `main':

11 6.415 (.text.startup.main+0xd8): relocation truncated to fit: R_MIPS_GPREL16 against `_ZTIi'

11 6.416 text data bss total filename

11 6.416 98064 60836 1652 160552 build/ucodetest.elf

11 6.417 [Z64] ucodetest.z64

11 6.420 collect2: error: ld returned 1 exit status

11 6.421 /usr/local/include/n64.mk:144: recipe for target 'build/cpptest.elf' failed

11 6.421 make[2]: *** [build/cpptest.elf] Error 1

11 6.421 make[1]: *** [cpptest] Error 2

11 6.421 make[1]: *** Waiting for unfinished jobs....

11 6.421 Makefile:10: recipe for target 'cpptest' failed

11 6.459 [LD] build/eepromfstest_4k.elf

11 6.459 [LD] build/eepromfstest_16k.elf

11 6.475 text data bss total filename

11 6.475 84432 59648 2644 146724 build/eepromfstest_4k.elf

11 6.475 text data bss total filename

11 6.475 84432 59648 2644 146724 build/eepromfstest_16k.elf

11 6.476 [Z64] eepromfstest_4k.z64

11 6.476 [Z64] eepromfstest_16k.z64

11 6.485 Makefile:45: recipe for target 'examples' failed

11 6.485 make: *** [examples] Error 2

11 6.485 ./build.sh: line 26: sudo: command not found

— Reply to this email directly, view it on GitHub https://github.com/werkn/n64devkit-everdrive/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTFXIJ2TRZNAVJ4RSXTZ2LWNYAVXANCNFSM6AAAAAATCCJXFM . You are receiving this because you were mentioned.Message ID: @.***>