Closed GoogleCodeExporter closed 8 years ago
Issue 40 has been merged into this issue.
Original comment by bcressey@gmail.com
on 27 Nov 2008 at 11:14
Issue 41 has been merged into this issue.
Original comment by bcressey@gmail.com
on 27 Nov 2008 at 11:15
Sound support under Linux now depends on SDL_sound, and specifically SDL_sound
1.0.3.
Earlier versions of SDL_sound clash with SDL_mixer when both are initialized,
causing Gargoyle to hang.
I don't think this is an OSS issue, but for now I'm grouping all Linux sound
issues
together. A fix is forthcoming; I plan to compile and statically link
SDL_sound into
the Gargoyle library, to ensure that a working copy comes with the game. (Many
distros, including Ubuntu 8.04, ship a much earlier version of SDL_sound.)
Original comment by bcressey@gmail.com
on 27 Nov 2008 at 11:21
Original comment by bcressey@gmail.com
on 1 Dec 2008 at 4:43
Patch + related files for static link SDL_sound build.
Original comment by bcressey@gmail.com
on 3 Dec 2008 at 3:44
Attachments:
Added fix to r108. Checking out the latest SVN code and building it should
work now.
Original comment by bcressey@gmail.com
on 3 Dec 2008 at 5:57
[deleted comment]
I checked out r=108, tried jam-ing it, but
it fails for seemingly SMPEG-related errors on every terp (tadsr, frotz etc...):
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_loop'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_clear'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_status'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_info'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_actualSpec'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_wantedSpec'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_play'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_enablevideo'
build/linux.release/garglk/libgarglk.so: undefined reference to
`ov_open_callbacks'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_raw_seek'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_enableaudio'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_new_rwops'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_error'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_playAudio'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_time_seek'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_read'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_delete'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_skip'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_rewind'
collect2: ld returned 1 exit status
I'm running Arch Linux, sdl, sdl_sound 1.0.3 and smpeg are installed. What is
missing?
This is even stranger, as sdl_sound is bundled with garglk (as I just found out,
after removing arch linux's sdl_sound package (v.1.0.1-7) and compiling the
newest
version from source and it still doesn't compile). I could have found this out
by
reading comment 3, but that would have been too easy. :)
After running 'jam' there is a binary file
'build/linux.release/SDL_sound_static/SDL_sound_static.a' that contains the
functions
ld is complaining about (SMPEG_error, ov_read etc.). Maybe there is just an
include
path set wrongly or something like that? Any hints are appreciated.
Original comment by unixprog@googlemail.com
on 4 Dec 2008 at 6:30
The latest round of commits should fix this (svn up). I needed to link smpeg &
vorbisfile to garglk as well; this wasn't necessary on Ubuntu 8.10, for some
reason
(newer gcc?).
If you delete your build directory (or at least build/linux.release/garglk) and
try
again, things should link properly.
Original comment by bcressey@gmail.com
on 5 Dec 2008 at 8:05
Yeah, now it compiles fine and the sound issue is gone. Thanks! :)
Original comment by unixprog@googlemail.com
on 5 Dec 2008 at 9:42
Should be corrected in the latest RC sources.
Original comment by bcressey@gmail.com
on 7 Dec 2008 at 5:41
The latest RC sources (2008-12-25 rc2) work fine with audio. The previous
release I
tried would hang if I enabled audio.
Original comment by Alan.A.D...@gmail.com
on 11 Dec 2008 at 6:39
Excellent, thanks for your testing & feedback.
Original comment by bcressey@gmail.com
on 11 Dec 2008 at 3:01
Original issue reported on code.google.com by
escli...@gmail.com
on 26 Nov 2008 at 6:52