Qt-interest Archive, December 2007
4.3.2 and Linux x86_64 compile errors
Message 1 in thread
Anyone know how to get around this?
make[1]: Entering directory
`/state/partition1/OpenSource/qt-x11-opensource-src-4.3.2/src/gui'
g++ -c -include .pch/release-shared/QtGui -pipe -g -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -Wall -W
-D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_44_API_QSQLQUERY_FINISH -DQT3_SUPPORT
-DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DFT2_BUILD_LIBRARY
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC
-DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP
-DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I.
-I../../include/QtCore -I../../include/QtCore -I../../include
-I../../include/QtGui -I../3rdparty/freetype/src
-I../3rdparty/freetype/include -I../3rdparty/freetype/builds/unix
-Idialogs -I.moc/release-shared -I/usr/X11R6/include
-I.uic/release-shared -o .obj/release-shared/qstylesheetstyle.o
styles/qstylesheetstyle.cpp
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h: In member
function `virtual QRect
QStyleSheetStyle::subControlRect(QStyle::ComplexControl, const
QStyleOptionComplex*, QStyle::SubControl, const QWidget*) const':
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120:
error: inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120:
error: inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120:
error: inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120:
error: inconsistent operand constraints in an `asm'
make[1]: *** [.obj/release-shared/qstylesheetstyle.o] Error 1
make[1]: Leaving directory
`/state/partition1/OpenSource/qt-x11-opensource-src-4.3.2/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2
[jacksonm@Titanium:qt-x11-opensource-src-4.3.2]$ gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
uname -a
Linux Titanium.imts.us 2.6.9-42.0.2.ELsmp #1 SMP Wed Aug 23 13:38:27
BST 2006 x86_64 x86_64 x86_64 GNU/Linux
Thanks for any help.
Mike
--
[ signature omitted ]
Message 2 in thread
On Dec 5, 2007, at 5:14 PM, Mike Jackson wrote:
> Anyone know how to get around this?
Yep, do a quick search of the archives for "qatomic_x86_64.h" and
you'll find where we've discussed this before.
Caleb
--
[ signature omitted ]