hg: bsd-port/bsd-port/jdk: . Introduce macros to construct the name of shared libraries that take into
glewis at eyesbeyond.com
Sun Oct 19 00:11:40 PDT 2008
On Sat, Oct 18, 2008 at 11:52:05PM -0400, Michael Franz wrote:
> I had to add the include to jvm_md.h to the following files to get this to
> M jdk/src/share/demo/jvmti/hprof/hprof_init.c
> M jdk/src/solaris/native/sun/awt/CUPSfuncs.c
> M jdk/src/solaris/native/sun/awt/awt_Mlib.c
> M jdk/src/solaris/native/sun/awt/fontpath.c
> M jdk/src/solaris/native/sun/awt/gtk2_interface.c
> M jdk/src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h
> M jdk/src/solaris/native/sun/xawt/awt_Desktop.c
Hmmm, I'm surprised that FreeBSD uses different includes than Mac OS X.
I guess adding an explicit include may be better than relying on it being
pulled in by another header file anyway, so maybe this is a good thing.
Anyway, sorry about that. Thanks for testing things on Mac OS X.
> On Sat, Oct 18, 2008 at 5:02 PM, Michael Franz <mvfranz at gmail.com> wrote:
> > Hi,
> > I tried to build on OS X and get the following link error:
> > Undefined symbols:
> > "_JNI_LIB_NAME", referenced from:
> > _Agent_OnLoad in hprof_init.o
> > I am not sure what file is causing this problem.
> > Michael
> > On Fri, Oct 17, 2008 at 11:58 PM, <glewis at eyesbeyond.com> wrote:
> >> Changeset: 383454a2b95a
> >> Author: glewis at misty.eyesbeyond.com
> >> Date: 2008-10-17 20:59 -0700
> >> URL:
> >> http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/383454a2b95a
> >> . Introduce macros to construct the name of shared libraries that take
> >> into
> >> account the differences between how these names are constructed on MacOS
> >> X
> >> vs. other Unixes.
> >> . Use these macros consistently in the construction of shared library
> >> names
> >> for dlopen(3).
> >> . Fix misspellings of NULL as 0.
> >> ! src/solaris/bin/java_md.c
> >> ! src/solaris/javavm/export/jvm_md.h
> >> ! src/solaris/native/sun/awt/CUPSfuncs.c
> >> ! src/solaris/native/sun/awt/awt_GraphicsEnv.c
> >> ! src/solaris/native/sun/awt/awt_Mlib.c
> >> ! src/solaris/native/sun/awt/fontpath.c
> >> ! src/solaris/native/sun/awt/gtk2_interface.c
> >> ! src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h
> >> ! src/solaris/native/sun/java2d/x11/X11SurfaceData.c
> >> ! src/solaris/native/sun/jdga/dgalock.c
> >> ! src/solaris/native/sun/net/spi/DefaultProxySelector.c
> >> ! src/solaris/native/sun/nio/ch/FileChannelImpl.c
> >> ! src/solaris/native/sun/xawt/awt_Desktop.c
> >> ! src/solaris/npt/npt_md.h
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the bsd-port-dev