Home | News | Documentation | Download

Qtcint.so.5.31 cannot be built in trunk@41669

This is Ubuntu 10.04.3 LTS i686 (32-bit) with gcc 4.4.3 here …
While trying to compile the current ROOT “trunk@41669”, I get …

[code]/…/build/unix/makecintdll.sh linux C++ qtcint qt
" -p -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns qtcint.h "
“cint/cint/main/cint_tmp” “core/utils/src/rootcint_tmp -cint”
"/…/build/unix/makelib.sh -v 5 31 01 -x " “g++” “gcc” “g++” “-O2”
“-pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/…/cint/cint/inc -I/…/cint/cint/src -I/…/cint/cint/src/dict -pthread -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns” “-pipe -m32 -Wall -W -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/…/cint/cint/inc -I/…/cint/cint/src -I/…/cint/cint/src/dict -pthread”
“-m32 -O2 -Wl,–no-undefined -lQtCore -lQtGui -lQt3Support -lQtOpenGL -lQtSvg -lQtXml -lQtWebKit -lQtNetwork” “-shared -Wl,-soname,”
“so” “gnu” "-o "
cint/cint/main/cint_tmp -K -w1 -zqtcint -ncint/cint/lib/qt/G__qtcint.cxx -D__MAKECINT__ -DG__MAKECINT -c-1 -Z0 -Icint/cint/lib/qt -p -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns qtcint.h
/usr/include/qt4/QtCore/qstring.h:598:
Note: Bit-field not accessible from interpreter
/usr/include/qt4/QtCore/qobject.h:100:
Warning: Pure virtual destructor may cause problem. Define as ‘virtual ~QObjectData() { }’
/usr/include/qt4/QtGui/qtextdocument.h:98:
Warning: Pure virtual destructor may cause problem. Define as ‘virtual ~QAbstractUndoItem() { }‘
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/…/cint/cint/inc -I/…/cint/cint/src -I/…/cint/cint/src/dict -pthread -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I. -o cint/cint/lib/qt/G__qtcint.o -Icint/cint/lib/qt -c cint/cint/lib/qt/G__qtcint.cxx
g++ -shared -Wl,-soname,qtcint.so.5.31 -m32 -O2 -Wl,–no-undefined -lQtCore -lQtGui -lQt3Support -lQtOpenGL -lQtSvg -lQtXml -lQtWebKit -lQtNetwork -o cint/cint/include/qtcint.so.5.31 cint/cint/lib/qt/G__qtcint.o
cint/cint/lib/qt/G__qtcint.o: In function global constructors keyed to G__qtcint.cxx': G__qtcint.cxx:(.text+0x1d16): undefined reference toG__add_setup_func’
cint/cint/lib/qt/G__qtcint.o: In function G__cpp_setup_tagtable': G__qtcint.cxx:(.text+0x1d6c): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1d7a): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1db6): undefined reference toG__tagtable_setup’
G__qtcint.cxx:(.text+0x1dc4): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1dd2): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1de0): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1e1c): undefined reference toG__tagtable_setup’
G__qtcint.cxx:(.text+0x1e2a): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1e66): undefined reference toG__tagtable_setup’
G__qtcint.cxx:(.text+0x1e74): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1e82): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1ebe): undefined reference to G__tagtable_setup' G__qtcint.cxx:(.text+0x1ecc): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1eda): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1ee8): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1ef6): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1f04): undefined reference toG__get_linked_tagnum_fwd’
cint/cint/lib/qt/G__qtcint.o:G__qtcint.cxx:(.text+0x1f12): more undefined references to G__get_linked_tagnum_fwd' follow cint/cint/lib/qt/G__qtcint.o: In functionG__cpp_setup_tagtable’:
G__qtcint.cxx:(.text+0x2242): undefined reference to G__tagtable_setup' G__qtcint.cxx:(.text+0x2250): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x225e): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x226c): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x227a): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x2288): undefined reference toG__get_linked_tagnum_fwd’
cint/cint/lib/qt/G__qtcint.o:G__qtcint.cxx:(.text+0x2296): more undefined references to G__get_linked_tagnum_fwd' follow cint/cint/lib/qt/G__qtcint.o: In functionG__cpp_setup_tagtable’:
G__qtcint.cxx:(.text+0x2318): undefined reference to G__tagtable_setup' G__qtcint.cxx:(.text+0x2326): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x2362): undefined reference to G__tagtable_setup' G__qtcint.cxx:(.text+0x2370): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x237e): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x238c): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x239a): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x23a8): undefined reference toG__get_linked_tagnum_fwd’
cint/cint/lib/qt/G__qtcint.o:G__qtcint.cxx:(.text+0x23b6): more undefined references to `G__get_linked_tagnum_fwd’ follow

(… zillions of “undefined reference” messages like the above …)

cint/cint/lib/qt/G__qtcint.o: In function G__qtcint_15_0_71(G__value*, char const*, G__param*, int)': G__qtcint.cxx:(.text+0x1fd309): undefined reference toG__int’
G__qtcint.cxx:(.text+0x1fd35b): undefined reference to G__int' G__qtcint.cxx:(.text+0x1fd362): undefined reference toG__getstructoffset’
G__qtcint.cxx:(.text+0x1fd425): undefined reference to G__store_tempobject' G__qtcint.cxx:(.text+0x1fd4bc): undefined reference toG__int’
G__qtcint.cxx:(.text+0x1fd50b): undefined reference to G__int' G__qtcint.cxx:(.text+0x1fd55d): undefined reference toG__int’
G__qtcint.cxx:(.text+0x1fd5ad): undefined reference to G__int' G__qtcint.cxx:(.text+0x1fd5b5): undefined reference toG__getstructoffset’
G__qtcint.cxx:(.text+0x1fd676): undefined reference to G__store_tempobject' G__qtcint.cxx:(.text+0x1fd6c9): undefined reference toG__int’
G__qtcint.cxx:(.text+0x1fd71b): undefined reference to G__int' G__qtcint.cxx:(.text+0x1fd76b): undefined reference toG__int’
G__qtcint.cxx:(.text+0x1fd772): undefined reference to G__getstructoffset' G__qtcint.cxx:(.text+0x1fd830): undefined reference toG__store_tempobject’
cint/cint/lib/qt/G__qtcint.o: In function G__cpp_setup_init::~G__cpp_setup_init()': G__qtcint.cxx:(.text._ZN17G__cpp_setup_initD1Ev[G__cpp_setup_init::~G__cpp_setup_init()]+0x1c): undefined reference toG__remove_setup_func’
collect2: ld returned 1 exit status
mv: cannot stat `cint/cint/include/qtcint.so’: No such file or directory[/code]

