Openoffice problem?

CARTER Anthony a.carter at cordis.lu
Thu Apr 17 02:39:43 PDT 2003


Is there a problem with the latest openoffice port?  I run a portupgrade -r 
editors/openoffice, and it stops with the error below. I had originally 
deleted java from my distfiles so I thought it was that, but it is not. 
Anyway, I replaced them and still get the error given below. Please note that 
I am using the WITH_BSD_JDK=TRUE.

Bug? the jni.h file does exist on my system (its the first error that I can 
find) so I don't know why it says no such file...What is the :30:20: on that 
same error line? (to a non-programmer please)

Thanks,
Anthony

lude -D_THREAD_SAFE -I/usr/local/jdk1.3.1/include -O2 
../dist/../libdb_java/java_Db.c  -fPIC -DPIC -o java_Db.lo
In file included from ../libdb_java/java_Db.c:13:
/usr/local/jdk1.3.1/include/jni.h:30:20: jni_md.h: No such file or directory
In file included from ../libdb_java/java_Db.c:13:
/usr/local/jdk1.3.1/include/jni.h:48: syntax error before "jsize"
/usr/local/jdk1.3.1/include/jni.h:48: warning: data definition has no type or 
storage class
/usr/local/jdk1.3.1/include/jni.h:107: syntax error before "jbyte"
/usr/local/jdk1.3.1/include/jni.h:110: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:196: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:198: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:201: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:204: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:206: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:209: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:212: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:214: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:217: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:224: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:226: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:228: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:230: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:235: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:238: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:240: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:242: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:244: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:246: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:251: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:253: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:255: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:257: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:260: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:262: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:265: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:268: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:270: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:272: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:275: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:277: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:279: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:289: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:291: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:293: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:296: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:298: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:300: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:317: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:319: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:321: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:324: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:326: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:328: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:331: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:333: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:335: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:338: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:340: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:343: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:347: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:349: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:352: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:365: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:367: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:370: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:374: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:376: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:379: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:401: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:403: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:406: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:410: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:412: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:415: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:419: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:421: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:424: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:428: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:431: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:433: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:437: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:439: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:445: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:447: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:450: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:452: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:454: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:456: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:458: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:460: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:462: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:464: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:466: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:469: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:472: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:474: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:476: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:479: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:481: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:483: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:493: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:495: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:497: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:500: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:502: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:504: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:521: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:523: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:525: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:528: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:530: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:532: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:535: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:537: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:539: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:542: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:544: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:546: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:550: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:552: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:558: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:560: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:563: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:565: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:567: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:569: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:571: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:573: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:575: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:577: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:579: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:582: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:586: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:588: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:591: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:595: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:597: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:604: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:606: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:608: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:611: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:613: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:615: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:617: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:619: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:621: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:623: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:625: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:628: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:632: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:634: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:640: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:642: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:645: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:647: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:649: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:651: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:653: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:655: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:657: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:659: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:662: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:664: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:666: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:668: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:670: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:672: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:674: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:676: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:679: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:681: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:683: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:685: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:687: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:689: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:691: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:693: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:710: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:712: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:715: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:717: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:720: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:722: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:725: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:727: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:730: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:1820: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1828: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1837: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1840: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1848: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1849: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:1850: syntax error before '*' token
/usr/local/jdk1.3.1/include/jni.h:1857: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1873: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1907: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1908: warning: data definition has no type 
or storage class
/usr/local/jdk1.3.1/include/jni.h:1910: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1911: warning: data definition has no type 
or storage class
/usr/local/jdk1.3.1/include/jni.h:1913: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1914: syntax error before "jsize"
/usr/local/jdk1.3.1/include/jni.h:1914: warning: data definition has no type 
or storage class
/usr/local/jdk1.3.1/include/jni.h:1917: syntax error before "jint"
/usr/local/jdk1.3.1/include/jni.h:1918: warning: data definition has no type 
or storage class
/usr/local/jdk1.3.1/include/jni.h:1920: syntax error before "void"
In file included from ../libdb_java/java_util.h:38,
                 from ../libdb_java/java_Db.c:21:
