Randy, I noticed this on AIX 4.1 also, but only with the gcc compiler. If I changed and used xlc, then the compile went fine. It seems that there is some code in the header files from the java stuff that isn't written very nicely.
David On Thu, 10 Feb 2000, Randy Polson wrote: > > Hello. > I am having troubles getting javadx to compile. Cvs update feb7. > To configure properly, I set the jni-path and java40-path in configure: > --with-jni-path=/path/to/J1.1.8/:/path/to/J1.1.8/include:/path/to/J1.1.8/include/aix > --with-java40jar-path=/path/to/java40.jar > > The make fails at src/uipp/java/server/DXLink.c with output below. > > The configure required lots of explicit paths. Do I have to do something > like add another path or possibly change the java flags in > the Makefile to make this work? > > Thanks for suggestions, > Randy > > --------- > make[1]: Entering directory > `/OpenDX/dx-4.0.10/dx/src/uipp/java' > (cd dxsc; javah -d ../server server.DXServer server.DXServerThread) > awk: newline in character class [/ > ]*$... > input record number 2, file > source line number 1 > (cd server; gcc -o ../DXLink.o -I../../../../include -c -Dibm6000 > -I/OpenDX/J1.1.8/include > -I/OpenDX/J1.1.8/include/aix DXLink.c) > In file included from /OpenDX/J1.1.8/include/jni.h:36, > from > /OpenDX/J1.1.8/include/interpreter.h:42, > from /OpenDX/J1.1.8/include/native.h:20, > from server_DXServerThread.h:2, > from DXLink.c:30: > /OpenDX/J1.1.8/include/aix/jni_md.h:89: parse error before `*' > /OpenDX/J1.1.8/include/aix/jni_md.h:89: warning: > initialization makes pointer from integer without a cast > /J1.1.8/include/aix/jni_md.h:89: initializer element is not constant > /OpenDX/J1.1.8/include/aix/jni_md.h:89: warning: data definition has no > type or storage class > /OpenDX/J1.1.8/include/aix/jni_md.h:89: parse error before `if' > /OpenDX/J1.1.8/include/aix/jni_md.h:89: parse error before `1' > /OpenDX/J1.1.8/include/aix/jni_md.h:89: warning: data > definition has no type or storage class > /OpenDX/J1.1.8/include/aix/jni_md.h:89: parse error before `->' > /OpenDX/J1.1.8/include/aix/jni_md.h:89: redefinition of > `_currentSuspendState' > /OpenDX/J1.1.8/include/aix/jni_md.h:89: > `_currentSuspendState' previously defined here > /OpenDX/J1.1.8/include/aix/jni_md.h:89: warning: data > definition has no type or storage class > /OpenDX/J1.1.8/include/aix/jni_md.h:89: parse error before `}' > /OpenDX/J1.1.8/include/aix/jni_md.h:127: warning: This file > contains more `}'s than `{'s. > In file included from > /OpenDX/J1.1.8/include/interpreter.h:42, > from /OpenDX/J1.1.8/include/native.h:20, > from server_DXServerThread.h:2, > from DXLink.c:30: > /OpenDX/J1.1.8/include/jni.h:1858: warning: This file contains more `}'s > than `{'s. > In file included from /OpenDX/J1.1.8/include/native.h:20, > from server_DXServerThread.h:2, > from DXLink.c:30: > /OpenDX/J1.1.8/include/interpreter.h:1070: warning: This > file contains more `}'s than `{'s. > In file included from server_DXServerThread.h:2, > from DXLink.c:30: > /OpenDX/J1.1.8/include/native.h:26: warning: This file > contains more `}'s than `{'s. > In file included from DXLink.c:30: > server_DXServerThread.h:117: warning: This file contains more `}'s than > `{'s. > DXLink.c: In function `Java_server_DXServerThread_DXLExecuteOnce': > DXLink.c:131: warning: cast to pointer from integer of different size > DXLink.c: In function `Java_server_DXServer_DXLSend': > DXLink.c:208: warning: cast to pointer from integer of different size > DXLink.c: In function `Java_server_DXServerThread_DXLLoadVisualProgram': > DXLink.c:227: warning: cast to pointer from integer of different size > DXLink.c: In function `Java_server_DXServer_DXLExitDX': > DXLink.c:243: warning: cast to pointer from integer of different size > DXLink.c: In function `Java_server_DXServerThread_DXLIsMessagePending': > DXLink.c:272: warning: cast to pointer from integer of different size > DXLink.c: In function > `Java_server_DXServerThread_DXLHandlePendingMessages': > DXLink.c:286: warning: cast to pointer from integer of different size > make[1]: *** [DXLink.o] Error 1 > make[1]: Leaving directory > `/OpenDX/dx-4.0.10/dx/src/uipp/java' > > -------------------------------------------------------------------- David L. Thompson e-mail:[EMAIL PROTECTED] University of Montana/CS Department Missoula, MT 59812 Work Phone : (406)243-4793