Hi,

Do you still have this problem with trunk (following all the Ubuntu related updates)?

Cheers,
Philippe.

This is Ubuntu 10.04.3 LTS i686 (32-bit) with gcc 4.4.3 here …
While trying to compile the current ROOT “trunk@42917”, I get … qtcint.so.5.33 …

[code]/…/root/build/unix/makecintdll.sh linux C++ qtcint qt
" -p -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/inclu
de/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNe
twork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/
include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns qtcint.h "
“cint/cint/main/cint_tmp” “core/utils/src/rootcint_tmp -cint”
"/…/root/build/unix/makelib.sh -v 5 33 01 -x " “g++” “gcc” “g++” “-O2”
“-pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTB
ODY -I/…/root/cint/cint/inc -I/…/root/cint/cint/src -I/…/root/cint/cint/src/dict -pthread -DQT_GUI_LIB -DQT_CORE_
LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/
QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/u
sr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt
4/QtXml -I/usr/include/qt4/QtXmlPatterns” “-pipe -m32 -Wall -W -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO
-DG__CINTBODY -I/…/root/cint/cint/inc -I/…/root/cint/cint/src -I/…/root/cint/cint/src/dict -pthread”
“-m32 -O2 -Wl,–no-undefined -lQtCore -lQtGui -lQt3Support” “-shared -Wl,-soname,”
“so” “gnu” "-o "
cint/cint/main/cint_tmp -K -w1 -zqtcint -ncint/cint/lib/qt/G__qtcint.cxx -D__MAKECINT__ -DG__MAKECINT -c-1 -Z0 -Icint/cint/lib/qt -p -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT
_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtD
esigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTool
s -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns qtcint.h
/usr/include/qt4/QtCore/qstring.h:598:
Note: Bit-field not accessible from interpreter
/usr/include/qt4/QtCore/qobject.h:100:
Warning: Pure virtual destructor may cause problem. Define as ‘virtual ~QObjectData() { }’
/usr/include/qt4/QtGui/qtextdocument.h:98:
Warning: Pure virtual destructor may cause problem. Define as 'virtual ~QAbstractUndoItem() { }‘
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -
I/…/root/cint/cint/inc -I/…/root/cint/cint/src -I/…/root/cint/cint/src/dict -pthread -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/
usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include
/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I
/usr/include/qt4/QtXmlPatterns -I. -o cint/cint/lib/qt/G__qtcint.o -Icint/cint/lib/qt -c cint/cint/lib/qt/G__qtcint.cxx
g++ -shared -Wl,-soname,qtcint.so.5.33 -m32 -O2 -Wl,–no-undefined -lQtCore -lQtGui -lQt3Support -o cint/cint/include/qtcint.so.5.33 cint/cint/lib/qt/G__qtcint.o
cint/cint/lib/qt/G__qtcint.o: In function global constructors keyed to G__qtcint.cxx': G__qtcint.cxx:(.text+0x1d16): undefined reference toG__add_setup_func’
cint/cint/lib/qt/G__qtcint.o: In function G__cpp_setup_tagtable': G__qtcint.cxx:(.text+0x1d6c): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1d7a): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1db6): undefined reference toG__tagtable_setup’
G__qtcint.cxx:(.text+0x1dc4): undefined reference to `G__get_linked_tagnum_fwd’

(… tons of such messages …)

G__qtcint.cxx:(.text+0x1fd71b): undefined reference to G__int' G__qtcint.cxx:(.text+0x1fd76b): undefined reference toG__int’
G__qtcint.cxx:(.text+0x1fd772): undefined reference to G__getstructoffset' G__qtcint.cxx:(.text+0x1fd830): undefined reference toG__store_tempobject’
cint/cint/lib/qt/G__qtcint.o: In function G__cpp_setup_init::~G__cpp_setup_init()': G__qtcint.cxx:(.text._ZN17G__cpp_setup_initD1Ev[G__cpp_setup_init::~G__cpp_setup_init()]+0x1c): undefined reference toG__remove_setup_func’
collect2: ld returned 1 exit status
mv: cannot stat `cint/cint/include/qtcint.so’: No such file or directory[/code]

