[Qt-jambi-interest] build failure

Oliver Block lists at oliver-block.eu
Sat May 30 04:04:56 CEST 2009


Hello everybody,

after following your hints, I still have a build failure. Please let me state 
that obviously linux32 is recognized, but I have no idea if this is important 
for that error.

Could someone take a look:

environment:

echo $JAVA_HOME
/opt/java/SDK/jdk/

echo $QTDIR
/usr/local/src/qt-all-opensource-src-4.5.0

echo $PATH
/opt/java/SDK/jdk/:/usr/local/src/qt-all-opensource-src-4.5.0/bin:/opt/kde3/bin:/home/oblock/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin


command sequence:

cd qt-all-opensource-src-4.5.0

./configure -D QT_JAMBI_BUILD -no-qt3support -prefix 
$PWD -no-mmx -no-sse -no-sse2 -no-3dnow  

gmake

cd ..

cd qt-jambi

export PATH=$QTDIR/bin:$PATH

ant

Result:

Buildfile: build.xml

init.ant:

init.jumptable.do:

init.jumptable.dont:

init.taskdef:

init:
[qtjambi-initialize] qtjambi.osname: linux32
[qtjambi-initialize] qtjambi.libsubdir: lib
[qtjambi-initialize] qtjambi.qtdir: /usr/local/src/qt-all-opensource-src-4.5.0
[qtjambi-initialize] qtjambi.compiler: gcc
[qtjambi-initialize] qtjambi.configuration: release
[qtjambi-initialize] qtjambi.phonon: false
[qtjambi-initialize] qtjambi.sqlite: true
[qtjambi-initialize] qtjambi.webkit: true
[qtjambi-initialize] qtjambi.xmlpatterns: true
[qtjambi-initialize] qtjambi.opengl: true

generator.xmlmerge.core:

generator.xmlmerge.gui:

generator.xmlmerge.network:

generator.xmlmerge.svg:

generator.xmlmerge.xml:

generator.xmlmerge.xmlpatterns:

generator.xmlmerge.opengl:

generator.xmlmerge.sql:

generator.xmlmerge.designer:

generator.xmlmerge.webkit:

generator.xmlmerge.phonon:

generator.xmlmerge:

generator.qmake:

generator.compile:

generator.run:

generator:

library.native.qmake:

