Giter Site home page Giter Site logo

Comments (11)

AloXado320 avatar AloXado320 commented on September 16, 2024

It seems like it gets an error on the last stages of building looking at the 00_sound_player.s build failure.

Can you build with make VERBOSE=1? macOS seems to have a weird assembler that Windows or Linux has no issues with.

from sm64ex-alo.

Traace avatar Traace commented on September 16, 2024

This log is with VERBOSE=1

Assembling: sound/sequences/00_sound_player.s -> build/us_pc/sound/sequences/00_sound_player.o
gcc-13 -c -I include -I build/us_pc -I build/us_pc/include -I src -I . -DVERSION_US=1 -DF3DEX_GBI_2E=1 -DOSX_BUILD=1 -DLIBULTRA_VERSION=9 -DLIBULTRA_REVISION=0 -DLIBULTRA_STR_VER=\"L\" -DNON_MATCHING=1 -DAVOID_UB=1 -D_LANGUAGE_ASSEMBLY -x assembler-with-cpp -MMD -MF build/us_pc/sound/sequences/00_sound_player.d -o build/us_pc/sound/sequences/00_sound_player.o sound/sequences/00_sound_player.s
sound/sequences/00_sound_player.s:3:17: error: unexpected token in '.section' directive
.section .rodata
                ^
<instantiation>:1:7: error: out of range literal value
.byte 720000 >> 8, 720000 & 0xff
      ^
sound/sequences/00_sound_player.s:8015:1: note: while in macro instantiation
envelope_line 7 20000
^
<instantiation>:2:12: error: unknown token in expression
    .byte  >> 8,  & 0xff
           ^
sound/sequences/00_sound_player.s:8015:1: note: while in macro instantiation
envelope_line 7 20000
^
<instantiation>:1:7: error: out of range literal value
.byte 632700 >> 8, 632700 & 0xff
      ^

from sm64ex-alo.

AloXado320 avatar AloXado320 commented on September 16, 2024

Can you add me on Discord as aloxado320? I might have ideas to fix the errors but i need you to test them since i don't have a macOS system.

from sm64ex-alo.

Traace avatar Traace commented on September 16, 2024

Thanks, I added you :)

from sm64ex-alo.

ezntek avatar ezntek commented on September 16, 2024

im getting the same errors, anu updates?

from sm64ex-alo.

AloXado320 avatar AloXado320 commented on September 16, 2024

Commit 7a97f0c should address those errors, however it seems like there's a problem with tabledesign according to @Traace.

from sm64ex-alo.

ezntek avatar ezntek commented on September 16, 2024

oh, okay.

from sm64ex-alo.

ezntek avatar ezntek commented on September 16, 2024

well, it still does not work.

Converting: build/us_pc/textures/intro_raw/sparkle_4.rgba16 -> build/us_pc/textures/intro_raw/sparkle_4.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/sparkle_5.rgba16 -> build/us_pc/textures/intro_raw/sparkle_5.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_0.rgba16 -> build/us_pc/textures/intro_raw/white_star_0.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_2.rgba16 -> build/us_pc/textures/intro_raw/white_star_2.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_1.rgba16 -> build/us_pc/textures/intro_raw/white_star_1.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_3.rgba16 -> build/us_pc/textures/intro_raw/white_star_3.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_4.rgba16 -> build/us_pc/textures/intro_raw/white_star_4.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_6.rgba16 -> build/us_pc/textures/intro_raw/white_star_6.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_7.rgba16 -> build/us_pc/textures/intro_raw/white_star_7.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_5.rgba16 -> build/us_pc/textures/intro_raw/white_star_5.rgba16.inc.c
Compiling: src/pc/crash_screen_pc.c -> build/us_pc/src/pc/crash_screen_pc.o
Generating: build/us_pc/sound/sequences.bin
Compiling: src/goddard/renderer.c -> build/us_pc/src/goddard/renderer.o
Assembling: sound/sound_data.s -> build/us_pc/sound/sound_data.o
{standard input}: Assembler messages:
{standard input}:1: Warning: attempt to redefine pseudo-op `.section' ignored
{standard input}:4: Warning: attempt to redefine pseudo-op `.global' ignored
ld: warning: ignoring file build/us_pc/sound/sound_data.o, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x4C 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x0C 0x01 0x00 0x00 0x0E 0x00 0x00 0x00 )
Undefined symbols for architecture arm64:
  "_gBankSetsData", referenced from:
      _audio_init in load.o
  "_gMusicData", referenced from:
      _audio_init in load.o
  "_gSoundDataADSR", referenced from:
      _audio_init in load.o
  "_gSoundDataRaw", referenced from:
      _audio_init in load.o
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:1822: build/us_pc/sm64.us.f3dex2e] Error 1

built with gmake EXTERNAL_DATA=1 OSX_BUILD=1 TARGET_ARCH=aarch64-apple-darwin TARGET_BITS=64 -j8

from sm64ex-alo.

AloXado320 avatar AloXado320 commented on September 16, 2024

@Traace thanks for the help, commit 0ae8205 should fix remaining errors on macOS, let me know if it works @ezntek

from sm64ex-alo.

ezntek avatar ezntek commented on September 16, 2024

works like a charm :)

from sm64ex-alo.

Traace avatar Traace commented on September 16, 2024

builds just fine now. @AloXado320 thanks for your hard work :)

closed

from sm64ex-alo.

Related Issues (20)

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.