From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7495 invoked by alias); 27 Apr 2006 22:33:24 -0000 Received: (qmail 7472 invoked by uid 48); 27 Apr 2006 22:33:20 -0000 Date: Thu, 27 Apr 2006 22:33:00 -0000 Message-ID: <20060427223320.7470.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/27330] natSystemProperties.cc:213: error: 'getpwuid_r' was not declared in this scope In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "andreast at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2006-q2/txt/msg00186.txt.bz2 List-Id: ------- Comment #3 from andreast at gcc dot gnu dot org 2006-04-27 22:33 ------- I'll submit the patch tommorow. It has been in my queue for a longer time. Index: configure.ac =================================================================== --- configure.ac (revision 113320) +++ configure.ac (working copy) @@ -811,6 +811,14 @@ THREADLIBS='-lpthread -lrt' THREADSPEC='-lpthread -lrt' ;; + hppa*-hp-hpux*) + THREADCXXFLAGS=-pthread + # boehm-gc needs some functions from librt, so link that too. + THREADLIBS='-lpthread -lrt' + THREADSPEC='-lpthread -lrt' + # HPUX needs REENTRANT for the _r calls. + AC_DEFINE(_REENTRANT, 1, [Required define if using POSIX threads]) + ;; *) THREADLIBS=-lpthread THREADSPEC=-lpthread -- andreast at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |andreast at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-04-27 22:33:19 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27330