[Bug libgcj/27330] natSystemProperties.cc:213: error: 'getpwuid_r' was not declared in this scope

andreast at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 30 21:09:00 GMT 2006



------- Comment #4 from andreast at gcc dot gnu dot org  2006-04-30 21:09 -------
This one works too, found by Dave.

--- configure.ac        (revision 113252)
+++ configure.ac        (working copy)
@@ -805,7 +805,7 @@
        THREADLDFLAGS=-pthread
        THREADSPEC=-lpthread
        ;;
-     alpha*-dec-osf*)
+     alpha*-dec-osf* | hppa*-hp-hpux*)
        THREADCXXFLAGS=-pthread
        # boehm-gc needs some functions from librt, so link that too.
        THREADLIBS='-lpthread -lrt'

We will submit once the libjava port is done on this arch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27330



More information about the Gcc-bugs mailing list