../libdb_java/java_info.h:164: syntax error before "jint"
../libdb_java/java_info.h:168: syntax error before "jint"
../libdb_java/java_info.h:178: syntax error before "dbji_get_flags"
../libdb_java/java_info.h:178: warning: data definition has no type or storage 
class
../libdb_java/java_info.h:186: syntax error before "jint"
In file included from ../libdb_java/java_util.h:39,
                 from ../libdb_java/java_Db.c:21:
../libdb_java/java_locked.h:43: syntax error before "jbyte"
In file included from ../libdb_java/java_Db.c:21:
../libdb_java/java_util.h:48: syntax error before "jlong"
../libdb_java/java_util.h:145: syntax error before "jint"
../libdb_java/java_util.h:151: syntax error before "jlong"
In file included from ../libdb_java/java_Db.c:22:
../libdb_java/com_sleepycat_db_Db.h:15: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:23: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:32: syntax error before "jint"
../libdb_java/com_sleepycat_db_Db.h:32: warning: data definition has no type 
or storage class
../libdb_java/com_sleepycat_db_Db.h:39: syntax error before "jobject"
../libdb_java/com_sleepycat_db_Db.h:48: syntax error before "jint"
../libdb_java/com_sleepycat_db_Db.h:48: warning: data definition has no type 
or storage class
../libdb_java/com_sleepycat_db_Db.h:55: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:63: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:72: warning: data definition has no type 
or storage class
../libdb_java/com_sleepycat_db_Db.h:79: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:88: syntax error before "jint"
../libdb_java/com_sleepycat_db_Db.h:88: warning: data definition has no type 
or storage class
../libdb_java/com_sleepycat_db_Db.h:95: syntax error before "jboolean"
../libdb_java/com_sleepycat_db_Db.h:104: warning: data definition has no type 
or storage class
../libdb_java/com_sleepycat_db_Db.h:111: syntax error before "jobject"
../libdb_java/com_sleepycat_db_Db.h:119: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:127: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:136: syntax error before "jint"
../libdb_java/com_sleepycat_db_Db.h:136: warning: data definition has no type 
or storage class
../libdb_java/com_sleepycat_db_Db.h:143: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:151: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:159: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:167: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:175: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:183: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:191: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:199: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:207: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:215: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:223: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:231: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:239: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:247: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:255: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:263: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:271: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:279: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:287: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:295: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:303: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:311: syntax error before "jobject"
../libdb_java/com_sleepycat_db_Db.h:320: syntax error before "jint"
../libdb_java/com_sleepycat_db_Db.h:320: warning: data definition has no type 
or storage class
../libdb_java/com_sleepycat_db_Db.h:327: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:335: syntax error before "void"
../libdb_java/com_sleepycat_db_Db.h:343: syntax error before "void"
../libdb_java/java_Db.c:33: syntax error before "void"
../libdb_java/java_Db.c:33: `jnienv' undeclared here (not in a function)
../libdb_java/java_Db.c:33: `jthis' undeclared here (not in a function)
../libdb_java/java_Db.c:33: warning: initialization makes integer from pointer 
without a cast
../libdb_java/java_Db.c:33: initializer element is not constant
../libdb_java/java_Db.c:33: warning: data definition has no type or storage 
class
../libdb_java/java_Db.c:33: syntax error before "if"
*** Error code 1

Stop in 
/mnt/spare/ports/editors/openoffice/work/oo_1.0.3_src/berkeleydb/unxfbsd.pro/misc/build/db-3.2.9/out.
dmake:  Error code 1, while making './unxfbsd.pro/misc/build/so_built'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making 
/mnt/spare/ports/editors/openoffice/work/oo_1.0.3_src/berkeleydb
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

Stop in /mnt/spare/ports/editors/openoffice.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade3286.0 
make WITH_BSD_JDK=TRUE
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / 
!:failed)
        ! editors/openoffice (openoffice-1.0.2_2)       (missing header)
intra241# lt'
Unmatched '.
---* TG_SLO.MK *---


More information about the freebsd-ports mailing list