Comments (7)
Added more linker flags, so fixed most of linking errors. What is the linker flag for these objects
?
from sm64ex-alo.
I'm stuck at the same point. Using an x86_64 macOS.
Those symbols are in sound_data.o
.
The issue is the sound_data.o
has been assembled using the mingw
as
which produce a mingw
specific object.
The linker then complains about not understanding this object's format and ignores its symbols.
My understanding is that the source ofsound_data.o
can only be assembled using GNU as
. The as
from macOS will fail.
However, I don't understand who using mingw
's as
has ever been working before.. because of the different output format.
Pinging people who I think worked on this: @AloXado320 @AuroraWright @Hyenadae @GammaTendonNine
from sm64ex-alo.
So I was able to get it to compile, which is nice. It seems to actually come from load.c when you set the data var in audio_init. However, it crashes on launch, more progress :)
from sm64ex-alo.
I don't think adding a linker flag will fix it, and honestly I just wanna know why they made the change, I was able to compile the version right before sound_data.s became a thing. Odd.
from sm64ex-alo.
ITS WORKING!!! I got it compiled lets go! However there is no audio which is a little akward lol. So in load.c lines 106-109 remove the extern part, then it will compile and launch. However remember to build with RENDER_API=GL_LEGACY or else your screen will be black.
from sm64ex-alo.
Making a pr for all fixes done
from sm64ex-alo.
I think this issue should be kept open because the PR doesn't really fix the issue of the sound code not linking properly.
The PR replaces the missing sound data with empty arrays so that the linker doesn't complain.. But the real issue is still there and still need fixing.
from sm64ex-alo.
Related Issues (20)
- Cant compile on Linux HOT 1
- Cannot Compile on LInux HOT 1
- Unable to build on MacOS 13 arm64 HOT 11
- EXTERNAL_DATA=1 Builds will not run HOT 1
- Wii U Version Cannot Build HOT 1
- Star road doesn't work
- Crash while Mario sliding in Bob-omb Battlefield HOT 4
- bettercam.c - Compile error HOT 1
- Crash On Selecting "Display" Option HOT 2
- Building 32 bit on android doesn't work HOT 1
- Arch Linux w/ devkitPPC r44.2-2: Unrecognized command-line option when building tools (Wii U target) HOT 2
- 60 fps patch for wii u? HOT 2
- lockup on build for Wii U
- coins (red and yellow) reset when walking into cabin on cool, cool mountain, wii u 60fps
- Failing to build for Switch on macOS
- [F.Req] PKGBUILD for the AUR.
- Can't run on Android
- Switch Build Broken HOT 2
- Black level on Boo Haunt (Wii U) HOT 1
- OSError: [Errno 8] Exec format error: './tools/skyconv'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sm64ex-alo.