Hello Guest

Build break?

  • 1 Replies
  • 7801 Views
Build break?
« on: June 25, 2003, 18:33:10 »
So, before I go and try to figure out code that I'm unfamiliar with, anybody recognize this build error? FYI, I'm building using a RH 7.3 system...

Code: [Select]
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../common  -fno-rtti -fno-exceptions -pthread -D_X11 -D_ISOC99_SOURCE -Wall -I/opt/java/include -I/opt/java/include/linux -I/home/dhedrick/LWJGL/install/include/  -g -O2 -c org_lwjgl_Sys.cpp
rm -f .libs/org_lwjgl_Sys.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../common -fno-rtti -fno-exceptions -pthread -D_X11 -D_ISOC99_SOURCE -Wall -I/opt/java/include -I/opt/java/include/linux -I/home/dhedrick/LWJGL/install/include/ -g -O2 -c org_lwjgl_Sys.cpp       -fPIC -DPIC -o .libs/org_lwjgl_Sys.lo
org_lwjgl_Sys.cpp: In function `jint Java_org_lwjgl_Sys_nGetNULLValue
(JNIEnv *, _jclass *)':
org_lwjgl_Sys.cpp:59: warning: return to non-pointer type `jint' from
NULL
org_lwjgl_Sys.cpp:59: warning: argument to non-pointer type `int' from
NULL
org_lwjgl_Sys.cpp: In function `jint
Java_org_lwjgl_Sys_getDirectBufferAddress (JNIEnv *, _jclass *,
_jobject *)':
org_lwjgl_Sys.cpp:70: no matching function for call to
`JNIEnv_::GetDirectBufferAddress (_jobject *&)'
org_lwjgl_Sys.cpp: In function `_jobject
*Java_org_lwjgl_Sys_createDirectBuffer (JNIEnv *, _jclass *, int,
int)':
org_lwjgl_Sys.cpp:81: no matching function for call to
`JNIEnv_::NewDirectByteBuffer (void *, jint &)'
make[2]: *** [org_lwjgl_Sys.lo] Error 1
make[2]: Leaving directory `/home/dhedrick/LWJGL/LWJGL-local/src/native/linux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dhedrick/LWJGL/LWJGL-local/src/native'
make: *** [all-recursive-am] Error 2


-daniel

PS Can somebody for God's sake PLEASE change the code color in the theme from orange to black or dark grey or something?!?
here are 10 types of people in this world...
Those who understand binary, and those who don't.

Never Mind
« Reply #1 on: June 25, 2003, 18:38:33 »
:shock:

It helps if you're JAVA_HOME is set a 1.4 JDK!

</unstupid>

-daniel
here are 10 types of people in this world...
Those who understand binary, and those who don't.