From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: rodneys@lodging.com Newsgroups: gmane.os.tru64.managers Subject: problems compiling mysql on Tru64 Date: Mon, 03 Feb 2003 15:02:57 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <1044302577.3e3ecaf187c64@mx.lodging.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1044302580 7191 80.91.224.249 (3 Feb 2003 20:03:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2003 20:03:00 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18fmny-0001rY-00 for ; Mon, 03 Feb 2003 21:02:58 +0100 Original-Received: (qmail 10462 invoked by uid 5); 3 Feb 2003 20:04:44 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 10453 invoked by uid 49493); 3 Feb 2003 20:04:43 -0000 Original-Received: from rodneys@lodging.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.0/5.0):. Processed in 0.368066 secs); 03 Feb 2003 20:04:43 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 3 Feb 2003 20:04:43 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9R00AGM13MHS@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Feb 2003 15:04:42 -0500 (EST) Original-Received: from mx.lodging.com ([129.250.224.61]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9R0043613LD0@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Feb 2003 15:04:34 -0500 (EST) Original-Received: from localhost (mx.lodging.com [192.168.2.61]) by mx.lodging.com (8.12.5/8.12.5) with ESMTP id h13K2veu222705 for ; Mon, 03 Feb 2003 15:03:07 -0500 (EST) Original-Received: from 63.83.19.2 ( [63.83.19.2]) as user rodneys@mx.lodging.com by mx.lodging.com with HTTP; Mon, 03 Feb 2003 15:02:57 -0500 X-Originating-IP: 63.83.19.2 Original-To: tru64-unix-managers@ornl.gov User-Agent: Internet Messaging Program (IMP) 3.1 Xref: main.gmane.org gmane.os.tru64.managers:3198 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3198 Hello: I have compiled mysql 3.23 but when I run gnu's make, I get the following error: cc: Error: /usr/include/pthread.h, line 312: #error "Please compile the module including pthread.h with -pthread" (errormessage) # error "Please compile the module including pthread.h with -pthread" ---^ cc: Warning: /usr/include/pthread.h, line 1256: In this declaration, there is no declarator. (nodcl) extern int pthread_mutex_lock (pthread_mutex_t*); -------^ cc: Warning: /usr/include/pthread.h, line 1284: In this declaration, there is no declarator. (nodcl) extern int pthread_mutex_unlock (pthread_mutex_t*); -------^ make[2]: *** [my_gethostbyname.lo] Error 1 make[2]: Leaving directory `/usr/install/mysql/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/install/mysql' make: *** [all-recursive-am] Error 2 This is the configure command I'm using: CC="cc -pthread" CXX="cxx -pthread -O" \ ./configure --with-named-thread-libs="-lpthread -lmach -lexc -lc" Does anybody have a clue? Rodney ------------------------------------------------- Get a Room at http://www.lodging.com