HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Back to Query
  • Next Ticket →

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

The HG repository version looks for fluidsynth headers too!!

Please enable it into Haiku versions!!
 https://dev.haiku-os.org/ticket/6299

comment:2 follow-up: ↓ 3 Changed 4 years ago by michaelvoliveira

http://ports.haiku-files.org/ticket/517

comment:3 in reply to: ↑ 2 Changed 4 years ago by scottmc

Replying to michaelvoliveira:

http://ports.haiku-files.org/ticket/517

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

It builds now  https://bitbucket.org/haikuports/haikuports/src/master/media-libs/sdl_mixer/

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/