|
From: Andreas W. <And...@ei...> - 2003-10-08 15:41:15
|
Eric, I'm not the maintainer of the HP-UX build but I'm currently working with = Leif to port the Wrapper to a more generic build system to get around = potential OS version and architecture quirks (perhaps by using libtool). As I read from the libtool mailing list this morning, they have some = trouble with HP-UX too (see = http://www.mail-archive.com/li...@gn.../msg04276.html). HP switched to allow ELF-64bit libraries on HP-UX 11.x and higher. This = is true for both the PA2.0 and Intel's ia64 architectures and has the = extension .so. On older PA-RISC systems, only the so-called SOM-32bit = library format is available. This has the extension .sl. The makefile for HP-UX uses gcc as a linker, which seems to be capable = of only building ELF-64 shared libraries (according to one libtool guy). = If you want to build SOM-32 shared libraries, you need to use HP's = linker ld (and better also the compiler cc). If you like, I am able to provide a makefile that uses HP's stuff. Or you download HP's newest version of their JDK from = http://www.hp.com/products1/unix/java/java2/sdkrte14/index.html. They claim there that is has support for 64 bit. Cheers, Andreas Wendt > -----Original Message----- > From: EXT-Smith, Eric M [mailto:eri...@BO...] > Sent: Tuesday, October 07, 2003 11:11 PM > To: wra...@li... > Subject: [Wrapper-user] Re: HP-UX libwrapper.so fails to load >=20 >=20 > Leif, >=20 > I would very much like to get this done and will offer as=20 > much assistance as possible. >=20 > I pulled down the tarball and have tried to build and test=20 > the system. The compile is fine using gcc (some complaints=20 > about the -O parameter to gcc). >=20 > Onec I get the build done, I try to run the test and=20 > testwrapper is failing. >=20 > Further investigation indicates that the JDK is only capable=20 > of loading a 32-bit shared library using the=20 > System.loadLibrary() method. The shared library on the=20 > PA-RISC 1.1 box is constructed as a 64-bit .so and cannot be loaded. >=20 > I am trying to get the system to create a 32-bit .so, but=20 > have not found out how to do so yet. If you have any=20 > knowledge on getting gcc to force a specific size compile=20 > like this, I will try to incorporate it in my tests. >=20 > Keep in mind that all I have to build the wrapper is what I=20 > can download from sourceforge, gnu, or any other free,=20 > open-source community. >=20 > Eric M. Smith > Infostructure Systems > Boeing Chairmans Innovation Initiative. >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user >=20 |