Sdl-mixer-1.2.9 build issue on Haiku

I am trying to build SDL_mixer-1.2.29 on Haiku, I’m able to get
configure to detect everything it needs but then when I run make I get
an error almost right away.? My portlog entry is linked below with
somre more details:
http://ports.haiku-files.org/wiki/media-libs/sdl-mixer/1.2.9/1
Here’s the output I get from running make, not that this is with gcc-2.95.3:

~/develop/SDL_mixer-1.2.9> make
/bin/sh ./build-scripts/mkinstalldirs build
mkdir -p – build
/bin/sh ./libtool --mode=compile gcc -g -O2 -D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c -o
build/effect_position.lo
libtool: compile: gcc -g -O2 -D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c -DPIC -o
build/.libs/effect_position.o
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [build/effect_position.lo] Error 1

Any ideas on things to try next?
-scottmc

It’s the dependency generation stuff for gcc, which isn’t supported by
the version of gcc on Haiku.

There’s already a bug report to disable it, so I’ll go ahead and take
care of this.

BTW, having Haiku as a downloadable VM makes testing nice! :)On Wed, Oct 7, 2009 at 12:13 PM, scott mc wrote:

I am trying to build SDL_mixer-1.2.29 on Haiku, I’m able to get
configure to detect everything it needs but then when I run make I get
an error almost right away.? My portlog entry is linked below with
somre more details:
http://ports.haiku-files.org/wiki/media-libs/sdl-mixer/1.2.9/1
Here’s the output I get from running make, not that this is with gcc-2.95.3:

~/develop/SDL_mixer-1.2.9> make
/bin/sh ./build-scripts/mkinstalldirs build
mkdir -p – build
/bin/sh ./libtool --mode=compile gcc -g -O2 ?-D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c -o
build/effect_position.lo
libtool: compile: ?gcc -g -O2 -D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c ?-DPIC -o
build/.libs/effect_position.o
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [build/effect_position.lo] Error 1

Any ideas on things to try next?
-scottmc


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

This is fixed in subversion, thanks!On Thu, Oct 8, 2009 at 12:24 AM, Sam Lantinga <@slouken> wrote:

It’s the dependency generation stuff for gcc, which isn’t supported by
the version of gcc on Haiku.

There’s already a bug report to disable it, so I’ll go ahead and take
care of this.

BTW, having Haiku as a downloadable VM makes testing nice! :slight_smile:

On Wed, Oct 7, 2009 at 12:13 PM, scott mc wrote:

I am trying to build SDL_mixer-1.2.29 on Haiku, I’m able to get
configure to detect everything it needs but then when I run make I get
an error almost right away.? My portlog entry is linked below with
somre more details:
http://ports.haiku-files.org/wiki/media-libs/sdl-mixer/1.2.9/1
Here’s the output I get from running make, not that this is with gcc-2.95.3:

~/develop/SDL_mixer-1.2.9> make
/bin/sh ./build-scripts/mkinstalldirs build
mkdir -p – build
/bin/sh ./libtool --mode=compile gcc -g -O2 ?-D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c -o
build/effect_position.lo
libtool: compile: ?gcc -g -O2 -D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c ?-DPIC -o
build/.libs/effect_position.o
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [build/effect_position.lo] Error 1

Any ideas on things to try next?
-scottmc


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? ? ?-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Why does Haiku stick to GCC 2.95 anyway? That’s just asking for problems IMHO.On Thu, Oct 8, 2009 at 03:24, Sam Lantinga wrote:

It’s the dependency generation stuff for gcc, which isn’t supported by
the version of gcc on Haiku.

There’s already a bug report to disable it, so I’ll go ahead and take
care of this.

BTW, having Haiku as a downloadable VM makes testing nice! :slight_smile:

On Wed, Oct 7, 2009 at 12:13 PM, scott mc wrote:

I am trying to build SDL_mixer-1.2.29 on Haiku, I’m able to get
configure to detect everything it needs but then when I run make I get
an error almost right away.? My portlog entry is linked below with
somre more details:
http://ports.haiku-files.org/wiki/media-libs/sdl-mixer/1.2.9/1
Here’s the output I get from running make, not that this is with gcc-2.95.3:

~/develop/SDL_mixer-1.2.9> make
/bin/sh ./build-scripts/mkinstalldirs build
mkdir -p – build
/bin/sh ./libtool --mode=compile gcc -g -O2 ?-D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c -o
build/effect_position.lo
libtool: compile: ?gcc -g -O2 -D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c ?-DPIC -o
build/.libs/effect_position.o
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [build/effect_position.lo] Error 1

