Artsc problem with CVS SDL

System: SuSE Linux version 6.4, QT 2.2.2, KDE 2.01

I alsa noticed an artsc problem with the CVS version of SDL. It appears
as though an include path is missing:

gcc -DPACKAGE=“SDL” -DVERSION=“1.1.7” -DHAVE_ALLOCA_H=1
-DHAVE_ALLOCA=1 -I. -I. -pipe -O2 -m486 -fno-strength-reduce
-fexpensive-optimizations -march=pentium -mcpu=pentiumpro -Wall
-DUSE_ASMBLIT -I./hermes -I…/…/…/src/hermes -DOSS_SUPPORT
-DESD_SUPPORT -DARTSC_SUPPORT -I/opt/kde2/include/artsc
-I/usr/X11R6/include -DENABLE_X11 -DXFREE86_VM -DXFREE86_DGAMOUSE
-DDEFAULT_DGAMOUSE -DENABLE_FBCON -DHAVE_OPENGL -DUSE_INPUT_EVENTS
-D_REENTRANT -DSDL_USE_PTHREADS -I…/…/…/include
-I…/…/…/include/SDL -I…/…/…/src -I…/…/…/src/linux
-I…/…/…/src/main -I…/…/…/src/audio -I…/…/…/src/video
-I…/…/…/src/events -I…/…/…/src/joystick -I…/…/…/src/cdrom
-I…/…/…/src/thread -I…/…/…/src/timer -I…/…/…/src/endian
-I…/…/…/src/file -c SDL_artsaudio.c -fPIC -DPIC -o
.libs/SDL_artsaudio.lo
SDL_artsaudio.c:44: SDL_dspaudio.h: No such file or directory
SDL_artsaudio.c:50: parse error before SDL_AudioSpec' SDL_artsaudio.c:51: warning: parameter names (without types) in function declaration SDL_artsaudio.c:52: warning: parameter names (without types) in function declaration SDL_artsaudio.c:53: warning: parameter names (without types) in function declaration SDL_artsaudio.c:54: warning: parameter names (without types) in function declaration SDL_artsaudio.c:66: parse error before*‘
SDL_artsaudio.c: In function Audio_DeleteDevice': SDL_artsaudio.c:68:device’ undeclared (first use in this function)
SDL_artsaudio.c:68: (Each undeclared identifier is reported only once
SDL_artsaudio.c:68: for each function it appears in.)
SDL_artsaudio.c: At top level:
SDL_artsaudio.c:72: parse error before *' SDL_artsaudio.c:73: warning: return-type defaults toint’
SDL_artsaudio.c: In function Audio_CreateDevice': SDL_artsaudio.c:74:SDL_AudioDevice’ undeclared (first use in this
function)
SDL_artsaudio.c:74: this' undeclared (first use in this function) SDL_artsaudio.c:74: warning: statement with no effect SDL_artsaudio.c:77: parse error before)‘
SDL_artsaudio.c:91: audio_fd' undeclared (first use in this function) SDL_artsaudio.c: At top level: SDL_artsaudio.c:105: parse error beforeARTSC_bootstrap’
SDL_artsaudio.c:105: warning: type defaults to int' in declaration ofARTSC_bootstrap’
SDL_artsaudio.c:106: warning: initialization makes integer from pointer
without a cast
SDL_artsaudio.c:106: warning: excess elements in scalar initializer
SDL_artsaudio.c:106: warning: (near initialization for ARTSC_bootstrap') SDL_artsaudio.c:107: warning: excess elements in scalar initializer SDL_artsaudio.c:107: warning: (near initialization forARTSC_bootstrap’)
SDL_artsaudio.c:108: warning: excess elements in scalar initializer
SDL_artsaudio.c:108: warning: (near initialization for ARTSC_bootstrap') SDL_artsaudio.c:108: warning: data definition has no type or storage class SDL_artsaudio.c: In functionARTSC_WaitAudio’:
SDL_artsaudio.c:120: parent' undeclared (first use in this function) SDL_artsaudio.c:122:this’ undeclared (first use in this function)
SDL_artsaudio.c:128: next_frame' undeclared (first use in this function) SDL_artsaudio.c:128:FUDGE_TICKS’ undeclared (first use in this function)
SDL_artsaudio.c:113: warning: ticks' might be used uninitialized in this function SDL_artsaudio.c: In functionARTSC_PlayAudio’:
SDL_artsaudio.c:139: audio_fd' undeclared (first use in this function) SDL_artsaudio.c:139:mixbuf’ undeclared (first use in this function)
SDL_artsaudio.c:139: mixlen' undeclared (first use in this function) SDL_artsaudio.c:142:frame_ticks’ undeclared (first use in this function)
SDL_artsaudio.c:143: next_frame' undeclared (first use in this function) SDL_artsaudio.c:148:this’ undeclared (first use in this function)
SDL_artsaudio.c: In function ARTSC_GetAudioBuf': SDL_artsaudio.c:157:mixbuf’ undeclared (first use in this function)
SDL_artsaudio.c:158: warning: control reaches end of non-void function
SDL_artsaudio.c: In function ARTSC_CloseAudio': SDL_artsaudio.c:162:mixbuf’ undeclared (first use in this function)
SDL_artsaudio.c:166: audio_fd' undeclared (first use in this function) SDL_artsaudio.c: At top level: SDL_artsaudio.c:172: parse error beforeSDL_AudioSpec’
SDL_artsaudio.c: In function ARTSC_OpenAudio': SDL_artsaudio.c:178:frame_ticks’ undeclared (first use in this function)
SDL_artsaudio.c:180: mixbuf' undeclared (first use in this function) SDL_artsaudio.c:185:spec’ undeclared (first use in this function)
SDL_artsaudio.c:213: audio_fd' undeclared (first use in this function) SDL_artsaudio.c:226:ARTS_P_PACKET_SETTINGS’ undeclared (first use in
this function)
SDL_artsaudio.c:230: mixlen' undeclared (first use in this function) SDL_artsaudio.c:235: warning: unreachable code at beginning of switch statement SDL_artsaudio.c:238:parent’ undeclared (first use in this function)
make[3]: *** [SDL_artsaudio.lo] Error 1
make[3]: Leaving directory
/usr/src/packages/BUILD/SDL-1.1.7/src/audio/arts' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/usr/src/packages/BUILD/SDL-1.1.7/src/audio’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/SDL-1.1.7/src’
make: *** [all-recursive] Error 1

find -name SDL_dspaudio.h

./src/audio/dsp/SDL_dspaudio.h

I believe an ‘-I…/…/…/src/audio/dsp’ needs to go there.

-jrh

System: SuSE Linux version 6.4, QT 2.2.2, KDE 2.01

I alsa noticed an artsc problem with the CVS version of SDL. It appears
as though an include path is missing:

I fixed that message in the latest CVS snapshot. I haven’t been able to
get aRts to build (errors follow), but it may compile if that was the only
problem. :slight_smile:

Errors building aRts:
make[3]: Entering directory `/home/hercules/arts-0.3.4.1/src/common’
/usr/local/bin/idl arts.idl
/usr/local/bin/idl: error in loading shared libraries: libmico2.3.4.so: cannot open shared object file: No such file or directory

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Use the arts in KDE. That’s what the driver is written for.

That’s the old, CORBA-fied version you’re trying to use.On Saturday 16 December 2000 06:56 pm, Sam Lantinga wrote:

System: SuSE Linux version 6.4, QT 2.2.2, KDE 2.01

I alsa noticed an artsc problem with the CVS version of SDL. It
appears as though an include path is missing:

I fixed that message in the latest CVS snapshot. I haven’t been able to
get aRts to build (errors follow), but it may compile if that was the
only problem. :slight_smile:

Errors building aRts:
make[3]: Entering directory `/home/hercules/arts-0.3.4.1/src/common’
/usr/local/bin/idl arts.idl
/usr/local/bin/idl: error in loading shared libraries: libmico2.3.4.so:
cannot open shared object file: No such file or directory


Neil Stevens
multivac at fcmail.com
@Neil_Stevens

keyserver search.keyserver.net
Fingerprint 86EA ECD4 F258 FB1B D88F 9136 4F49 90F8 CD3E 5C1C

Use the arts in KDE. That’s what the driver is written for.

I don’t have KDE (or enough disk space to install it at the moment)

That’s the old, CORBA-fied version you’re trying to use.

Thanks for the tip!

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Well if it helps, all you have to have installed, for artsc to work, is
kdelibs.On Sunday 17 December 2000 12:12 am, Sam Lantinga wrote:

Use the arts in KDE. That’s what the driver is written for.

I don’t have KDE (or enough disk space to install it at the moment)


Neil Stevens
multivac at fcmail.com
@Neil_Stevens

keyserver search.keyserver.net
Fingerprint 86EA ECD4 F258 FB1B D88F 9136 4F49 90F8 CD3E 5C1C

I installed kdelibs, and I tried building aRts, and it failed saying that
it didn’t have MICO or Qt. I’m using RedHat 6.1, which doesn’t have an
aRts RPM.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software> On Sunday 17 December 2000 12:12 am, Sam Lantinga wrote:

Use the arts in KDE. That’s what the driver is written for.

I don’t have KDE (or enough disk space to install it at the moment)

Well if it helps, all you have to have installed, for artsc to work, is
kdelibs.

aRts is part of the kde 2 kdelibs. There’s nothing to install separately.On Sunday 17 December 2000 11:02 am, Sam Lantinga wrote:

I installed kdelibs, and I tried building aRts, and it failed saying
that it didn’t have MICO or Qt. I’m using RedHat 6.1, which doesn’t
have an aRts RPM.


Neil Stevens
multivac at fcmail.com
@Neil_Stevens

keyserver search.keyserver.net
Fingerprint 86EA ECD4 F258 FB1B D88F 9136 4F49 90F8 CD3E 5C1C