Library build errors for Alsa sound driver
Fedora Core 4 � kernel 2.6.11-1.1369_FC4-i686
IBM ThinkPad 600x 512MB ram
ALSA sound driver v1.0.9b
library v1.0.9
utilities v1.0.9a
tools v1.0.9
When I compile, all of my .c files in my alsa-lib-1.0.9 return a warning �the pointer targets in passing and return differ in signedness�
examples:
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT rawmidi_virt.lo -MD -MP -MF .deps/rawmidi_virt.Tpo -c rawmidi_virt.c -fPIC -DPIC -o .libs/rawmidi_virt.o
rawmidi_virt.c: In function 'snd_rawmidi_virtual_info':
rawmidi_virt.c:88: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
rawmidi_virt.c:89: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
rawmidi_virt.c:90: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
rawmidi_virt.c: In function 'snd_rawmidi_virtual_read':
rawmidi_virt.c:255: warning: pointer targets in passing argument 2 of 'snd_midi_event_decode' differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c timer.c -fPIC -DPIC -o .libs/timer.o
timer.c: In function 'snd_timer_info_get_id':
timer.c:508: warning: pointer targets in return differ in signedness
timer.c: In function 'snd_timer_info_get_name':
timer.c:519: warning: pointer targets in return differ in signedness
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT timer_hw.lo -MD -MP -MF ".deps/timer_hw.Tpo" \ -c -o timer_hw.lo `test -f 'timer_hw.c' || echo './'`timer_hw.c; \
then mv -f ".deps/timer_hw.Tpo" ".deps/timer_hw.Plo"; \
else rm -f ".deps/timer_hw.Tpo"; exit 1; \
conf.c: In function 'string_print':
conf.c:1231: warning: pointer targets in initialization differ in signedness
conf.c:1271: warning: pointer targets in assignment differ in signedness
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT confmisc.lo -MD -MP -MF ".deps/confmisc.Tpo" \
-c -o confmisc.lo `test -f 'confmisc.c' || echo './'`confmisc.c; \
then mv -f ".deps/confmisc.Tpo" ".deps/confmisc.Plo"; \
else rm -f ".deps/confmisc.Tpo"; exit 1;
Has anyone seen and corrected this problem? Any suggestions?
|