library.native.compile:
     [make]
     [make] Running : (/usr/local/src/qt-jambi) make
     [make] cd qtjambi/ && make -f Makefile
     [make] make[1]: Entering directory `/usr/local/src/qt-jambi/qtjambi'
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qnativepointer.o qnativepointer.cpp
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qsysinfo.o qsysinfo.cpp
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtinfo.o qtinfo.cpp
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtjambi_cache.o qtjambi_cache.cpp
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtjambi_core.o qtjambi_core.cpp
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtjambi_functions.o qtjambi_functions.cpp
     [make] qtjambi_functions.cpp: In function ‘void 
qtjambi_messagehandler_proxy(QtMsgType, const char*)’:
     [make] qtjambi_functions.cpp:498: warning: deprecated conversion from 
string constant to ‘char*’
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtjambi_utils.o qtjambi_utils.cpp
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtjambifunctiontable.o qtjambifunctiontable.cpp
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtjambilink.o qtjambilink.cpp
     [make] qtjambilink.cpp: In member function ‘void 
QtJambiLink::aboutToMakeObjectInvalid(JNIEnv*)’:
     [make] qtjambilink.cpp:298: warning: deprecated conversion from string 
constant to ‘char*’
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtjambitypemanager.o qtjambitypemanager.cpp
     [make] qtjambitypemanager.cpp: In static member function ‘static jvalue 
QtJambiTypeManager::convertToPrimitive(JNIEnv*, _jobject*, 
QtJambiTypeManager::Type)’:
     [make] qtjambitypemanager.cpp:646: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:647: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:650: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:651: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:654: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:655: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:658: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:659: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:662: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:663: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:666: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:667: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:670: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:671: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:674: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp:675: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtjambitypemanager.cpp: In member function ‘_jobject* 
QtJambiTypeManager::enumForInt(int, const QString&, const QString&) const’:
     [make] qtjambitypemanager.cpp:1157: warning: deprecated conversion from 
string constant to ‘char*’
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtobject.o qtobject.cpp
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qvariant.o qvariant.cpp
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtdynamicmetaobject.o qtdynamicmetaobject.cpp
     [make] qtdynamicmetaobject.cpp: In member function ‘void 
QtDynamicMetaObjectPrivate::initialize(JNIEnv*, _jclass*, const 
QMetaObject*)’:
     [make] qtdynamicmetaobject.cpp:116: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtdynamicmetaobject.cpp: In member function ‘int 
QtDynamicMetaObject::invokeSignalOrSlot(JNIEnv*, _jobject*, int, void**) 
const’:
     [make] qtdynamicmetaobject.cpp:326: warning: deprecated conversion from 
string constant to ‘char*’
     [make] qtdynamicmetaobject.cpp:332: warning: deprecated conversion from 
string constant to ‘char*’
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQTJAMBI_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include -I. -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I. -o 
qtjambivariant.o qtjambivariant.cpp
     [make] rm -f libqtjambi.so.1.0.0 libqtjambi.so libqtjambi.so.1 
libqtjambi.so.1.0
     [make] g++ -Wl,--rpath,
\$ORIGIN/../lib -shared -Wl,-soname,libqtjambi.so.1 -o libqtjambi.so.1.0.0 
qnativepointer.o qsysinfo.o qtinfo.o qtjambi_cache.o qtjambi_core.o 
qtjambi_functions.o qtjambi_utils.o qtjambifunctiontable.o qtjambilink.o 
qtjambitypemanager.o qtobject.o qvariant.o qtdynamicmetaobject.o 
qtjambivariant.o   -L/usr/lib64 -lQtCore -L/usr/lib64 -lz -lm -lrt -ldl -lpthread
     [make] ln -s libqtjambi.so.1.0.0 libqtjambi.so
     [make] ln -s libqtjambi.so.1.0.0 libqtjambi.so.1
     [make] ln -s libqtjambi.so.1.0.0 libqtjambi.so.1.0
     [make] rm -f ../lib/libqtjambi.so.1.0.0
     [make] rm -f ../lib/libqtjambi.so
     [make] rm -f ../lib/libqtjambi.so.1
     [make] rm -f ../lib/libqtjambi.so.1.0
     [make] mv -f libqtjambi.so.1.0.0 libqtjambi.so libqtjambi.so.1 
libqtjambi.so.1.0 ../lib/
     [make] make[1]: Leaving directory `/usr/local/src/qt-jambi/qtjambi'
     [make] cd juic/ && make -f Makefile
     [make] make[1]: Entering directory `/usr/local/src/qt-jambi/juic'
     [make] 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_UIC_JAVA_GENERATOR -DQT_UIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtXml -I../../../../include/QtXml -I../../../../include -I. -I. -o 
javawritedeclaration.o javawritedeclaration.cpp
     [make] In file included from javawritedeclaration.cpp:45:
     [make] javawritedeclaration.h:48:24: error: treewalker.h: Datei oder 
Verzeichnis nicht gefunden
     [make] In file included from javawritedeclaration.cpp:46:
     [make] javawriteinitialization.h:49:20: error: option.h: Datei oder 
Verzeichnis nicht gefunden
     [make] javawritedeclaration.cpp:47:20: error: driver.h: Datei oder 
Verzeichnis nicht gefunden
     [make] javawritedeclaration.cpp:48:17: error: ui4.h: Datei oder 
Verzeichnis nicht gefunden
     [make] javawritedeclaration.cpp:49:17: error: uic.h: Datei oder 
Verzeichnis nicht gefunden
     [make] javawritedeclaration.cpp:50:26: error: databaseinfo.h: Datei oder 
Verzeichnis nicht gefunden
     [make] javawritedeclaration.cpp:51:31: error: customwidgetsinfo.h: Datei 
oder Verzeichnis nicht gefunden
     [make] In file included from javawritedeclaration.cpp:45:
     [make] javawritedeclaration.h:59: error: expected class-name before ‘{’ 
token
     [make] javawritedeclaration.h:62: error: ‘DomUI’ has not been declared
     [make] javawritedeclaration.h:63: error: ‘DomWidget’ has not been 
declared
     [make] javawritedeclaration.h:64: error: ‘DomLayout’ has not been 
declared
     [make] javawritedeclaration.h:65: error: ‘DomSpacer’ has not been 
declared
     [make] javawritedeclaration.h:66: error: ‘DomActionGroup’ has not been 
declared
     [make] javawritedeclaration.h:67: error: ‘DomAction’ has not been 
declared
     [make] In file included from javawritedeclaration.cpp:46:
     [make] javawriteinitialization.h:64: error: expected class-name 
before ‘{’ token
     [make] javawriteinitialization.h:70: error: ‘DomUI’ has not been declared
     [make] javawriteinitialization.h:71: error: ‘DomWidget’ has not been 
declared
     [make] javawriteinitialization.h:72: error: ‘DomLayout’ has not been 
declared
     [make] javawriteinitialization.h:73: error: ‘DomSpacer’ has not been 
declared
     [make] javawriteinitialization.h:74: error: ‘DomLayoutItem’ has not been 
declared
     [make] javawriteinitialization.h:79: error: ‘DomActionGroup’ has not been 
declared
     [make] javawriteinitialization.h:80: error: ‘DomAction’ has not been 
declared
     [make] javawriteinitialization.h:81: error: ‘DomActionRef’ has not been 
declared
     [make] javawriteinitialization.h:86: error: ‘DomTabStops’ has not been 
declared
     [make] javawriteinitialization.h:91: error: ‘DomCustomWidgets’ has not 
been declared
     [make] javawriteinitialization.h:92: error: ‘DomCustomWidget’ has not 
been declared
     [make] javawriteinitialization.h:97: error: ‘DomLayoutDefault’ has not 
been declared
     [make] javawriteinitialization.h:98: error: ‘DomLayoutFunction’ has not 
been declared
     [make] javawriteinitialization.h:103: error: ‘DomConnection’ has not been 
declared
     [make] javawriteinitialization.h:108: error: ‘DomImage’ has not been 
declared
     [make] javawriteinitialization.h:111: error: ‘DomColor’ has not been 
declared
     [make] javawriteinitialization.h:114: error: ‘DomProperty’ has not been 
declared
     [make] javawriteinitialization.h:116: error: ‘DomString’ has not been 
declared
     [make] javawriteinitialization.h:119: error: ‘DomProperty’ was not 
declared in this scope
     [make] javawriteinitialization.h:119: error: template argument 1 is 
invalid
     [make] javawriteinitialization.h:120: error: ‘DomColorGroup’ has not been 
declared
     [make] javawriteinitialization.h:126: error: ‘DomWidget’ has not been 
declared
     [make] javawriteinitialization.h:127: error: ‘DomWidget’ has not been 
declared
     [make] javawriteinitialization.h:128: error: ‘DomWidget’ has not been 
declared
     [make] javawriteinitialization.h:129: error: ‘DomWidget’ has not been 
declared
     [make] javawriteinitialization.h:130: error: ‘DomItem’ was not declared 
in this scope
     [make] javawriteinitialization.h:130: error: template argument 1 is 
invalid
     [make] javawriteinitialization.h:131: error: ‘DomWidget’ has not been 
declared
     [make] javawriteinitialization.h:133: error: ISO C++ forbids declaration 
of ‘DomWidget’ with no type
     [make] javawriteinitialization.h:133: error: expected ‘;’ before ‘*’ 
token
     [make] javawriteinitialization.h:134: error: ISO C++ forbids declaration 
of ‘DomImage’ with no type
     [make] javawriteinitialization.h:134: error: expected ‘;’ before ‘*’ 
token
     [make] javawriteinitialization.h:142: error: field ‘option’ has 
incomplete type
     [make] javawriteinitialization.h:153: error: ‘DomWidget’ was not declared 
in this scope
     [make] javawriteinitialization.h:153: error: template argument 1 is 
invalid
     [make] javawriteinitialization.h:154: error: ‘DomLayout’ was not declared 
in this scope
     [make] javawriteinitialization.h:154: error: template argument 1 is 
invalid
     [make] javawriteinitialization.h:155: error: ‘DomActionGroup’ was not 
declared in this scope
     [make] javawriteinitialization.h:155: error: template argument 1 is 
invalid
     [make] javawriteinitialization.h:159: error: ‘DomWidget’ was not declared 
in this scope
     [make] javawriteinitialization.h:159: error: template argument 2 is 
invalid
     [make] javawriteinitialization.h:160: error: ‘DomImage’ was not declared 
in this scope
     [make] javawriteinitialization.h:160: error: template argument 2 is 
invalid
     [make] javawriteinitialization.h:161: error: ‘DomAction’ was not declared 
in this scope
     [make] javawriteinitialization.h:161: error: template argument 2 is 
invalid
     [make] javawritedeclaration.cpp: In 
constructor ‘Java::WriteDeclaration::WriteDeclaration(Uic*)’:
     [make] javawritedeclaration.cpp:64: error: invalid use of incomplete 
type ‘struct Uic’
     [make] javawritedeclaration.h:52: error: forward declaration of ‘struct 
Uic’
     [make] javawritedeclaration.cpp:64: error: invalid use of incomplete 
type ‘struct Uic’
     [make] javawritedeclaration.h:52: error: forward declaration of ‘struct 
Uic’
     [make] javawritedeclaration.cpp:64: error: invalid use of incomplete 
type ‘struct Uic’
     [make] javawritedeclaration.h:52: error: forward declaration of ‘struct 
Uic’
     [make] javawritedeclaration.cpp: At global scope:
     [make] javawritedeclaration.cpp:69: error: variable or field ‘acceptUI’ 
declared void
     [make] javawritedeclaration.cpp:69: error: ‘DomUI’ was not declared in 
this scope
     [make] javawritedeclaration.cpp:69: error: ‘node’ was not declared in 
this scope
     [make] javawritedeclaration.cpp:182: error: expected `}' at end of input
     [make] make[1]: Leaving directory `/usr/local/src/qt-jambi/juic'
     [make] make[1]: *** [javawritedeclaration.o] Fehler 1
     [make] make: *** [sub-juic-make_default-ordered] Fehler 2

BUILD FAILED
/usr/local/src/qt-jambi/build.xml:307: Running: make  failed with exit code: 2

Total time: 20 seconds
ollie:/usr/local/src/qt-jambi #           




More information about the Qt-jambi-interest mailing list