Error on compiling new libspuPeopsOSS.so.1.0.9

Hi folks!
I need help in compiling (using ALSA) this lib: libspuPeopsOSS.so.1.0.9

After reading this and this, I modified the Makefile inside src folder this way:

##############################################################################
# MAKEFILE FOR THE PEOPS OSS SPU... just run "make"
##############################################################################

##############################################################################
# 1. SETS (CCFLAGS3 is used)
##############################################################################

# Set to TRUE to build the ALSA support
USEALSA = TRUE
# Set to TRUE to disable the thread library support - helpful for some Linux distros
NOTHREADLIB = FALSE

##############################################################################

 CC = gcc
 CCFLAGS1 = -fPIC -c -Wall -m486 -O3
 CCFLAGS2 = -fPIC -c -Wall -m486 -O2 -ffast-math
CCFLAGS3 = -fPIC -c -Wall $(RPM_OPT_FLAGS) -O3 -ffast-math -fomit-frame-pointer
 INCLUDE =
 LINK = gcc
 LINKFLAGS = -shared -Wl,-soname,libspuPeopsOSS.so -o libspuPeopsOSS.so.1.0.1
 OBJ =   spu.o cfg.o dma.o freeze.o oss.o psemu.o registers.o
LIB = -lpthread -lm -L/usr/X11R6/lib -L/usr/lib

ifeq ($(USEALSA), TRUE)
    OBJ+= alsa.o
    LIB+= -lasound
    LINKFLAGS = -shared -Wl,-soname,libspuPeopsALSA.so -o libspuPeopsALSA.so.1.0.9
    CCFLAGS3+= -DUSEALSA
else
    OBJ+= oss.o
    LINKFLAGS = -shared -Wl,-soname,libspuPeopsOSS.so -o libspuPeopsOSS.so.1.0.9
endif

ifeq ($(NOTHREADLIB), TRUE)
    CCFLAGS3+= -DNOTHREADLIB
else
    LIB+= -lpthread
endif



##############################################################################
# 2. MAIN RULE
##############################################################################

spuPeopsOSS :    $(OBJ)
        $(LINK) $(LINKFLAGS) $(OBJ) $(LIB)

##############################################################################
# 3. GENERAL RULES
##############################################################################

%.o     : %.c
    $(CC) $(CCFLAGS3) $(INCLUDE) $<

##############################################################################
# 4. SPECIFIC RULES
##############################################################################

spu.o  : spu.c stdafx.h externals.h cfg.h dsoundoss.h regs.h debug.h xa.c reverb.c adsr.c
cfg.o  : cfg.c stdafx.h externals.h
dma.o : dma.c stdafx.h externals.h
freeze.o : freeze.c stdafx.h externals.h registers.h spu.h regs.h
oss.o : oss.c stdafx.h externals.h
alsa.o : alsa.h stdafx.h externals.h
psemu.o : psemu.c stdafx.h externals.h regs.h dma.h
registers.o : registers.c stdafx.h externals.h registers.h regs.h reverb.h
zn.o : zn.c stdafx.h xa.h

.PHONY: clean spuPeopsOSS

clean:
    rm -f *.o *.so

make gives error:

gcc -shared -Wl,-soname,libspuPeopsALSA.so -o libspuPeopsALSA.so.1.0.9 spu.o cfg.o dma.o freeze.o oss.o psemu.o registers.o alsa.o -lpthread -lm -L/usr/X11R6/lib -L/usr/lib -lasound -lpthread
alsa.o: nella funzione "timeGetTime":
alsa.c:(.text+0x0): definizione multipla di "timeGetTime"
oss.o:oss.c:(.text+0x0): definito qui per la prima volta
alsa.o: nella funzione "SetupSound":
alsa.c:(.text+0x50): definizione multipla di "SetupSound"
oss.o:oss.c:(.text+0x50): definito qui per la prima volta
alsa.o: nella funzione "RemoveSound":
alsa.c:(.text+0x3c0): definizione multipla di "RemoveSound"
oss.o:oss.c:(.text+0x1c0): definito qui per la prima volta
alsa.o: nella funzione "SoundGetBytesBuffered":
alsa.c:(.text+0x400): definizione multipla di "SoundGetBytesBuffered"
oss.o:oss.c:(.text+0x1f0): definito qui per la prima volta
alsa.o: nella funzione "SoundFeedStreamData":
alsa.c:(.text+0x450): definizione multipla di "SoundFeedStreamData"
oss.o:oss.c:(.text+0x240): definito qui per la prima volta
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: saltato /usr/lib/libasound.so incompatibile durante la ricerca di -lasound
collect2: error: ld returned 1 exit status
make: *** [spuPeopsOSS] Errore 1
sudo find / -name 'libasound.so'
/usr/lib64/libasound.so
/usr/lib/libasound.so
rpm -qf /usr/lib/libasound.so
alsa-devel-32bit-1.0.27.2-3.5.1.x86_64
zypper se alsa-devel-32bit

S | Nome             | Sommario                                                  | Tipo     
--+------------------+-----------------------------------------------------------+----------
i | alsa-devel-32bit | File di inclusione e librerie obbligatori per lo sviluppo | pacchetto