From: Anders Trier Rasmussen <anders@trier-rasmussen.dk>
Subject: Compile Mysql ver . 5.0.18 on HP Alpha Tru64 5.1a with PK6
Date: Sun, 19 Feb 2006 20:21:16 +0100 [thread overview]
Message-ID: <001601c63589$a7e17480$0200000a@oleknud> (raw)
Hej
I am trying to compile mysql ver. 5.0.18 on my HP Alpha ev. 56 with
Tru64 5.1a pk6, and I get this error all time:
In file included from /usr/include/unistd.h:64,
from /usr/include/pthread.h:318,
from ../include/my_global.h:189,
from mysys_priv.h:17,
from my_new.cc:22:
/usr/include/sys/types.h:88: declaration does not declare anything
In file included from ../include/my_sys.h:818,
from mysys_priv.h:18,
from my_new.cc:22:
/usr/include/sys/mman.h:192: declaration of C function `int
madvise(char*, long
unsigned int, int)' conflicts with
../include/my_global.h:344: previous declaration `int madvise(void*,
long
unsigned int, int)' here
gmake[2]: *** [my_new.o] Error 1
gmake[2]: Leaving directory `/usr/opt/mysql/mysql-5.0.18/mysys'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/opt/mysql/mysql-5.0.18'
gmake: *** [all] Error 2
The gcc is gcc version 2.97-tru64-010710.
The ./config look like this:
CC="gcc -pthread" CFLAGS=-I./include CXX=gcc CXXFLAGS=-O3 ./configure \
-with-low-memory --with-named-thread-libs="-lpthread -lmach -lexc"
Please help me!!
What is wrong?
Thanks in advance
Mange gode hilsner/Best regards
Anders Trier Rasmussen
reply other threads:[~2006-02-19 19:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox