Hello,

just downloaded and configured Qt-4.6.0-rc1 on a RHEL4/x64 machine:

# cd /usr/local/qt-everywhere-commercial-src-4.6.0-rc1
# unset CFLAGS
# ./configure \
    -platform linux-g++-64 \
    -prefix /usr/local/qt-4.6.0-rc1/static \
    -release \
    -static \
    -exceptions \
    -no-accessibility \
    -no-qt3support \
    -nomake examples \
    -nomake demos \
    -nomake docs \
    -fast \
    -silent
[..]
Build type:    linux-g++-64
Architecture:  x86_64

Build ............... libs tools translations
Configuration .......  silent release static largefile stl mmx sse sse2
 minimal-config small-config medium-config large-config full-config
opengl ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname
getifaddrs system-jpeg jpeg mng system-png png gif system-tiff tiff
system-freetype system-zlib nis iconv glib openssl x11sm xshape xsync
xrender mitshm fontconfig xkb alsa xmlpatterns multimedia svg webkit
script scripttools release
Debug ............... no
Qt 3 compatibility .. no
QtDBus module ....... no
QtConcurrent code.... yes
QtScript module ..... yes
QtScriptTools module  yes
QtXmlPatterns module  yes
Phonon module ....... no
Multimedia module ... yes
SVG module .......... yes
WebKit module ....... yes
JavaScriptCore JIT .. To be decided by JavaScriptCore
Declarative module .. no
STL support ......... yes
PCH support ......... no
MMX/3DNOW/SSE/SSE2..  yes/no/yes/yes
Graphics System ..... default
IPv6 support ........ yes
IPv6 ifname support . yes
getaddrinfo support . yes
getifaddrs support .. yes
Accessibility ....... no
NIS support ......... yes
CUPS support ........ no
Iconv support ....... yes
Glib support ........ yes
GStreamer support ... no
Large File support .. yes
GIF support ......... yes
TIFF support ........ yes (system)
JPEG support ........ yes (system)
PNG support ......... yes (system)
MNG support ......... yes (qt)
zlib support ........ system
Session management .. yes
OpenGL support ...... yes (Desktop OpenGL)
OpenVG support ...... no
NAS sound support ... no
XShape support ...... yes
XSync support ....... yes
Xinerama support .... runtime
Xcursor support ..... runtime
Xfixes support ...... runtime
Xrandr support ...... runtime
Xrender support ..... yes
Xi support .......... runtime
MIT-SHM support ..... yes
FontConfig support .. yes
XKB Support ......... yes
immodule support .... yes
GTK theme support ... no
SQLite support ...... plugin (qt)
OpenSSL support ..... yes (run-time)

WARNING: Using static linking will disable the use of dynamically
loaded plugins. Make sure to import all needed static plugins,
or compile needed modules into the library.

alsa support ........ yes

Finding project files. Please wait...
[...]



but the build breaks with:

# gmake -s -j8
[...]
cd src/multimedia/ && gmake -f Makefile
compiling audio/qaudiooutput_alsa_p.cpp
audio/qaudiooutput_alsa_p.cpp: In member function `bool
QAudioOutputPrivate::open()':
audio/qaudiooutput_alsa_p.cpp:325: error:
`snd_pcm_hw_params_set_rate_resample' was not declared in this scope
audio/qaudiooutput_alsa_p.cpp:325: warning: unused variable
'snd_pcm_hw_params_set_rate_resample'
gmake[1]: *** [.obj/release-static/qaudiooutput_alsa_p.o] Error 1
gmake: *** [sub-multimedia-make_default-ordered] Error 2

Any ideas what's going on?

Compiler is stock RHEL4 gcc3:
# gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)


------------------------------------


BTW: The compiler warns about several conversion problems, e.g.:

text/qtextdocumentlayout.cpp: In member function `void
QTextDocumentLayoutPrivate::drawFrame(const QPointF&, QPainter*, const
QAbstractTextDocumentLayout::PaintContext&, QTextFrame*) const':
text/qtextdocumentlayout.cpp:1004: warning: converting to `int' from
`const double'
text/qtextdocumentlayout.cpp:1046: warning: converting to `int' from
`const double'
[...]
widgets/qabstractscrollarea.cpp: In member function `virtual bool
QAbstractScrollArea::event(QEvent*)':
widgets/qabstractscrollarea.cpp:970: warning: converting to `int' from
`qreal'
widgets/qabstractscrollarea.cpp:971: warning: converting to `int' from
`qreal'
[...]
graphicsview/qgraphicsitem.cpp: In member function `void
QGraphicsItem::scroll(qreal, qreal, const QRectF&)':
graphicsview/qgraphicsitem.cpp:5479: warning: passing `qreal' for
converting 1 of `QRect QRect::translated(int, int) const'
graphicsview/qgraphicsitem.cpp:5479: warning: passing `qreal' for
converting 2 of `QRect QRect::translated(int, int) const'
graphicsview/qgraphicsitem.cpp:5481: warning: passing `qreal' for
converting 1 of `void QPixmap::scroll(int, int, const QRect&, QRegion*)'
graphicsview/qgraphicsitem.cpp:5481: warning: passing `qreal' for
converting 2 of `void QPixmap::scroll(int, int, const QRect&, QRegion*)'
graphicsview/qgraphicsitem.cpp:5493: warning: passing `qreal' for
converting 1 of `QRect QRect::translated(int, int) const'
graphicsview/qgraphicsitem.cpp:5493: warning: passing `qreal' for
converting 2 of `QRect QRect::translated(int, int) const'
[...]
gl2paintengineex/qtriangulatingstroker.cpp:122: warning: passing
`double' for converting 2 of `const T& qMax(const T&, const T&) [with T
= int]'


I can post a complete logfile if needed.

-Jochen
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to