Hello,
is you system 64b architecture? Could you post the result of:
uname -a
-mtune option for gcc is used to optimize the code for local machine.
The makefile detects the type of arch and OS and forces tunnings to
compilation.
You can try following:
- edit Makefile.defs
- find line "ifeq ($(ARCH), x86_64)" and inside that block you will see
CFLAGS+=-minline-all-stringops \
-falign-loops \
-ftree-vectorize \
-mtune=$(CPU)
Remove the -mtune=$(CPU) and try again.
Cheers,
Daniel
On 07/03/06 19:02, testcis wrote:
Hello! So glad to join your community. We've
desided to use our server like a sipproxy server, but I have a priblem during installation
of OpenSER. It looks like there are some troubles with Makefile. I have Pentium-D 3200
Suse server and whenever I try to compile OpenSER I have the following message:
linksysserver:/openser-1.0.1 # make all
Compiling action.c
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops
-ftree-vectorize -mtune=x86_64 -DNAME='"openser"'
-DVERSION='"1.0.1"' -DARCH='"x86_64"'
-DOS='"linux"' -DCOMPILER='"gcc 4.1.0"' -D__CPU_x86_64
-D__OS_linux -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DHAVE_RESOLV_RES -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -c action.c -o action.o
action.c:1: error: bad value (x86_64) for -mtune= switch
make: *** [action.o] Error 1
Do you have any ideas on how to solve this problem?
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users