[Users] action.c:1: error: bad value (x86_64) for -mtune= switch
Ronald Wiplinger
ronald at elmit.com
Mon Sep 11 04:33:35 CEST 2006
First try to compile Openser on an AMD Semperon CPU:
openser-1.1.0-tls> 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.1.0-notls"' -DARCH='"x86_64"' -DOS='"linux"'
-DCOMPILER='"gcc 4.1.0"' -D__CPU_x86_64 -D__OS_linux -D__SMP_no
-DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
-DF_MALLOC -DSTATISTICS -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 -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
-c action.c -o action.o
action.c:1: error: bad value (x86_64) for -mtune= switch
make: *** [action.o] Error 1
How can I solve that?
bye
Ronald
More information about the sr-users
mailing list