Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/10/2005, à 08:58

atlas

Installer gtrace

Bonjour , je rencontre des difficultés pour installer gtrace .Toutes vos suggestions sont les bienvenues .

Le lien concernant l'appli http://www.caida.org/tools/visualization/gtrace/


J'aie installé ces packages:

swingwtdemo 0.85.1-1
libswingwt0 0.85.1.-1
sun-j2se5.0-jdk-binary

Et la console me renvoie ceci

 

root@ubuntu:/home/atlas/GTrace-v1.0.0Beta # ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... (cached) /usr/bin/ar
checking for cp... (cached) /bin/cp
checking for mkdir... (cached) /bin/mkdir
checking for rm... (cached) /bin/rm
checking for tar... (cached) /bin/tar
checking for chmod... (cached) /bin/chmod
checking for gunzip... (cached) /bin/gunzip
checking for traceroute... (cached) /usr/sbin/traceroute
checking for whois... (cached) /usr/bin/whois
checking for ping... (cached) /bin/ping
checking for nslookup... (cached) /usr/bin/nslookup
./configure: line 1133: Checks: command not found
creating ./config.status
creating Makefile
creating GTrace.properties
creating GTrace
root@ubuntu:/home/atlas/GTrace-v1.0.0Beta # make
/bin/cp bdb/* /usr/local/GTrace/libdb
cd db-2.7.7/libdb_java && make -f Makefile.unix
JAVAINSDIR=/usr/local/jdk1.1.8 \
                        DBBUILDDIR=/usr/local/GTrace/libdb \
                        INCFILES='-I$(JAVAINSDIR)/include \
                        -I$(JAVAINSDIR)/include/genunix \
                        -I$(JAVAINSDIR)/include/linux \
                        -I$(DBBUILDDIR) -I$(DBINSDIR)/include' \
                        LINKFLAGS='-shared -g
-o /usr/local/GTrace/libdb/libdb_j ava.so'
make[1]: entrant dans le répertoire
« /home/atlas/GTrace-v1.0.0Beta/db-2.7.7/lib db_java »
gcc -c -g -I/usr/local/jdk1.1.8/include
-I/usr/local/jdk1.1.8/include/genunix
-I/usr/local/jdk1.1.8/include/linux  -I/usr/local/GTrace/libdb
-I../include -fpi c -D_REENTRANT java_util.cpp
Dans le fichier inclus à partir de java_util.cpp:13:
java_util.h:14:17: jni.h : Aucun fichier ou répertoire de ce type
In file included from java_util.cpp:13:
java_util.h:47: error: 'jlong' is used as a type, but is not defined as
a type.
java_util.h:84: error: `JNIEnv' was not declared in this scope
java_util.h:84: error: `jnienv' was not declared in this scope
java_util.h:84: error: invalid data member initialization
java_util.h:84: error: (use `=' to initialize static data members)
java_util.h:84: error: variable or field `release' declared void
java_util.h:86: error: 'jbyteArray' is used as a type, but is not
defined as a
   type.
java_util.h:110: error: erreur d'analyse syntaxique before `*' token
java_util.h:119: error: erreur de syntaxe before `*' token
java_util.h:120: error: 'jobject' is used as a type, but is not defined
as a
   type.
java_util.h:121: error: erreur de syntaxe before `*' token
java_util.h:137: error: erreur d'analyse syntaxique before `*' token
java_util.h:143: error: erreur de syntaxe before `*' token
java_util.h:144: error: 'jstring' is used as a type, but is not defined
as a
   type.
java_util.h:159: error: erreur d'analyse syntaxique before `*' token
java_util.h:165: error: erreur de syntaxe before `*' token
java_util.h:166: error: 'jobjectArray' is used as a type, but is not
defined as
   a type.
java_util.h:186: error: `JNIEnv' was not declared in this scope
java_util.h:186: error: `jnienv' was not declared in this scope
java_util.h:186: error: erreur d'analyse syntaxique before `char'
java_util.h:193: error: `JNIEnv' was not declared in this scope
java_util.h:193: error: `jnienv' was not declared in this scope
java_util.h:193: error: erreur d'analyse syntaxique before `char'
java_util.h:198: error: `JNIEnv' was not declared in this scope
java_util.h:198: error: `jnienv' was not declared in this scope
java_util.h:198: error: erreur d'analyse syntaxique before `char'
java_util.h:205: error: `JNIEnv' was not declared in this scope
java_util.h:205: error: `jnienv' was not declared in this scope
java_util.h:205: error: erreur d'analyse syntaxique before `char'
java_util.h:212: error: `JNIEnv' was not declared in this scope
java_util.h:212: error: `jnienv' was not declared in this scope
java_util.h:212: error: erreur d'analyse syntaxique before `char'
java_util.h:217: error: `JNIEnv' was not declared in this scope
java_util.h:217: error: `jnienv' was not declared in this scope
java_util.h:217: error: `jclass' was not declared in this scope
java_util.h:217: error: erreur d'analyse syntaxique before `,' token
java_util.h:224: error: `JNIEnv' was not declared in this scope
java_util.h:224: error: `jnienv' was not declared in this scope
java_util.h:224: error: `jclass' was not declared in this scope
java_util.h:224: error: erreur d'analyse syntaxique before `,' token
java_util.h:230: error: `JNIEnv' was not declared in this scope
java_util.h:230: error: `jnienv' was not declared in this scope
java_util.h:230: error: `jclass' was not declared in this scope
java_util.h:230: error: erreur d'analyse syntaxique before `,' token
java_util.h:236: error: `JNIEnv' was not declared in this scope
java_util.h:236: error: `jnienv' was not declared in this scope
java_util.h:236: error: `jclass' was not declared in this scope
java_util.h:236: error: erreur d'analyse syntaxique before `,' token
java_util.h:241: error: `JNIEnv' was not declared in this scope
java_util.h:241: error: `jnienv' was not declared in this scope
java_util.h:241: error: erreur d'analyse syntaxique before `char'
java_util.h:246: error: `JNIEnv' was not declared in this scope
java_util.h:246: error: `jnienv' was not declared in this scope
java_util.h:246: error: erreur d'analyse syntaxique before `*' token
java_util.h:254: error: `JNIEnv' was not declared in this scope
java_util.h:254: error: `jnienv' was not declared in this scope
java_util.h:254: error: erreur d'analyse syntaxique before `*' token
java_util.h:259: error: `JNIEnv' was not declared in this scope
java_util.h:259: error: `jnienv' was not declared in this scope
java_util.h:259: error: erreur d'analyse syntaxique before `)' token
java_util.h:263: error: `JNIEnv' was not declared in this scope
java_util.h:263: error: `jnienv' was not declared in this scope
java_util.h:263: error: erreur d'analyse syntaxique before `char'
java_util.h:269: error: `JNIEnv' was not declared in this scope
java_util.h:269: error: `jnienv' was not declared in this scope
java_util.h:269: error: erreur d'analyse syntaxique before `char'
java_util.h:277: error: `JNIEnv' was not declared in this scope
java_util.h:277: error: `jnienv' was not declared in this scope
java_util.h:277: error: erreur d'analyse syntaxique before `char'
java_util.h:287: error: `JNIEnv' was not declared in this scope
java_util.h:287: error: `jnienv' was not declared in this scope
java_util.h:287: error: `jobject' was not declared in this scope
java_util.h:287: error: erreur d'analyse syntaxique before `)' token
java_util.h:288: error: `JNIEnv' was not declared in this scope
java_util.h:288: error: `jnienv' was not declared in this scope
java_util.h:288: error: `jobject' was not declared in this scope
java_util.h:288: error: erreur d'analyse syntaxique before `)' token
java_util.h:289: error: `JNIEnv' was not declared in this scope
java_util.h:289: error: `jnienv' was not declared in this scope
java_util.h:289: error: `jobject' was not declared in this scope
java_util.h:289: error: erreur d'analyse syntaxique before `)' token
java_util.h:290: error: `JNIEnv' was not declared in this scope
java_util.h:290: error: `jnienv' was not declared in this scope
java_util.h:290: error: `jobject' was not declared in this scope
java_util.h:290: error: erreur d'analyse syntaxique before `)' token
java_util.h:291: error: `JNIEnv' was not declared in this scope
java_util.h:291: error: `jnienv' was not declared in this scope
java_util.h:291: error: `jobject' was not declared in this scope
java_util.h:291: error: erreur d'analyse syntaxique before `)' token
java_util.h:292: error: `JNIEnv' was not declared in this scope
java_util.h:292: error: `jnienv' was not declared in this scope
java_util.h:292: error: `jobject' was not declared in this scope
java_util.h:292: error: erreur d'analyse syntaxique before `)' token
java_util.h:293: error: `JNIEnv' was not declared in this scope
java_util.h:293: error: `jnienv' was not declared in this scope
java_util.h:293: error: `jobject' was not declared in this scope
java_util.h:293: error: erreur d'analyse syntaxique before `)' token
java_util.h:294: error: `JNIEnv' was not declared in this scope
java_util.h:294: error: `jnienv' was not declared in this scope
java_util.h:294: error: `jobject' was not declared in this scope
java_util.h:294: error: erreur d'analyse syntaxique before `)' token
java_util.h:295: error: `JNIEnv' was not declared in this scope
java_util.h:295: error: `jnienv' was not declared in this scope
java_util.h:295: error: `jobject' was not declared in this scope
java_util.h:295: error: erreur d'analyse syntaxique before `)' token
java_util.h:296: error: `JNIEnv' was not declared in this scope
java_util.h:296: error: `jnienv' was not declared in this scope
java_util.h:296: error: `jobject' was not declared in this scope
java_util.h:296: error: erreur d'analyse syntaxique before `)' token
java_util.h:297: error: `JNIEnv' was not declared in this scope
java_util.h:297: error: `jnienv' was not declared in this scope
java_util.h:297: error: `jobject' was not declared in this scope
java_util.h:297: error: erreur d'analyse syntaxique before `)' token
java_util.h:298: error: `JNIEnv' was not declared in this scope
java_util.h:298: error: `jnienv' was not declared in this scope
java_util.h:298: error: `jobject' was not declared in this scope
java_util.h:298: error: erreur d'analyse syntaxique before `)' token
java_util.h:299: error: `JNIEnv' was not declared in this scope
java_util.h:299: error: `jnienv' was not declared in this scope
java_util.h:299: error: `jobject' was not declared in this scope
java_util.h:299: error: erreur d'analyse syntaxique before `)' token
java_util.h:300: error: `JNIEnv' was not declared in this scope
java_util.h:300: error: `jnienv' was not declared in this scope
java_util.h:300: error: `jobject' was not declared in this scope
java_util.h:300: error: erreur d'analyse syntaxique before `)' token
java_util.h:301: error: `JNIEnv' was not declared in this scope
java_util.h:301: error: `jnienv' was not declared in this scope
java_util.h:301: error: `jobject' was not declared in this scope
java_util.h:301: error: erreur d'analyse syntaxique before `)' token
java_util.h:302: error: `JNIEnv' was not declared in this scope
java_util.h:302: error: `jnienv' was not declared in this scope
java_util.h:302: error: `jobject' was not declared in this scope
java_util.h:302: error: erreur d'analyse syntaxique before `)' token
java_util.h:303: error: `JNIEnv' was not declared in this scope
java_util.h:303: error: `jnienv' was not declared in this scope
java_util.h:303: error: `jobject' was not declared in this scope
java_util.h:303: error: erreur d'analyse syntaxique before `)' token
java_util.h:307: error: `JNIEnv' was not declared in this scope
java_util.h:307: error: `jnienv' was not declared in this scope
java_util.h:307: error: erreur d'analyse syntaxique before `*' token
java_util.h:308: error: `JNIEnv' was not declared in this scope
java_util.h:308: error: `jnienv' was not declared in this scope
java_util.h:308: error: erreur d'analyse syntaxique before `*' token
java_util.h:309: error: `JNIEnv' was not declared in this scope
java_util.h:309: error: `jnienv' was not declared in this scope
java_util.h:309: error: erreur d'analyse syntaxique before `*' token
java_util.h:310: error: `JNIEnv' was not declared in this scope
java_util.h:310: error: `jnienv' was not declared in this scope
java_util.h:310: error: erreur d'analyse syntaxique before `*' token
java_util.h:311: error: `JNIEnv' was not declared in this scope
java_util.h:311: error: `jnienv' was not declared in this scope
java_util.h:311: error: erreur d'analyse syntaxique before `*' token
java_util.h:312: error: `JNIEnv' was not declared in this scope
java_util.h:312: error: `jnienv' was not declared in this scope
java_util.h:312: error: erreur d'analyse syntaxique before `)' token
java_util.h:313: error: `JNIEnv' was not declared in this scope
java_util.h:313: error: `jnienv' was not declared in this scope
java_util.h:313: error: erreur d'analyse syntaxique before `*' token
java_util.h:314: error: `JNIEnv' was not declared in this scope
java_util.h:314: error: `jnienv' was not declared in this scope
java_util.h:314: error: erreur d'analyse syntaxique before `*' token
java_util.h:315: error: `JNIEnv' was not declared in this scope
java_util.h:315: error: `jnienv' was not declared in this scope
java_util.h:315: error: erreur d'analyse syntaxique before `*' token
java_util.h:316: error: `JNIEnv' was not declared in this scope
java_util.h:316: error: `jnienv' was not declared in this scope
java_util.h:316: error: erreur d'analyse syntaxique before `*' token
java_util.h:317: error: `JNIEnv' was not declared in this scope
java_util.h:317: error: `jnienv' was not declared in this scope
java_util.h:317: error: erreur d'analyse syntaxique before `*' token
java_util.h:318: error: `JNIEnv' was not declared in this scope
java_util.h:318: error: `jnienv' was not declared in this scope
java_util.h:318: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:40: error: `JNIEnv' was not declared in this scope
java_util.cpp:40: error: `jnienv' was not declared in this scope
java_util.cpp:40: error: erreur d'analyse syntaxique before `char'
java_util.cpp:46: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:47: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:55: error: `JNIEnv' was not declared in this scope
java_util.cpp:55: error: `jnienv' was not declared in this scope
java_util.cpp:55: error: erreur d'analyse syntaxique before `char'
java_util.cpp: Dans function « void* get_private_info(...) »:
java_util.cpp:59: error: `obj' undeclared (first use this function)
java_util.cpp:59: error: (Each undeclared identifier is reported only
once for
   each function it appears in.)
java_util.cpp:61: error: 'union long_to_ptr' has no member named
'java_long'
java_util.cpp:61: error: `jnienv' undeclared (first use this function)
java_util.cpp:61: error: `classname' undeclared (first use this
function)
java_util.cpp:61: error: `get_private_long_info' undeclared (first use
this
   function)
java_util.cpp: At global scope:
java_util.cpp:67: error: `JNIEnv' was not declared in this scope
java_util.cpp:67: error: erreur d'analyse syntaxique before `char'
java_util.cpp: Dans function « void set_private_long_info(...) »:
java_util.cpp:70: error: `jclass' undeclared (first use this function)
java_util.cpp:70: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:71: error: `jfieldID' undeclared (first use this function)
java_util.cpp:72: error: `id' undeclared (first use this function)
java_util.cpp:72: error: `value' undeclared (first use this function)
java_util.cpp: At global scope:
java_util.cpp:79: error: `JNIEnv' was not declared in this scope
java_util.cpp:79: error: erreur d'analyse syntaxique before `char'
java_util.cpp: Dans function « void set_private_info(...) »:
java_util.cpp:83: error: 'union long_to_ptr' has no member named
'java_long'
java_util.cpp:85: error: 'union long_to_ptr' has no member named
'java_long'
java_util.cpp: At global scope:
java_util.cpp:92: error: `JNIEnv' was not declared in this scope
java_util.cpp:92: error: erreur d'analyse syntaxique before `char'
java_util.cpp:96: error: `fullname' was not declared in this scope
java_util.cpp:96: error: le C++ ISO interdit la déclaration de « strcat
»
   sans type
java_util.cpp:96: error: `int strcat' redeclared as different kind of
symbol
/usr/include/string.h:90: error: previous declaration of `char*
strcat(char*,
   const char*)'
java_util.cpp:96: error: liste d'initaliseurs a été traité comme une
   expression composée
java_util.cpp:97: error: erreur d'analyse syntaxique before `return'
java_util.cpp:103: error: `JNIEnv' was not declared in this scope
java_util.cpp:103: error: `jclass' was not declared in this scope
java_util.cpp:103: error: erreur d'analyse syntaxique before `,' token
java_util.cpp: Dans function « void set_object_field(...) »:
java_util.cpp:110: error: `strcat' cannot be used as a function
java_util.cpp:111: error: `object_classname' undeclared (first use this
   function)
java_util.cpp:111: error: `strcat' cannot be used as a function
java_util.cpp:112: error: `strcat' cannot be used as a function
java_util.cpp:114: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:115: error: `jthis' undeclared (first use this function)
java_util.cpp: At global scope:
java_util.cpp:121: error: `JNIEnv' was not declared in this scope
java_util.cpp:121: error: `jclass' was not declared in this scope
java_util.cpp:121: error: erreur d'analyse syntaxique before `,' token
java_util.cpp: Dans function « void set_int_field(...) »:
java_util.cpp:124: error: erreur d'analyse syntaxique before `=' token
java_util.cpp: At global scope:
java_util.cpp:131: error: `JNIEnv' was not declared in this scope
java_util.cpp:131: error: `jclass' was not declared in this scope
java_util.cpp:131: error: erreur d'analyse syntaxique before `,' token
java_util.cpp: Dans function « void set_long_field(...) »:
java_util.cpp:134: error: erreur d'analyse syntaxique before `=' token
java_util.cpp: At global scope:
java_util.cpp:141: error: `JNIEnv' was not declared in this scope
java_util.cpp:141: error: `jclass' was not declared in this scope
java_util.cpp:141: error: erreur d'analyse syntaxique before `,' token
java_util.cpp: Dans function « void set_lsn_field(...) »:
java_util.cpp:144: error: `class_of_this' undeclared (first use this
function)
java_util.cpp:145: error: `name_of_field' undeclared (first use this
function)
java_util.cpp:145: error: `get_DbLsn' undeclared (first use this
function)
java_util.cpp: At global scope:
java_util.cpp:150: error: `JNIEnv' was not declared in this scope
java_util.cpp:150: error: erreur d'analyse syntaxique before `char'
java_util.cpp: Dans function « void report_exception(...) »:
java_util.cpp:152: error: `jstring' undeclared (first use this function)
java_util.cpp:152: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:153: error: `jclass' undeclared (first use this function)
java_util.cpp:154: error: `err' undeclared (first use this function)
java_util.cpp:155: error: `dbexcept' undeclared (first use this
function)
java_util.cpp:155: error: `get_class' undeclared (first use this
function)
java_util.cpp:160: error: `jmethodID' undeclared (first use this
function)
java_util.cpp:160: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:163: error: `constructId' undeclared (first use this
function)
java_util.cpp:163: error: `textString' undeclared (first use this
function)
java_util.cpp: At global scope:
java_util.cpp:170: error: `JNIEnv' was not declared in this scope
java_util.cpp:170: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:185: error: `JNIEnv' was not declared in this scope
java_util.cpp:185: error: erreur d'analyse syntaxique before `*' token
java_util.cpp: Dans function « int verify_dbenv(...) »:
java_util.cpp:187: error: `env' undeclared (first use this function)
java_util.cpp: At global scope:
java_util.cpp:199: error: `JNIEnv' was not declared in this scope
java_util.cpp:199: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:219: error: `JNIEnv' was not declared in this scope
java_util.cpp:219: error: erreur d'analyse syntaxique before `char'
java_util.cpp:222: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:223: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:231: error: `JNIEnv' was not declared in this scope
java_util.cpp:231: error: erreur d'analyse syntaxique before `char'
java_util.cpp:236: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:237: error: `class_name' was not declared in this scope
java_util.cpp:237: error: `jo' was not declared in this scope
java_util.cpp:237: error: `dbobj' was not declared in this scope
java_util.cpp:237: error: le C++ ISO interdit la déclaration de «
   set_private_info » sans type
java_util.cpp:237: error: `int set_private_info' redeclared as different
kind
   of symbol
java_util.cpp:81: error: previous declaration of `void
set_private_info(...)'
java_util.cpp:237: error: liste d'initaliseurs a été traité comme une
   expression composée
java_util.cpp:238: error: erreur d'analyse syntaxique before `return'
java_util.cpp:252: error: `JNIEnv' was not declared in this scope
java_util.cpp:252: error: erreur d'analyse syntaxique before `char'
java_util.cpp:273: error: `JNIEnv' was not declared in this scope
java_util.cpp:273: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:278: error: `JNIEnv' was not declared in this scope
java_util.cpp:278: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:283: error: `JNIEnv' was not declared in this scope
java_util.cpp:283: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:288: error: `JNIEnv' was not declared in this scope
java_util.cpp:288: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:293: error: `JNIEnv' was not declared in this scope
java_util.cpp:293: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:299: error: `JNIEnv' was not declared in this scope
java_util.cpp:299: error: erreur d'analyse syntaxique before `)' token
java_util.cpp: Dans function « DB_LOCK get_DB_LOCK(...) »:
java_util.cpp:301: error: `get_private_long_info' undeclared (first use
this
   function)
java_util.cpp: At global scope:
java_util.cpp:304: error: `JNIEnv' was not declared in this scope
java_util.cpp:304: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:309: error: `JNIEnv' was not declared in this scope
java_util.cpp:309: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:314: error: `JNIEnv' was not declared in this scope
java_util.cpp:314: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:319: error: `JNIEnv' was not declared in this scope
java_util.cpp:319: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:324: error: `JNIEnv' was not declared in this scope
java_util.cpp:324: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:329: error: `JNIEnv' was not declared in this scope
java_util.cpp:329: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:334: error: `JNIEnv' was not declared in this scope
java_util.cpp:334: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:339: error: `JNIEnv' was not declared in this scope
java_util.cpp:339: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:344: error: `JNIEnv' was not declared in this scope
java_util.cpp:344: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:349: error: `JNIEnv' was not declared in this scope
java_util.cpp:349: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:354: error: `JNIEnv' was not declared in this scope
java_util.cpp:354: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:362: error: `JNIEnv' was not declared in this scope
java_util.cpp:362: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:367: error: `JNIEnv' was not declared in this scope
java_util.cpp:367: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:372: error: `JNIEnv' was not declared in this scope
java_util.cpp:372: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:377: error: `JNIEnv' was not declared in this scope
java_util.cpp:377: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:382: error: `JNIEnv' was not declared in this scope
java_util.cpp:382: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:392: error: `JNIEnv' was not declared in this scope
java_util.cpp:392: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:395: error: le C++ ISO interdit la déclaration de « lsnp »
   sans type
java_util.cpp:395: error: `dbobj' was not declared in this scope
java_util.cpp:396: error: erreur d'analyse syntaxique before `return'
java_util.cpp:399: error: `JNIEnv' was not declared in this scope
java_util.cpp:399: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:404: error: `JNIEnv' was not declared in this scope
java_util.cpp:404: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:409: error: `JNIEnv' was not declared in this scope
java_util.cpp:409: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:414: error: `JNIEnv' was not declared in this scope
java_util.cpp:414: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:419: error: `JNIEnv' was not declared in this scope
java_util.cpp:419: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:424: error: `JNIEnv' was not declared in this scope
java_util.cpp:424: error: erreur d'analyse syntaxique before `*' token
java_util.cpp: Dans constructor « DBT_info::DBT_info() »:
java_util.cpp:435: error: class `DBT_info' does not have any field named
`
   array_'
java_util.cpp: At global scope:
java_util.cpp:441: error: `JNIEnv' was not declared in this scope
java_util.cpp:442: error: variable or field `release' declared void
java_util.cpp:442: error: `int DBT_info::release' is not a static member
of `
   class DBT_info'
java_util.cpp:442: error: erreur de syntaxe before `{' token
java_util.cpp:457: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:477: error: le C++ ISO interdit la déclaration de «
has_error_
   » sans type
java_util.cpp:477: error: `int LockedDBT::has_error_' is not a static
member of
   `class LockedDBT'
java_util.cpp:478: error: erreur d'analyse syntaxique before `return'
java_util.cpp:491: error: le C++ ISO interdit la déclaration de «
has_error_
   » sans type
java_util.cpp:491: error: `int LockedDBT::has_error_' is not a static
member of
   `class LockedDBT'
java_util.cpp:492: error: erreur d'analyse syntaxique before `return'
java_util.cpp:497: error: le C++ ISO interdit la déclaration de «
   java_array_len_ » sans type
java_util.cpp:497: error: `int LockedDBT::java_array_len_' is not a
static
   member of `class LockedDBT'
java_util.cpp:497: error: invalid use of member `LockedDBT::dbt'
java_util.cpp:498: error: erreur d'analyse syntaxique before `if'
java_util.cpp:500: error: le C++ ISO interdit la déclaration de «
has_error_
   » sans type
java_util.cpp:500: error: `int LockedDBT::has_error_' is not a static
member of
   `class LockedDBT'
java_util.cpp:501: error: erreur d'analyse syntaxique before `return'
java_util.cpp:506: error: le C++ ISO interdit la déclaration de «
has_error_
   » sans type
java_util.cpp:506: error: `int LockedDBT::has_error_' is not a static
member of
   `class LockedDBT'
java_util.cpp:507: error: erreur d'analyse syntaxique before `return'
java_util.cpp:510: error: le C++ ISO interdit la déclaration de «
java_data_
   » sans type
java_util.cpp:510: error: `int LockedDBT::java_data_' is not a static
member of
   `class LockedDBT'
java_util.cpp:510: error: invalid use of member `LockedDBT::dbt'
java_util.cpp:511: error: erreur de syntaxe before `->' token
java_util.cpp: Dans destructor « LockedDBT::~LockedDBT() »:
java_util.cpp:544: error: `jbyte' undeclared (first use this function)
java_util.cpp:544: error: `data' undeclared (first use this function)
java_util.cpp:544: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:546: error: `java_data_' undeclared (first use this
function)
java_util.cpp:547: error: `env_' undeclared (first use this function)
java_util.cpp:547: error: 'class DBT_info' has no member named 'array_'
java_util.cpp:549: error: 'class DBT_info' has no member named 'array_'
java_util.cpp:564: error: 'class DBT_info' has no member named 'array_'
java_util.cpp:564: error: `jbyteArray' undeclared (first use this
function)
java_util.cpp:565: error: erreur d'analyse syntaxique before `->' token
java_util.cpp:567: error: 'class DBT_info' has no member named 'array_'
java_util.cpp:567: error: erreur d'analyse syntaxique before `)' token
java_util.cpp: At global scope:
java_util.cpp:579: error: erreur d'analyse syntaxique before `*' token
java_util.cpp: Dans destructor « LockedString::~LockedString() »:
java_util.cpp:591: error: `jstr_' undeclared (first use this function)
java_util.cpp: At global scope:
java_util.cpp:601: error: erreur d'analyse syntaxique before `*' token
java_util.cpp:610: error: le C++ ISO interdit la déclaration de «
   string_array » sans type
java_util.cpp:610: error: `int LockedStringArray::string_array' is not a
static
   member of `class LockedStringArray'
java_util.cpp:610: error: `conststr' was not declared in this scope
java_util.cpp:610: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:610: error: `count' was not declared in this scope
java_util.cpp:610: error: erreur d'analyse syntaxique before `)' token
java_util.cpp:611: error: `count' was not declared in this scope
java_util.cpp:611: error: erreur d'analyse syntaxique before `;' token
java_util.cpp:611: error: erreur de syntaxe before `++' token
java_util.cpp:625: error: `count' was not declared in this scope
java_util.cpp:625: error: le C++ ISO interdit la déclaration de «
   string_array » sans type
java_util.cpp:625: error: assignment (not initialization) in declaration
java_util.cpp:626: error: erreur d'analyse syntaxique before `}' token
java_util.cpp: Dans destructor « LockedStringArray::~LockedStringArray()
»:
java_util.cpp:631: error: `arr_' undeclared (first use this function)
java_util.cpp:636: error: `jstring' undeclared (first use this function)
java_util.cpp:636: error: erreur d'analyse syntaxique before `=' token
java_util.cpp:637: error: `jstr' undeclared (first use this function)
make[1]: *** [java_util.o] Erreur 1
make[1]: quittant le répertoire
« /home/atlas/GTrace-v1.0.0Beta/db-2.7.7/libdb_j ava »
make: *** [libdb_java.so] Erreur 2

Hors ligne

#2 Le 03/10/2005, à 13:28

pef

Re : Installer gtrace

quelle version de gcc utilise-tu ? si c'est la 4 il se peut que le code source ne soit pas assez "clean" pour compiler avec.

Et d'après le log que tu donne il te manque le fichier "jni.h"

java_util.h:14:17: jni.h : Aucun fichier ou répertoire de ce type

Hors ligne

#3 Le 03/10/2005, à 19:20

atlas

Re : Installer gtrace

J'aie enlevé gcc 4. ..  et j'utilise gcc-3.4 à présent voici ce que j'obtient

root@ubuntu:/home/atlas/GTrace-v1.0.0Beta # ./configure
loading cache ./config.cache
checking host system type... configure: error: can not guess host type; you must specify one

Qu'est-ce-que c'est un host type ?

Quand à

java_util.h:14:17: jni.h : Aucun fichier ou répertoire de ce type

Quel paquet est susceptible de me fournir ce fichier ? Dois -je réinstaller ma
java virtual machine ?

Hors ligne