Any ideas on things to try next?
-scottmc


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? ? ?-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

  • SR

They stick with 2.95 (for now) to ensure binary compatibility with
BeOS R5. There is work being done to allow applications compiled with
GCC 4.x to work, so things should improve in the future.

– crcOn Thu, Oct 8, 2009 at 10:18 AM, Simon Roby <simon.roby at gmail.com> wrote:

Why does Haiku stick to GCC 2.95 anyway? That’s just asking for problems IMHO.

On Thu, Oct 8, 2009 at 03:24, Sam Lantinga wrote:

It’s the dependency generation stuff for gcc, which isn’t supported by
the version of gcc on Haiku.

There’s already a bug report to disable it, so I’ll go ahead and take
care of this.

BTW, having Haiku as a downloadable VM makes testing nice! :slight_smile:

On Wed, Oct 7, 2009 at 12:13 PM, scott mc wrote:

I am trying to build SDL_mixer-1.2.29 on Haiku, I’m able to get
configure to detect everything it needs but then when I run make I get
an error almost right away.? My portlog entry is linked below with
somre more details:
http://ports.haiku-files.org/wiki/media-libs/sdl-mixer/1.2.9/1
Here’s the output I get from running make, not that this is with gcc-2.95.3:

~/develop/SDL_mixer-1.2.9> make
/bin/sh ./build-scripts/mkinstalldirs build
mkdir -p – build
/bin/sh ./libtool --mode=compile gcc -g -O2 ?-D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c -o
build/effect_position.lo
libtool: compile: ?gcc -g -O2 -D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c ?-DPIC -o
build/.libs/effect_position.o
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [build/effect_position.lo] Error 1

Any ideas on things to try next?
-scottmc


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? ? ?-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

  • SR

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Yeah I heard that before but I don’t understand it. Why is keeping
binary compatibility with R5 so important that they absolutely
need to cripple themselves with an archaic version of GCC? To me
that sounds completely insane.On Thu, Oct 8, 2009 at 10:32, Charles Childers <charles.childers at gmail.com> wrote:

They stick with 2.95 (for now) to ensure binary compatibility with
BeOS R5. There is work being done to allow applications compiled with
GCC 4.x to work, so things should improve in the future.

– crc

On Thu, Oct 8, 2009 at 10:18 AM, Simon Roby <@Simon_Roby> wrote:

Why does Haiku stick to GCC 2.95 anyway? That’s just asking for problems IMHO.

On Thu, Oct 8, 2009 at 03:24, Sam Lantinga wrote:

It’s the dependency generation stuff for gcc, which isn’t supported by
the version of gcc on Haiku.

There’s already a bug report to disable it, so I’ll go ahead and take
care of this.

BTW, having Haiku as a downloadable VM makes testing nice! :slight_smile:

On Wed, Oct 7, 2009 at 12:13 PM, scott mc wrote:

I am trying to build SDL_mixer-1.2.29 on Haiku, I’m able to get
configure to detect everything it needs but then when I run make I get
an error almost right away.? My portlog entry is linked below with
somre more details:
http://ports.haiku-files.org/wiki/media-libs/sdl-mixer/1.2.9/1
Here’s the output I get from running make, not that this is with gcc-2.95.3:

~/develop/SDL_mixer-1.2.9> make
/bin/sh ./build-scripts/mkinstalldirs build
mkdir -p – build
/bin/sh ./libtool --mode=compile gcc -g -O2 ?-D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c -o
build/effect_position.lo
libtool: compile: ?gcc -g -O2 -D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c ?-DPIC -o
build/.libs/effect_position.o
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [build/effect_position.lo] Error 1

Any ideas on things to try next?
-scottmc


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? ? ?-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

  • SR

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

  • SR

It allows them to use the existing libraries and applications for
BeOS. It was more useful in the early days of the project where the
various pieces could be dropped into a BeOS R5 install for testing and
debugging.

While it is currently built using 2.95, a 4.x compiler is available
for Haiku, and Haiku can be built with this compiler while providing
downward compatibility libraries for the older ABI. It’s not as well
tested yet, but hopefully it’ll be ready before Haiku reaches the beta
stage.

– crcOn Thu, Oct 8, 2009 at 11:14 AM, Simon Roby <simon.roby at gmail.com> wrote:

