Soloved. Had to change some stuff in the source and add some files that were not included in the original makefile. Now I hawe a ARM quake server 
This is the make file

This is the make file
CFLAGS =-O2 -march=armv4 -I../client -L../client -I./ -L./ -DSERVERONLY -fstrict-aliasing -fomit-frame-pointer -fno-strength-reduce
#CFLAGS = -g -Wall -DDEBUG -I../client -I. -DSERVERONLY
#CFLAGS =-O3 -I../client -L../client -I./ -L./ -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce
#CFLAGS = -O3 -Wall -I../client -I./ -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce
#CFLAGS = -mpentium -O2 -Wall -I../client -I. -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce
#CFLAGS=-DSERVERONLY -I../client -V2.7.2.1 -bi486-linux/ -O6 -Wall -fomit-frame-pointer -fno-strength-reduce
CLIENT_DIR=../client
EXE = qwsv
OFILES =\
sv_nchan.o \
pr_cmds.o \
pr_edict.o \
pr_exec.o \
sv_init.o \
sv_main.o \
sv_ents.o \
sv_send.o \
sv_move.o \
sv_phys.o \
sv_user.o \
sv_ccmds.o \
world.o \
sys_unix.o \
model.o \
../client/md4.o \
../client/cmd.o \
../client/common.o \
../client/crc.o \
../client/cvar.o \
../client/mathlib.o \
../client/zone.o \
../client/pmove.o \
../client/pmovetst.o \
../client/net_chan.o \
../client/net_udp.o
LDFLAGS = -lm -lnsl
$(EXE) : $(OFILES)
cc $(CFLAGS) -o $(EXE) $(OFILES) $(LDFLAGS)
clean:
rm -f $(OFILES) $(EXE)
app:
make $(CFLAGS)
profile:
make "CFLAGS = -g -pg -O -Wall -I../client -DPROFILE"
cp $(EXE) /LocalApps
.c.o: ; cc -c $(CFLAGS) -o [email protected] $*.c
.s.o: ; cc -c $(CFLAGS) -o [email protected] $*.s
#CFLAGS = -g -Wall -DDEBUG -I../client -I. -DSERVERONLY
#CFLAGS =-O3 -I../client -L../client -I./ -L./ -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce
#CFLAGS = -O3 -Wall -I../client -I./ -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce
#CFLAGS = -mpentium -O2 -Wall -I../client -I. -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce
#CFLAGS=-DSERVERONLY -I../client -V2.7.2.1 -bi486-linux/ -O6 -Wall -fomit-frame-pointer -fno-strength-reduce
CLIENT_DIR=../client
EXE = qwsv
OFILES =\
sv_nchan.o \
pr_cmds.o \
pr_edict.o \
pr_exec.o \
sv_init.o \
sv_main.o \
sv_ents.o \
sv_send.o \
sv_move.o \
sv_phys.o \
sv_user.o \
sv_ccmds.o \
world.o \
sys_unix.o \
model.o \
../client/md4.o \
../client/cmd.o \
../client/common.o \
../client/crc.o \
../client/cvar.o \
../client/mathlib.o \
../client/zone.o \
../client/pmove.o \
../client/pmovetst.o \
../client/net_chan.o \
../client/net_udp.o
LDFLAGS = -lm -lnsl
$(EXE) : $(OFILES)
cc $(CFLAGS) -o $(EXE) $(OFILES) $(LDFLAGS)
clean:
rm -f $(OFILES) $(EXE)
app:
make $(CFLAGS)
profile:
make "CFLAGS = -g -pg -O -Wall -I../client -DPROFILE"
cp $(EXE) /LocalApps
.c.o: ; cc -c $(CFLAGS) -o [email protected] $*.c
.s.o: ; cc -c $(CFLAGS) -o [email protected] $*.s
Comment