Hi Bastian,

I changed the name of the internal variable to avoid the overlapping. Please update and see if the issue is fixed now.

regards,
bogdan

Bastian Friedrich wrote:
Hi,

On Donnerstag 14 September 2006, Bogdan-Andrei Iancu wrote:
Ronald Wiplinger wrote:
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
just for the list info: the problem was a name overlapping between an
environment vvariable and a local variable used by make file to set
the -mtune param - both are named CPU.

I'd like to bring up this topic again before too late: I am using an openSuSE 10.2 system with
-----------
[EMAIL PROTECTED]:~> gcc --version
gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
-----------
on a machine; compilation of a fresh SVN checkout still fails due to this reason. I guess this should be fixed before 1.2...

Thx,
   Bastian



_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to