|
|
> Hi,
>
> > Running 4.3beta configure on AMD 64-bit OpenBSD 4.0, make exits after
> >
> > g++ -c -o qscriptlexer.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators
> > -Igenerators/unix -Igenerators/win32 -Igenerators/mac
> > -I/home/daf/QT/qt-x11-opensource-src-4.3.0beta/src/corelib/arch/generic
> > -I/home/daf/QT/qt-x11-opensource-src-4.3.0beta/include
> > -I/home/daf/QT/qt-x11-opensource-src-4.3.0beta/include/QtCore
> > -I/home/daf/QT/qt-x11-opensource-src-4.3.0beta/include
> > -I/home/daf/QT/qt-x11-opensource-src-4.3.0beta/include/QtCore
> > -I/home/daf/QT/qt-x11-opensource-src-4.3.0beta/src/corelib/global
> > -I/home/daf/QT/qt-x11-opensource-src-4.3.0beta/src/script -DQT_NO_PCRE
> > -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
> > -DQT_BUILD_QMAKE -DQT_NO_COMPRESS
> > -I/home/daf/QT/qt-x11-opensource-src-4.3.0beta/mkspecs/openbsd-g++
> > -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
> > /home/daf/QT/qt-x11-opensource-src-4.3.0beta/src/script/qscriptlexer.cpp
> > /home/daf/QT/qt-x11-opensource-src-4.3.0beta/src/script/qscriptlexer.cpp: In
> > member function `int QScript::Lexer::lex()':
> > /home/daf/QT/qt-x11-opensource-src-4.3.0beta/src/script/qscriptlexer.cpp:675:
> > error: `
> > strtold' undeclared (first use this function)
>
> Change file src/script/qscriptlexer.cpp from:
> #if [...] || defined(Q_OS_AIX)
> // ### This may cause autotest failure [...]
> dval = strtod(buffer8, 0L);
> #else
> dval = strtold(buffer8, 0L);
> #endif
> to:
> #if [...] || defined(Q_OS_AIX) || defined(Q_OS_OPENBSD)
> // ### This may cause autotest failure [...]
> dval = strtod(buffer8, 0L);
> #else
> dval = strtold(buffer8, 0L);
> #endif
>
> --
> Dimitri
Thanks Dimitri. This fix got me through configure. I am now running gmake.
Gmake fails as follows after running for some time:
gmake[1]: Entering directory
`/home/daf/QT/qt-x11-opensource-src-4.3.0beta/src/gui'
g++ -c -pipe -g -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -O2 -Wall -W -pthread -fPIC -DQT_SHARED
-DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
-DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_SSE2 -DQT_HAVE_SSE
-DQT_HAVE_MMX -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/openbsd-g++ -I.
-I../../include/QtCore -I../../include/QtCore -I../../include
-I../../include/QtGui -I../3rdparty/libpng -I../3rdparty/zlib
-I/usr/X11R6/include/freetype2 -I../3rdparty/harfbuzz/src -I.moc/release-shared
-I/usr/X11R6/include -I.uic/release-shared -I/usr/local/include
-I../../include/QtCore -I../../include/QtCore -I../../include
-I../../include/QtGui -I../3rdparty/libpng -I../3rdparty/zlib
-I/usr/X11R6/include/freetype2 -I../3rdparty/harfbuzz/src -I.moc/release-shared
-I/usr/X11R6/include -I.uic/relea
se-shared -I/usr/local/include -o .obj/release-shared/qfiledialog.o
dialogs/qfiledialog.cpp
In file included from dialogs/qfiledialog.cpp:27:
dialogs/qfiledialog_p.h:62:25: sys/statvfs.h: No such file or directory
In file included from dialogs/qfiledialog.cpp:27:
dialogs/qfiledialog_p.h: In member function `int
QFileDialogPrivate::maxNameLength(const QString&)':
dialogs/qfiledialog_p.h:157: error: aggregate `statvfs vfs' has incomplete type
and cannot be defined
dialogs/qfiledialog_p.h:158: error: invalid use of undefined type `struct
statvfs'
dialogs/qfiledialog_p.h:157: error: forward declaration of `struct statvfs'
gmake[1]: *** [.obj/release-shared/qfiledialog.o] Error 1
gmake[1]: Leaving directory
`/home/daf/QT/qt-x11-opensource-src-4.3.0beta/src/gui'
gmake: *** [sub-gui-make_default-ordered] Error 2
A40:/home/daf/QT/qt-x11-opensource-src-4.3.0beta}
I'm running with gcc (GCC) 3.3.5 (propolice)
Dave
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|