netbsd port ?

Renju Mathew m.renju at teles.com
Thu Jul 9 03:32:11 PDT 2009


Hi 

 

Thanks you very much. It worked.

But after all the compilation I got the following error

 

All done.

gmake[6]: Leaving directory
`/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir/bsd
_i486_compiler2/product'

cd bsd_i486_compiler2/product && ./test_gamma

java full version "1.6.0_14-b08"

[1]   Segmentation fault (core dumped) ./${gamma:-gamma...

gmake[5]: *** [product] Error 139

gmake[5]: Leaving directory
`/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir'

gmake[4]: *** [generic_build2] Error 2

gmake[4]: Leaving directory
`/teles/rema/jdk/1stMethod/bsd-port/hotspot/make'

gmake[3]: *** [product] Error 2

gmake[3]: Leaving directory
`/teles/rema/jdk/1stMethod/bsd-port/hotspot/make'

gmake[2]: *** [hotspot-build] Error 2

gmake[2]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port'

gmake[1]: *** [build_product_image] Error 2

gmake[1]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port'

gmake: *** [dev-build] Error 2

 

Please, advise. Thanks!

 

Renju

 

   > -----Original Message-----

   > From: Christos Zoulas [mailto:christos at zoulas.com]

   > Sent: Wednesday, July 08, 2009 5:44 PM

   > To: Renju Mathew; S.P.Zeidler

   > Cc: bsd-port-dev at openjdk.java.net

   > Subject: RE: netbsd port ?

   > 

   > On Jul 8,  5:39pm, m.renju at teles.com ("Renju Mathew") wrote:

   > -- Subject: RE: netbsd port ?

   > 

   > | Hi

   > |

   > | Thanks for all the support. I was able to move a little further
in

   > the

   > | OpenJDK compilation on NetBSD3.1

   > |

   > | But Now I am facing a new problem. As I continue with the
compilation

   > it

   > | ended up with the following error.

   > 

   > NetBSD does not have getpeereid(), use the following implementation

   > from

   > openssh:

   > 

   > 

   > #if defined(SO_PEERCRED)

   > int

   > getpeereid(int s, uid_t *euid, gid_t *gid)

   > {

   >         struct ucred cred;

   >         socklen_t len = sizeof(cred);

   > 

   >         if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, &cred, &len) <
0)

   >                 return (-1);

   >         *euid = cred.uid;

   >         *gid = cred.gid;

   > 

   >         return (0);

   > }

   > #else

   > int

   > getpeereid(int s, uid_t *euid, gid_t *gid)

   > {

   >         *euid = geteuid();

   >         *gid = getgid();

   > 

   >         return (0);

   > }

   > #endif /* defined(SO_PEERCRED) */

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20090709/ed60b65e/attachment.html 


More information about the bsd-port-dev mailing list