From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Trier Rasmussen Newsgroups: gmane.os.tru64.managers Subject: Compile Mysql ver . 5.0.18 on HP Alpha Tru64 5.1a with PK6 Date: Sun, 19 Feb 2006 20:21:16 +0100 Message-ID: <001601c63589$a7e17480$0200000a@oleknud> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140376919 32554 80.91.229.2 (19 Feb 2006 19:21:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2006 19:21:59 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sun Feb 19 20:21:55 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1FAu7v-00037o-MP for gotm-tru64-unix-managers@gmane.org; Sun, 19 Feb 2006 20:21:48 +0100 Original-Received: (qmail 27388 invoked by uid 49509); 19 Feb 2006 19:21:32 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27378 invoked by uid 49501); 19 Feb 2006 19:21:32 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 0.365488 secs); 19 Feb 2006 19:21:32 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute1.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 19 Feb 2006 19:21:31 -0000 Original-Received: from emroute1.ornl.gov (localhost [127.0.0.1]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IUY00NNP8FV4Q@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 19 Feb 2006 14:21:31 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.ornl.gov by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) id <0IUY00H028FQR8@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 19 Feb 2006 14:21:31 -0500 (EST) Original-Received: from EXSMTP02.hostedexchange.dk (exsmtp02.hostedexchange.dk [80.160.77.67]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IUY00GAM8FPMW@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 19 Feb 2006 14:21:26 -0500 (EST) Original-Received: from oleknud ([85.82.197.96]) by EXSMTP02.hostedexchange.dk with Microsoft SMTPSVC(6.0.3790.211); Sun, 19 Feb 2006 20:21:24 +0100 Original-To: tru64-unix-managers@ornl.gov X-Envelope-from: anders@trier-rasmussen.dk X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on email.cind.ornl.gov X-Spam-Level: *** X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_00,ORNL_VERT_MSGID, WEIRD_PORT autolearn=no version=3.1.0 X-OriginalArrivalTime: 19 Feb 2006 19:21:24.0813 (UTC) FILETIME=[AC899FD0:01C63589] Xref: news.gmane.org gmane.os.tru64.managers:8799 Archived-At: 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