Ticket #514 (closed defect: fixed)
Opened 4 years ago
Last modified 9 months ago
sdl-mixer-1.2-hg hg fails to build
| Reported by: | scottmc | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Haiku Optional Packages |
| Component: | media-libs/sdl-mixer | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
It's getting several undefined references in playsound.o now. Note that this worked in older versions.
libtool: link: gcc -o build/.libs/playwave build/.libs/playwave.o -D_GNU_SOURCE=1 -I/boot/common/include/SDL -L/boot/common/lib build/.libs/libSDL_mixer.so /boot/common/lib/libSDL.so /boot/common/lib/libiconv.so -lGL -lroot -lbe -lmedia -lgame -ldevice -ltextencoding -lmidi build/.libs/playwave.o: In function `CleanUp': /boot/develop/haikuports/media-libs/sdl-mixer/work/sdl-mixer-1.2-hg/playwave.c:279: undefined reference to `Mix_FreeChunk' /boot/develop/haikuports/media-libs/sdl-mixer/work/sdl-mixer-1.2-hg/playwave.c:283: undefined reference to `Mix_CloseAudio' build/.libs/playwave.o: In function `main': /boot/develop/haikuports/media-libs/sdl-mixer/work/sdl-mixer-1.2-hg/playwave.c:426: undefined reference to `Mix_OpenAudio' /boot/develop/haikuports/media-libs/sdl-mixer/work/sdl-mixer-1.2-hg/playwave.c:430: undefined reference to `Mix_QuerySpec' /boot/develop/haikuports/media-libs/sdl-mixer/work/sdl-mixer-1.2-hg/playwave.c:452: undefined reference to `Mix_LoadWAV_RW' /boot/develop/haikuports/media-libs/sdl-mixer/work/sdl-mixer-1.2-hg/playwave.c:467: undefined reference to `Mix_SetReverseStereo' /boot/develop/haikuports/media-libs/sdl-mixer/work/sdl-mixer-1.2-hg/playwave.c:475: undefined reference to `Mix_PlayChannelTimed' build/.libs/playwave.o: In function `still_playing': /boot/develop/haikuports/media-libs/sdl-mixer/work/sdl-mixer-1.2-hg/playwave.c:155: undefined reference to `Mix_Playing' build/.libs/playwave.o: In function `flip_sample': /boot/develop/haikuports/media-libs/sdl-mixer/work/sdl-mixer-1.2-hg/playwave.c:317: undefined reference to `Mix_QuerySpec' collect2: ld returned 1 exit status
Change History
comment:1 Changed 4 years ago by michaelvoliveira
comment:2 follow-up: ↓ 3 Changed 4 years ago by michaelvoliveira
comment:3 in reply to: ↑ 2 Changed 4 years ago by scottmc
Replying to michaelvoliveira:
Not sure what you are saying here. Are you saying that if you have a properly built fluidsynth, then the build errors for sdl-mixer-1.2-hg go away?
comment:4 Changed 4 years ago by michaelvoliveira
errr
My mistake. In truth, nor the current fluidsynth is needed for sdl
We'll need of an alternative branch, founded here:
http://ports.haiku-files.org/ticket/517
But the above error, is about an static lib that wasn't linked before the final link, I guess...
comment:5 Changed 3 years ago by scottmc
- Owner scottmc deleted
comment:6 Changed 9 months ago by diver
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

The HG repository version looks for fluidsynth headers too!!
Please enable it into Haiku versions!!
https://dev.haiku-os.org/ticket/6299