Try using the configure and makefile script at the top level (the TEA makefiles): cd tclblend configure --with-tcl... make Which version of gcc do you have? Do you have JDK 1.2.2+, or less than that? It almost appears that something in the JDK .h files is not getting picked up, as if there is a missing #define (or -D switch to gcc). -- Scott Bhupinder Thakur wrote: > > hello friends, > i have been trying to install tclBlend on an intel m/c running solaris. i have >already > installed jdk1.2 and tcl8.2.1 on my machine. i had to download the source code > for tclBlend1.2.5 as binaries are not available for intel platform. otherwise >installing > binaries would have been a lot easier. anyways i followed the instructions as > described in /unix subdirectory. > first i ran the configure script. the exect syntax i used was : > > ./configure --with-tcl=/export/home/users/bthakur/tcl/tcl8.2.3 >--with-jdk=/usr/java1.2 > --enable-gcc --prefix=/export/home/users/bthakur/local/tclblend >--exec-prefix=/export/ > home/users/bthakur/local/tclblend > > this worked fine. then i ran the make utility > > make > > this failed with an error ==> make: Fatal error: Command failed for target >`javaCmd.o'. > the log generated was : > rm -rf /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava > rm -f tcljava.jar > # > # Making tcljava.build > # > mkdir -p /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava > cd /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/tcljava ;\ > >CLASSPATH=/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava:/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/empty/empty.jar:/usr/java1.2/jre/lib/rt.jar > \ > /usr/java1.2/bin/javac -g \ > -d /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava \ > tcl/lang/reflect/*.java > cd /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/tcljava ;\ > >CLASSPATH=/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava:/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/empty/empty.jar:/usr/java1.2/jre/lib/rt.jar > \ > /usr/java1.2/bin/javac -g \ > -d /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava \ > tcl/lang/*.java > cp -fr >/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/tcljava/tcl/lang/library \ > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava/tcl/lang/library > cd /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava ;\ > CLASSPATH=/usr/java1.2/jre/lib/rt.jar \ > /usr/java1.2/bin/jar -cf0M >/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava.jar tcl > rm -f *.o libtclblend.so custom javaNative.h > rm -rf /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tclblend > rm -f tclblend.jar > rm -f pkgIndex.tcl > # > # Making tclblend.build > # > mkdir -p /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tclblend > cd /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/tclblend ;\ > >CLASSPATH=/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava:/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tclblend:/usr/java1.2/jre/lib/rt.jar > \ > /usr/java1.2/bin/javac -g \ > -d /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tclblend tcl/lang/*.java > cd /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tclblend ;\ > CLASSPATH=/usr/java1.2/jre/lib/rt.jar \ > /usr/java1.2/bin/jar -cf0M >/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tclblend.jar tcl > >CLASSPATH=/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tcljava:/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/tclblend:/usr/java1.2/jre/lib/rt.jar > \ > /usr/java1.2/bin/javah -jni -o javaNative.h tcl.lang.CObject tcl.lang.IdleHandler >tcl.lang.Interp tcl.lang.Notifier > tcl.lang.TclList tcl.lang.TimerHandler tcl.lang.Util > gcc -c -O -D_REENTRANT -DTCL_MEM_DEBUG -I. >-I/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native > -I/export/home/users/bthakur/tcl/tcl8.2.3/generic -I/usr/java1.2/include >-I/usr/java1.2/include/solaris -fPIC > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c > In file included from >/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/java.h:19, > from >/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:44: > /usr/java1.2/include/jni.h:49: parse error before `jlong' > /usr/java1.2/include/jni.h:49: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:116: parse error before `jlong' > /usr/java1.2/include/jni.h:116: warning: no semicolon at end of struct or union > /usr/java1.2/include/jni.h:120: parse error before `}' > /usr/java1.2/include/jni.h:120: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:261: parse error before `jvalue' > /usr/java1.2/include/jni.h:276: parse error before `jvalue' > /usr/java1.2/include/jni.h:283: parse error before `jvalue' > /usr/java1.2/include/jni.h:290: parse error before `jvalue' > /usr/java1.2/include/jni.h:297: parse error before `jvalue' > /usr/java1.2/include/jni.h:304: parse error before `jvalue' > /usr/java1.2/include/jni.h:311: parse error before `jvalue' > /usr/java1.2/include/jni.h:313: warning: no semicolon at end of struct or union > /usr/java1.2/include/jni.h:315: parse error before `*' > /usr/java1.2/include/jni.h:316: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:316: `jlong' redeclared as different kind of symbol > /usr/java1.2/include/jni.h:49: previous declaration of `jlong' > /usr/java1.2/include/jni.h:316: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:317: parse error before `*' > /usr/java1.2/include/jni.h:318: parse error before `jvalue' > /usr/java1.2/include/jni.h:318: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:318: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:325: parse error before `jvalue' > /usr/java1.2/include/jni.h:332: parse error before `jvalue' > /usr/java1.2/include/jni.h:339: parse error before `jvalue' > /usr/java1.2/include/jni.h:348: parse error before `jvalue' > /usr/java1.2/include/jni.h:357: parse error before `jvalue' > /usr/java1.2/include/jni.h:366: parse error before `jvalue' > /usr/java1.2/include/jni.h:375: parse error before `jvalue' > /usr/java1.2/include/jni.h:384: parse error before `jvalue' > /usr/java1.2/include/jni.h:393: parse error before `jvalue' > /usr/java1.2/include/jni.h:395: parse error before `*' > /usr/java1.2/include/jni.h:396: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:396: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:397: parse error before `*' > /usr/java1.2/include/jni.h:399: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:399: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:400: parse error before `*' > /usr/java1.2/include/jni.h:402: parse error before `jvalue' > /usr/java1.2/include/jni.h:402: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:402: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:411: parse error before `jvalue' > /usr/java1.2/include/jni.h:420: parse error before `jvalue' > /usr/java1.2/include/jni.h:429: parse error before `jvalue' > /usr/java1.2/include/jni.h:446: parse error before `*' > /usr/java1.2/include/jni.h:447: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:447: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:466: parse error before `jlong' > /usr/java1.2/include/jni.h:480: parse error before `jvalue' > /usr/java1.2/include/jni.h:487: parse error before `jvalue' > /usr/java1.2/include/jni.h:494: parse error before `jvalue' > /usr/java1.2/include/jni.h:501: parse error before `jvalue' > /usr/java1.2/include/jni.h:508: parse error before `jvalue' > /usr/java1.2/include/jni.h:515: parse error before `jvalue' > /usr/java1.2/include/jni.h:517: parse error before `*' > /usr/java1.2/include/jni.h:518: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:518: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:519: parse error before `*' > /usr/java1.2/include/jni.h:520: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:520: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:521: parse error before `*' > /usr/java1.2/include/jni.h:522: parse error before `jvalue' > /usr/java1.2/include/jni.h:522: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:522: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:529: parse error before `jvalue' > /usr/java1.2/include/jni.h:536: parse error before `jvalue' > /usr/java1.2/include/jni.h:543: parse error before `jvalue' > /usr/java1.2/include/jni.h:559: parse error before `*' > /usr/java1.2/include/jni.h:560: `jlong' declared as function returning a function > /usr/java1.2/include/jni.h:560: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:579: parse error before `jlong' > /usr/java1.2/include/jni.h:640: parse error before `*' > /usr/java1.2/include/jni.h:641: warning: data definition has no type or storage class > /usr/java1.2/include/jni.h:658: parse error before `jlong' > /usr/java1.2/include/jni.h:675: parse error before `jlong' > /usr/java1.2/include/jni.h:692: parse error before `jlong' > /usr/java1.2/include/jni.h:734: parse error before `}' > In file included from >/export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:45: > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:16: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:24: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:32: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:40: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:47: >parse error before > `Java_tcl_lang_CObject_newCObject' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:48: >warning: data definition has no type or > storage class > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:117: >parse error before > `Java_tcl_lang_Interp_create' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:118: >warning: data definition has no type or > storage class > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:142: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:174: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:308: >parse error before > `Java_tcl_lang_TclList_append' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:309: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:309: >warning: data definition has no type or > storage class > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:317: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:325: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:333: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:340: >parse error before > `Java_tcl_lang_TclList_replace' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:341: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:341: >warning: data definition has no type or > storage class > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:348: >parse error before > `Java_tcl_lang_TclList_splitList' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:349: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:349: >warning: data definition has no type or > storage class > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:367: >parse error before > `Java_tcl_lang_TimerHandler_createTimerHandler' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:368: >warning: data definition has no type or > storage class > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaNative.h:376: >parse error before `jlong' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c: In >function `Tclblend_Init': > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:220: >`jlong' undeclared (first use in this function) > > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:220: (Each >undeclared identifier is reported only > once > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:220: for >each function it appears in.) > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:220: parse >error before `lvalue' > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:270: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:277: >`lvalue' undeclared (first use in this > function) > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:278: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:282: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:284: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:287: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:288: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:292: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:293: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c: In >function `JavaInitBlend': > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:750: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:751: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:752: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:753: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:754: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:766: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c: In >function `JavaInterpDeleted': > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:808: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:814: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:815: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c: In >function `JavaSetupJava': > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:868: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:871: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:873: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:875: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:879: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:880: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:902: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:904: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:915: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:918: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:938: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:956: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:958: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:971: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c: In >function `ToString': > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1002: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1003: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1005: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1006: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1016: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c: In >function `JavaThrowTclException': > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1043: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1051: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1054: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1056: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1058: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1060: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c: In >function `JavaGetString': > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1096: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1097: >dereferencing pointer to incomplete type > /export/home/users/bthakur/tcl/tclBlend1.2.5/unix/../src/native/javaCmd.c:1143: >dereferencing pointer to incomplete type > *** Error code 1 > make: Fatal error: Command failed for target `javaCmd.o' > > i am waiting eagerly for the solution or to other pointers which can lead to its >solution. > till then i am stuck > thanks > - btahkur > > > > -- > -------------------------------- > > Bhupinder Thakur > Ficon Technology > E-mail : [EMAIL PROTECTED] > Web : www.ficon-tech.com > ---------------------------------------------------------------- The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe: send mail to [EMAIL PROTECTED] with the word SUBSCRIBE as the subject. To unsubscribe: send mail to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the subject. To send to the list, send email to '[EMAIL PROTECTED]'. An archive is available at http://www.mail-archive.com/tcljava@scriptics.com