Hi,

This should be fixed by revision 42927 of the trunk.

Cheers,
Philippe.

=D>

I just tried to compile the newest ROOT v5-32-01 and the problem persists (it seems to me that the fix did not get to the v5-32-00-patches branch).

BTW. I’ve just found that exactly the same problem exists on CentOS 6.2 x86_64 SMP with gcc 4.4.6 and qt 4.6.2.

Hi,

Indeed, this was not backported to v5.32.

Cheers,
Philippe.

Could you, please, backport this?
There is the plan to “make v5-32-02 this Friday” … would be nice if the “qtcint.so” issue was fixed, too.

Done.
Philippe.

It seems to me that the problem is back …
… CentOS 6.3 x86_64 (64-bit) with gcc 4.4.6 …
… Ubuntu 10.04.4 LTS i686 (32-bit) with gcc 4.4.3 …
While trying to compile the current ROOT “v5-34-00-patches@44990”, I get …

[code]/…/build/unix/makecintdll.sh linux C++ qtcint qt
" -p -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns qtcint.h "
“cint/cint/main/cint_tmp” “core/utils/src/rootcint_tmp -cint”
"/…/build/unix/makelib.sh -v 5 34 00 -x " “g++” “gcc” “g++” “-O2”
“-pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/…/cint/cint/inc -I/…/cint/cint/src -I/…/cint/cint/src/dict -pthread -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns” “-pipe -m32 -Wall -W -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/…/cint/cint/inc -I/…/cint/cint/src -I/…/cint/cint/src/dict -pthread”
“-m32 -O2 -Wl,–no-undefined -Wl,–as-needed -lQtCore -lQtGui -lQt3Support -Llib -lCint” “-shared -Wl,-soname,”
“so” “gnu” "-o "
cint/cint/main/cint_tmp -K -w1 -zqtcint -ncint/cint/lib/qt/G__qtcint.cxx -D__MAKECINT__ -DG__MAKECINT -c-1 -Z0 -Icint/cint/lib/qt -p -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns qtcint.h
/usr/include/qt4/QtCore/qstring.h:598:
Note: Bit-field not accessible from interpreter
/usr/include/qt4/QtCore/qobject.h:100:
Warning: Pure virtual destructor may cause problem. Define as ‘virtual ~QObjectData() { }’
/usr/include/qt4/QtGui/qtextdocument.h:98:
Warning: Pure virtual destructor may cause problem. Define as ‘virtual ~QAbstractUndoItem() { }‘
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/…/cint/cint/inc -I/…/cint/cint/src -I/…/cint/cint/src/dict -pthread -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I. -o cint/cint/lib/qt/G__qtcint.o -Icint/cint/lib/qt -c cint/cint/lib/qt/G__qtcint.cxx
g++ -shared -Wl,-soname,qtcint.so.5.34 -m32 -O2 -Wl,–no-undefined -Wl,–as-needed -lQtCore -lQtGui -lQt3Support -Llib -lCint -o cint/cint/include/qtcint.so.5.34 cint/cint/lib/qt/G__qtcint.o
cint/cint/lib/qt/G__qtcint.o: In function global constructors keyed to G__qtcint.cxx': G__qtcint.cxx:(.text+0x1d16): undefined reference toG__add_setup_func’
cint/cint/lib/qt/G__qtcint.o: In function G__cpp_setup_tagtable': G__qtcint.cxx:(.text+0x1d6c): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1d7a): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1db6): undefined reference toG__tagtable_setup’
G__qtcint.cxx:(.text+0x1dc4): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1dd2): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1de0): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1e1c): undefined reference toG__tagtable_setup’
G__qtcint.cxx:(.text+0x1e2a): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1e66): undefined reference toG__tagtable_setup’
G__qtcint.cxx:(.text+0x1e74): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1e82): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1ebe): undefined reference to G__tagtable_setup' G__qtcint.cxx:(.text+0x1ecc): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1eda): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1ee8): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x1ef6): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x1f04): undefined reference toG__get_linked_tagnum_fwd’
cint/cint/lib/qt/G__qtcint.o:G__qtcint.cxx:(.text+0x1f12): more undefined references to G__get_linked_tagnum_fwd' follow cint/cint/lib/qt/G__qtcint.o: In functionG__cpp_setup_tagtable’:
G__qtcint.cxx:(.text+0x2242): undefined reference to G__tagtable_setup' G__qtcint.cxx:(.text+0x2250): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x225e): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x226c): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x227a): undefined reference to G__get_linked_tagnum_fwd' G__qtcint.cxx:(.text+0x2288): undefined reference toG__get_linked_tagnum_fwd’
cint/cint/lib/qt/G__qtcint.o:G__qtcint.cxx:(.text+0x2296): more undefined references to G__get_linked_tagnum_fwd' follow cint/cint/lib/qt/G__qtcint.o: In functionG__cpp_setup_tagtable’:
G__qtcint.cxx:(.text+0x2318): undefined reference to G__tagtable_setup' G__qtcint.cxx:(.text+0x2326): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x2362): undefined reference to G__tagtable_setup' G__qtcint.cxx:(.text+0x2370): undefined reference toG__get_linked_tagnum_fwd’
G__qtcint.cxx:(.text+0x237e): undefined reference to `G__get_linked_tagnum_fwd’

(… tons of such messages …)

G__qtcint.cxx:(.text._ZN8QToolTip8hideTextEv[QToolTip::hideText()]+0x19): undefined reference to QString::shared_null' G__qtcint.cxx:(.text._ZN8QToolTip8hideTextEv[QToolTip::hideText()]+0x4a): undefined reference toQToolTip::showText(QPoint const&, QString const&, QWidget*)‘
G__qtcint.cxx:(.text._ZN8QToolTip8hideTextEv[QToolTip::hideText()]+0x62): undefined reference to QString::free(QString::Data*)' cint/cint/lib/qt/G__qtcint.o: In functionQList<QPair<QString, QString> >::free(QListData::Data*)’:
G__qtcint.cxx:(.text._ZN5QListI5QPairI7QStringS1_EE4freeEPN9QListData4DataE[QList<QPair<QString, QString> >::free(QListData::Data*)]+0x4a): undefined reference to QString::free(QString::Data*)' G__qtcint.cxx:(.text._ZN5QListI5QPairI7QStringS1_EE4freeEPN9QListData4DataE[QList<QPair<QString, QString> >::free(QListData::Data*)]+0x78): undefined reference toQString::free(QString::Data*)‘
G__qtcint.cxx:(.text._ZN5QListI5QPairI7QStringS1_EE4freeEPN9QListData4DataE[QList<QPair<QString, QString> >::free(QListData::Data*)]+0x8d): undefined reference to qFree(void*)' cint/cint/lib/qt/G__qtcint.o: In functionQList<QPair<QString, QString> >::detach_helper()’:
G__qtcint.cxx:(.text._ZN5QListI5QPairI7QStringS1_EE13detach_helperEv[QList<QPair<QString, QString> >::detach_helper()]+0x20): undefined reference to QListData::detach3()' G__qtcint.cxx:(.text._ZN5QListI5QPairI7QStringS1_EE13detach_helperEv[QList<QPair<QString, QString> >::detach_helper()]+0xff): undefined reference toQString::free(QString::Data*)'
G__qtcint.cxx:(.text._ZN5QListI5QPairI7QStringS1_EE13detach_helperEv[QList<QPair<QString, QString> >::detach_helper()]+0x10c): undefined reference to QString::free(QString::Data*)' G__qtcint.cxx:(.text._ZN5QListI5QPairI7QStringS1_EE13detach_helperEv[QList<QPair<QString, QString> >::detach_helper()]+0x12a): undefined reference toqFree(void*)‘
collect2: ld returned 1 exit status
mv: cannot stat `cint/cint/include/qtcint.so’: No such file or directory[/code]

Hi,

That odds:g++ -shared -Wl,-soname,qtcint.so.5.34 -m32 -O2 -Wl,--no-undefined -Wl,--as-needed -lQtCore -lQtGui -lQt3Support -Llib -lCint -o cint/cint/include/qtcint.so.5.34 libCint is already on the link line …

Philippe.

In this case, I guess the problem is that the libraries should be IN THE END of the link command line.

I was right … please change the liker command line into (tested on CentOS and Ubuntu): g++ -shared -Wl,-soname,qtcint.so.5.34 -m64 -O2 -Wl,--no-undefined -Wl,--as-needed -o cint/cint/include/qtcint.so.5.34 cint/cint/lib/qt/G__qtcint.o -lQtCore -lQtGui -lQt3Support -Llib -lCint

Hi,

This is fixed in the trunk and the patch branch v5.32 and v5.34.

Cheers,
Philippe.