[OpenSER-Devel] SF.net SVN: openser: [3411] trunk/Makefile.defs

Henning Westerholt henning.westerholt at 1und1.de
Mon Dec 17 13:21:28 UTC 2007


On Monday 17 December 2007, Bogdan-Andrei Iancu wrote:
> Hi Henning,
>
> a simple compile attempt with gcc 3.3.6 fails:
>
> Compiling datagram_fnc.c
> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
> -minline-all-stringops -falign-loops -mtune=prescott
> -DMOD_NAME='"mi_datagram"'    -DNAME='"openser"'
> -DVERSION='"1.4.0dev0-notls"' -DARCH='"i386"' -DOS='"linux"'
> -DCOMPILER='"gcc 3.3.6"' -D__CPU_i386 -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
> -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
> -DSVNREVISION='"2:3408M"'  -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 datagram_fnc.c -o datagram_fnc.o
> cc1: error: invalid option `tune=prescott'
>
> a look into GNU docs reveals that mtune does not exists for 3.3.6:

Hi Bogdan,

yes, i probably get lost in the myriad of different compile options of the 
many gcc flavours. This parameter is here called 'mcpu'.. Lets hope that the 
distributions that uses 3.X will die soon.. ;-)

Cheers,

Henning



More information about the Devel mailing list