On 12 Jan 2003 18:56:17 -0500
Caleb Shay <[EMAIL PROTECTED]> wrote:

> Problem:
> Using gcc 3.2.1
> 
> Archiving xmame.obj/neogeo.a ...
> Compiling src/vidhrdw/vector.c ...
> Linking xmame.x11 ...
> xmame.obj/williams.a(williams.o)(.text+0x8e4): In function
> `williams_cvsd_init':
> : undefined reference to `mame_find_cpu_index'
> xmame.obj/williams.a(williams.o)(.text+0xa8f): In function
> `williams_adpcm_init'

Adding :

#include "mame.h"

to file src/sndhrdw/williams.c seems to fix the problem. I say "seems"
because I'm
having some trouble with Alsa, now :

[... xterm buffer not big enough ...]
xmame.obj/unix.x11/osdepend.a(alsa.o)(.text+0x8e4): In function
`alsa_dsp_set_params':
: undefined reference to `snd_pcm_hw_params_sizeof'
xmame.obj/unix.x11/osdepend.a(alsa.o)(.text+0x901): In function
`alsa_dsp_set_params':
: undefined reference to `snd_pcm_sw_params_sizeof'
xmame.obj/unix.x11/osdepend.a(alsa.o)(.text+0x915): In function
`alsa_dsp_set_params':
: undefined reference to `snd_pcm_sw_params_sizeof'
xmame.obj/unix.x11/osdepend.a(alsa.o)(.text+0x93a): In function
`alsa_dsp_set_params':
: undefined reference to `snd_pcm_hw_params_any'
xmame.obj/unix.x11/osdepend.a(alsa.o)(.text+0x958): In function
`alsa_dsp_set_params':
: undefined reference to `snd_pcm_hw_params_set_access'
xmame.obj/unix.x11/osdepend.a(alsa.o)(.text+0x977): In function
`alsa_dsp_set_params':
: undefined reference to `snd_pcm_hw_params_set_format'
xmame.obj/unix.x11/osdepend.a(alsa.o)(.text+0x996): In function
`alsa_dsp_set_params':
: undefined reference to `snd_pcm_hw_params_set_channels'
xmame.obj/unix.x11/osdepend.a(alsa.o)(.text+0x9bd): In function
`alsa_dsp_set_params':
: undefined reference to `snd_pcm_hw_params_set_rate_near'
xmame.obj/unix.x11/osdepend.a(alsa.o)(.text+0x9dc): In function
`alsa_dsp_set_params':
[...]

Uh-oh. Too late to try to figure this out. Gone to bed.


-- 
Benjamin FRANCOIS <[EMAIL PROTECTED]>
DESS CLABD - Université de Poitiers

_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to