Yeah I heard that before but I don’t understand it. Why is keeping
binary compatibility with R5 so important that they absolutely
need to cripple themselves with an archaic version of GCC? To me
that sounds completely insane.

On Thu, Oct 8, 2009 at 10:32, Charles Childers <@Charles_Childers> wrote:

They stick with 2.95 (for now) to ensure binary compatibility with
BeOS R5. There is work being done to allow applications compiled with
GCC 4.x to work, so things should improve in the future.

– crc

On Thu, Oct 8, 2009 at 10:18 AM, Simon Roby <simon.roby at gmail.com> wrote:

Why does Haiku stick to GCC 2.95 anyway? That’s just asking for problems IMHO.

On Thu, Oct 8, 2009 at 03:24, Sam Lantinga wrote:

It’s the dependency generation stuff for gcc, which isn’t supported by
the version of gcc on Haiku.

There’s already a bug report to disable it, so I’ll go ahead and take
care of this.

BTW, having Haiku as a downloadable VM makes testing nice! :slight_smile:

On Wed, Oct 7, 2009 at 12:13 PM, scott mc wrote:

I am trying to build SDL_mixer-1.2.29 on Haiku, I’m able to get
configure to detect everything it needs but then when I run make I get
an error almost right away.? My portlog entry is linked below with
somre more details:
http://ports.haiku-files.org/wiki/media-libs/sdl-mixer/1.2.9/1
Here’s the output I get from running make, not that this is with gcc-2.95.3:

~/develop/SDL_mixer-1.2.9> make
/bin/sh ./build-scripts/mkinstalldirs build
mkdir -p – build
/bin/sh ./libtool --mode=compile gcc -g -O2 ?-D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c -o
build/effect_position.lo
libtool: compile: ?gcc -g -O2 -D_GNU_SOURCE=1
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -DCMD_MUSIC -DWAV_MUSIC
-DMOD_MUSIC -I/boot/common/include -pthread -D_REENTRANT
-DMOD_DYNAMIC=“libmikmod.so.3” -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3”
-DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -DMP3_MUSIC
-I/boot/common/include -I/boot/common/include/smpeg
-I/boot/common/include/SDL -D_GNU_SOURCE=1 -MMD -MT
build/effect_position.lo -c effect_position.c ?-DPIC -o
build/.libs/effect_position.o
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [build/effect_position.lo] Error 1

Any ideas on things to try next?
-scottmc


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? ? ?-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

  • SR

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

  • SR

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Thanks.
I tried building from svn today on Haiku and I ran into a few issues.
I manages to get past a couple of them and have filed ticket 832 with
a patch that worked at least on Haiku, but now i’m running into issue
with playwave, the make output is posted in ticket 832, any ideas on
what to try next?
-scottmcOn Thu, Oct 8, 2009 at 2:18 AM, Sam Lantinga wrote:

This is fixed in subversion, thanks!

I just ran make clean, and then reran make and it went through no
problem, so ignore the playwave problem I reported. I believe the
patch is still needed for the other two files though.
-scottmcOn Thu, Oct 8, 2009 at 1:10 PM, scott mc <@scott_mc> wrote:

On Thu, Oct 8, 2009 at 2:18 AM, Sam Lantinga wrote:

This is fixed in subversion, thanks!

Thanks.
I tried building from svn today on Haiku and I ran into a few issues.
I manages to get past a couple of them and have filed ticket 832 with
a patch that worked at least on Haiku, but now i’m running into issue
with playwave, the make output is posted in ticket 832, any ideas on
what to try next?
-scottmc

BTW, having Haiku as a downloadable VM makes testing nice! :slight_smile:

Yes, the VM images are helpful for testing things out. We also
included subversion, mercurial, git and cvs to make it extra easy for
developers to be able to get and check their projects on Haiku. I
might even try to get cmake included into the next Haiku release,
we’ll see.
-scottmc

I finally tracked down where that -lc was coming in from…
http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/sdl-mixer/sdl-mixer-1.2.9.bep?rev=409
Haiku uses a modified libtool, which adds cases for Haiku in ltmain.sh
http://git.savannah.gnu.org/cgit/libtool.git/tree/libltdl/config/ltmain.m4sh?id=741a9867eb71eb258ca1ed5b85bc7f03ce864195
we needed to add --haiku* case at line 4129 and 6086.
Looks like I need to push those fixes upstream…
I worked around it in my build script, copying our local ltmain.sh
over the one in build-scripts, so it’s now working here.
-scottmc