Newsgroup: it.comp.macintosh
Titolo: Compilare QT

Non riesco a a compilare le librerie QT free edition (Mac OS X 10.2).
Ho seguito tutte le istruzioni incluse nella distribuzione.
Premetto che ho installato i DevTools Dec 2002
Qualcuno è riuscito a compilarle senza problemi?
ciao


Stesso problema, OS X 10.2.6 e DevTools Dec 2002.
Per caso hai installato le librerie QT/X11 anche via Fink?
Io si', e sto cercando di capire se c'e' un conflitto o qualcosa del genere.
Posto qui sotto gli errori di compilazione.
Qualcuno e' riuscito a compilarle?
Grazie.
---
make
cd qmake && make
make -f Makefile qmake
make[3]: `qmake' is up to date.
cd src/moc && make
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qbuffer.o ../tools/qbuffer.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qptrcollection.o ../tools/qptrcollection.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qcstring.o ../tools/qcstring.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qdatastream.o ../tools/qdatastream.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qdatetime.o ../tools/qdatetime.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qfile.o ../tools/qfile.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qdir.o ../tools/qdir.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qfileinfo.o ../tools/qfileinfo.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qgarray.o ../tools/qgarray.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qgdict.o ../tools/qgdict.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qglist.o ../tools/qglist.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qglobal.o ../tools/qglobal.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qgvector.o ../tools/qgvector.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qiodevice.o ../tools/qiodevice.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qregexp.o ../tools/qregexp.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qstring.o ../tools/qstring.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qstringlist.o ../tools/qstringlist.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qtextstream.o ../tools/qtextstream.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qbitarray.o ../tools/qbitarray.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qmap.o ../tools/qmap.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qgcache.o ../tools/qgcache.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qtextcodec.o ../codecs/qtextcodec.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qutfcodec.o ../codecs/qutfcodec.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./moc_yacc.o moc_yacc.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qfile_unix.o ../tools/qfile_unix.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qdir_unix.o ../tools/qdir_unix.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Os 
-mcpu=750 -mtune=750  -DMACOSX_102 -DQT_MOC -DQT_NO_CODECS 
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../../X11R6/include/freetype2 -I../../include -I../tools -I. 
-I/sw/include/qt -o ./qfileinfo_unix.o ../tools/qfileinfo_unix.cpp
test -d ../../bin/ || mkdir -p ../../bin/
c++ -framework CoreServices -o ../../bin/moc ./qbuffer.o 
./qptrcollection.o ./qcstring.o ./qdatastream.o ./qdatetime.o ./qfile.o 
./qdir.o ./qfileinfo.o ./qgarray.o ./qgdict.o ./qglist.o ./qglobal.o 
./qgvector.o ./qiodevice.o ./qregexp.o ./qstring.o ./qstringlist.o 
./qtextstream.o ./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o 
./qutfcodec.o ./moc_yacc.o ./qfile_unix.o ./qdir_unix.o 
./qfileinfo_unix.o   -L/sw/lib -framework Carbon
cd src && make
/usr/local/qt/bin/moc kernel/qsound_mac.cpp -o 
.moc/release-shared/qsound_mac.moc
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Wall -W 
-Os -mcpu=750 -mtune=750 -fPIC -DQT_SHARED -DQT_NO_DEBUG -DMACOSX_102 
-DQT_NO_CUPS -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DQMAC_ONE_PIXEL_LOCK -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG 
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE 
-DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../X11R6/include/freetype2 -I3rdparty/libpng -I/sw/include/qt 
-I../include -I../../../X11R6/include -I../../../X11R6/include 
-I.moc/release-shared/ -o .obj/release-shared/qsound_mac.o 
kernel/qsound_mac.cpp
c++ -c -fPIC -fno-common -pipe -Ddlsym=dlsym_auto_underscore -Wall -W 
-Os -mcpu=750 -mtune=750 -fPIC -DQT_SHARED -DQT_NO_DEBUG -DMACOSX_102 
-DQT_NO_CUPS -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DQMAC_ONE_PIXEL_LOCK -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG 
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE 
-DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT 
-I/sw/share/qt3/mkspecs/darwin-g++ -I. 
-I../../../X11R6/include/freetype2 -I3rdparty/libpng -I/sw/include/qt 
-I../include -I../../../X11R6/include -I../../../X11R6/include 
-I.moc/release-shared/ -o .obj/release-shared/qapplication_mac.o 
kernel/qapplication_mac.cpp
kernel/qapplication.h: In function `void qt_mac_update_os_settings()':
kernel/qapplication.h:372: `QAsciiDict<QFont>*QApplication::app_fonts' is
    private
kernel/qapplication_mac.cpp:335: within this context
kernel/qapplication.h:372: `QAsciiDict<QFont>*QApplication::app_fonts' is
    private
kernel/qapplication_mac.cpp:336: within this context
kernel/qapplication.h:371: 
`QAsciiDict<QPalette>*QApplication::app_palettes' is
    private
kernel/qapplication_mac.cpp:395: within this context
kernel/qapplication.h:371: 
`QAsciiDict<QPalette>*QApplication::app_palettes' is
    private
kernel/qapplication_mac.cpp:396: within this context
kernel/qwidget.h: In function `void qt_event_request_updates(QWidget*, 
const
    QRegion&, bool)':
kernel/qwidget.h:593: `void QWidget::createExtra()' is private
kernel/qapplication_mac.cpp:475: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:477: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:478: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:479: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:481: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:485: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:486: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:489: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:490: within this context
kernel/qapplication_mac.cpp: At global scope:
kernel/qapplication_mac.cpp:518: `TimerInfo' was not declared in this scope
kernel/qapplication_mac.cpp:518: `tmr' was not declared in this scope
kernel/qapplication_mac.cpp:519: variable or field `qt_event_request_timer'
    declared void
kernel/qapplication_mac.cpp:519: syntax error before `{' token
kernel/qapplication_mac.cpp:522: `tmr_ev' was not declared in this scope
kernel/qapplication_mac.cpp:522: warning: ISO C++ forbids declaration of `
    CreateEvent' with no type
kernel/qapplication_mac.cpp:522: `int CreateEvent' redeclared as 
different kind
    of symbol
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:448: 
previous
    declaration of `OSStatus CreateEvent(const __CFAllocator*, long 
unsigned
    int, long unsigned int, double, long unsigned int, OpaqueEventRef**)'
kernel/qapplication_mac.cpp:522: warning: initializer list being treated as
    compound expression
kernel/qapplication_mac.cpp:523: `tmr_ev' was not declared in this scope
kernel/qapplication_mac.cpp:523: `tmr' was not declared in this scope
kernel/qapplication_mac.cpp:523: `tmr' was not declared in this scope
kernel/qapplication_mac.cpp:523: warning: ISO C++ forbids declaration of `
    SetEventParameter' with no type
kernel/qapplication_mac.cpp:523: `int SetEventParameter' redeclared as
    different kind of symbol
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:536: 
previous
    declaration of `OSStatus SetEventParameter(OpaqueEventRef*, long 
unsigned
    int, long unsigned int, long unsigned int, const void*)'
kernel/qapplication_mac.cpp:523: warning: initializer list being treated as
    compound expression
kernel/qapplication_mac.cpp:524: `tmr_ev' was not declared in this scope
kernel/qapplication_mac.cpp:524: warning: ISO C++ forbids declaration of `
    PostEventToQueue' with no type
kernel/qapplication_mac.cpp:524: `int PostEventToQueue' redeclared as 
different
    kind of symbol
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:841: 
previous
    declaration of `OSStatus PostEventToQueue(OpaqueEventQueueRef*,
    OpaqueEventRef*, short int)'
kernel/qapplication_mac.cpp:524: warning: initializer list being treated as
    compound expression
kernel/qapplication_mac.cpp:525: `tmr_ev' was not declared in this scope
kernel/qapplication_mac.cpp:525: warning: ISO C++ forbids declaration of `
    ReleaseEvent' with no type
kernel/qapplication_mac.cpp:525: `int ReleaseEvent' redeclared as different
    kind of symbol
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:496: 
previous
    declaration of `void ReleaseEvent(OpaqueEventRef*)'
kernel/qapplication_mac.cpp:526: parse error before `}' token
kernel/qapplication_mac.cpp:527: syntax error before `*' token
kernel/qapplication_mac.cpp:531: syntax error before `*' token
kernel/qapplication_mac.cpp:532: `event' was not declared in this scope
kernel/qapplication_mac.cpp:532: `t' was not declared in this scope
kernel/qapplication_mac.cpp:532: `t' was not declared in this scope
kernel/qapplication_mac.cpp:532: warning: ISO C++ forbids declaration of `
    GetEventParameter' with no type
kernel/qapplication_mac.cpp:532: `int GetEventParameter' redeclared as
    different kind of symbol
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:589: 
previous
    declaration of `OSStatus GetEventParameter(OpaqueEventRef*, long 
unsigned
    int, long unsigned int, EventParamType*, long unsigned int, UInt32*, 
void*)'
kernel/qapplication_mac.cpp:532: warning: initializer list being treated as
    compound expression
kernel/qapplication_mac.cpp:533: parse error before `return'
kernel/qapplication_mac.cpp: In function `void
    qt_event_request_menubarupdate()':
kernel/qapplication_mac.cpp:549: `CreateEvent' cannot be used as a function
kernel/qapplication_mac.cpp:550: `PostEventToQueue' cannot be used as a
    function
kernel/qapplication_mac.cpp:551: `ReleaseEvent' cannot be used as a function
kernel/qapplication_mac.cpp: In function `void qt_init(int*, char**,
    QApplication::Type)':
kernel/qapplication_mac.cpp:711: no method `QMenuBar::initialize'
kernel/qapplication_mac.cpp:728: `globalEventProcessor' is not a member 
of type
    `QApplication'
kernel/qapplication.h:325: `QStyle*QApplication::app_style' is private
kernel/qapplication_mac.cpp:732: within this context
kernel/qapplication.h:325: `QStyle*QApplication::app_style' is private
kernel/qapplication_mac.cpp:734: within this context
kernel/qapplication_mac.cpp:737: no method 
`QApplication::qt_mac_apply_settings
    '
kernel/qapplication_mac.cpp: In function `void qt_cleanup()':
kernel/qapplication_mac.cpp:757: no method `QMenuBar::cleanup'
kernel/qapplication_mac.cpp: In static member function `static
    Qt::MacintoshVersion QApplication::macVersion()':
kernel/qapplication_mac.cpp:803: `qt_macver' undeclared (first use this
    function)
kernel/qapplication_mac.cpp:803: (Each undeclared identifier is reported 
only
    once for each function it appears in.)
kernel/qwidget.h: In function `QWidget* qt_recursive_match(QWidget*, int,
    int)':
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:889: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:889: within this context
kernel/qwidget.h:633: `QWExtra*QWidget::extra' is private
kernel/qapplication_mac.cpp:890: within this context
kernel/qapplication_mac.cpp: At global scope:
kernel/qapplication_mac.cpp:1112: no `bool 
QApplication::do_mouse_down(Point*,
    bool*)' member function declared in class `QApplication'
kernel/qapplication_mac.cpp: In member function `bool
    QApplication::do_mouse_down(Point*, bool*)':
kernel/qapplication_mac.cpp:1119: `QMacBlockingFunction' undeclared 
(first use
    this function)
kernel/qapplication_mac.cpp:1119: parse error before `;' token
kernel/qapplication_mac.cpp:1138: parse error before `;' token
kernel/qapplication_mac.cpp:1183: parse error before `;' token
kernel/qapplication_mac.cpp:1188: `QMacSavedPortInfo' undeclared (first use
    this function)
kernel/qapplication_mac.cpp:1188: parse error before `(' token
kernel/qapplication_mac.cpp:1207: parse error before `;' token
kernel/qapplication_mac.cpp: At global scope:
kernel/qapplication_mac.cpp:1348: no `void
    QApplication::qt_context_timer_callbk(__EventLoopTimer*, void*)' member
    function declared in class `QApplication'
kernel/qapplication_mac.cpp: In member function `void
    QApplication::qt_context_timer_callbk(__EventLoopTimer*, void*)':
kernel/qapplication_mac.cpp:1354: parse error before `::' token
kernel/qapplication_mac.cpp:1358: `CreateEvent' cannot be used as a function
kernel/qapplication_mac.cpp:1359: `SetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1360: `PostEventToQueue' cannot be used as a
    function
kernel/qapplication_mac.cpp:1361: `ReleaseEvent' cannot be used as a 
function
kernel/qapplication_mac.cpp: At global scope:
kernel/qapplication_mac.cpp:1395: no `OSStatus
    QApplication::globalEventProcessor(OpaqueEventHandlerCallRef*,
    OpaqueEventRef*, void*)' member function declared in class 
`QApplication'
kernel/qapplication_mac.cpp: In member function `OSStatus
    QApplication::globalEventProcessor(OpaqueEventHandlerCallRef*,
    OpaqueEventRef*, void*)':
kernel/qapplication_mac.cpp:1397: no matching function for call to `
    QApplication::macEventFilter(OpaqueEventHandlerCallRef*&, 
OpaqueEventRef*&)'
kernel/qapplication_mac.cpp:1415: `struct QWExtra' has no member named `
    has_dirty_area'
kernel/qapplication_mac.cpp:1416: `struct QWExtra' has no member named `
    has_dirty_area'
kernel/qapplication_mac.cpp:1417: `struct QWExtra' has no member named `
    dirty_area'
kernel/qapplication_mac.cpp:1418: `struct QWExtra' has no member named `
    dirty_area'
kernel/qapplication_mac.cpp:1419: no matching function for call to 
`QWidget::
    clippedRegion()'
kernel/qapplication_mac.cpp:1421: `posInWindow' undeclared (first use this
    function)
kernel/qapplication_mac.cpp:1436: no matching function for call to 
`QWidget::
    propagateUpdates()'
kernel/qapplication_mac.cpp:1443: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1451: no method `QMenuBar::macUpdateMenuBar'
kernel/qapplication_mac.cpp:1457: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1461: no matching function for call to 
`QEventLoop
    ::macHandleSelect(timeval*)'
kernel/qapplication_mac.cpp:1469: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1499: `TimerInfo' undeclared (first use this
    function)
kernel/qapplication_mac.cpp:1499: `t' undeclared (first use this function)
kernel/qapplication_mac.cpp:1500: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1533: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1539: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1550: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1565: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1590: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1604: `QMacSavedPortInfo' undeclared (first use
    this function)
kernel/qapplication_mac.cpp:1604: parse error before `(' token
kernel/qapplication_mac.cpp:1616: parse error before `::' token
kernel/qapplication_mac.cpp:1620: `n' undeclared (first use this function)
kernel/qapplication_mac.cpp:1641: no matching function for call to `
    QApplication::do_mouse_down(Point*, int)'
kernel/qapplication_mac.cpp:1656: no matching function for call to `
    QApplication::do_mouse_down(Point*, bool*)'
kernel/qapplication_mac.cpp:1701: `qt_context_timer_callbk' undeclared 
(first
    use this function)
kernel/qapplication_mac.cpp:1786: case label `kEventClassTextInput' not 
within
    a switch statement
kernel/qapplication_mac.cpp:1802: `SetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1813: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1817: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1820: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1835: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1868: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1871: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1873: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1878: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1892: case label `kEventClassKeyboard' not 
within a
    switch statement
kernel/qapplication_mac.cpp:1895: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:1956: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2001: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2003: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2054: no method `QMenuBar::activateCommand'
kernel/qapplication_mac.cpp:2056: no method `QMenuBar::activate'
kernel/qapplication_mac.cpp:2111: no method `QMenuBar::activateCommand'
kernel/qapplication_mac.cpp:2112: no method `QMenuBar::activate'
kernel/qapplication_mac.cpp:2131: case label `kEventClassWindow' not 
within a
    switch statement
kernel/qapplication_mac.cpp:2136: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2152: no matching function for call to 
`QWidget::
    propagateUpdates(bool)'
kernel/qapplication_mac.cpp:2159: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2162: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2177: no matching function for call to 
`QWidget::
    propagateUpdates()'
kernel/qapplication_mac.cpp:2221: no method `QMenuBar::macUpdateMenuBar'
kernel/qapplication_mac.cpp:2234: case label `kEventClassApplication' not
    within a switch statement
kernel/qapplication_mac.cpp:2238: no matching function for call to 
`QClipboard
    ::loadScrap(int)'
kernel/qapplication_mac.cpp:2253: no matching function for call to 
`QClipboard
    ::saveScrap()'
kernel/qapplication_mac.cpp:2259: case label `kEventClassMenu' not within a
    switch statement
kernel/qapplication_mac.cpp:2264: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2268: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2269: no method `QMenuBar::macUpdatePopup'
kernel/qapplication_mac.cpp:2273: no method 
`QMenuBar::macUpdatePopupVisible'
kernel/qapplication_mac.cpp:2279: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2282: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2283: no method `QMenuBar::activate'
kernel/qapplication_mac.cpp:2292: case label `kAppearanceEventClass' not 
within
    a switch statement
kernel/qapplication_mac.cpp:2304: case label `kEventClassAppleEvent' not 
within
    a switch statement
kernel/qapplication_mac.cpp:2309: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2311: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2337: case label `kEventClassCommand' not 
within a
    switch statement
kernel/qapplication_mac.cpp:2341: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2343: no method `QMenuBar::activateCommand'
kernel/qapplication_mac.cpp:2361: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2368: `GetEventParameter' cannot be used as a
    function
kernel/qapplication_mac.cpp:2370: no method `QMenuBar::activate'
kernel/qapplication_mac.cpp: At global scope:
kernel/qapplication_mac.cpp:2382: parse error before `if'
kernel/qapplication_mac.cpp:2385: warning: ISO C++ forbids declaration of `
    mac_context_timer' with no type
kernel/qapplication_mac.cpp:2385: conflicting types for `int 
mac_context_timer'
kernel/qapplication_mac.cpp:134: previous declaration as `
    __EventLoopTimer*mac_context_timer'
kernel/qapplication_mac.cpp:2386: parse error before `}' token
kernel/qapplication_mac.cpp:2389: warning: ISO C++ forbids declaration of `
    ReleaseEvent' with no type
kernel/qapplication_mac.cpp:2389: redefinition of `int ReleaseEvent'
kernel/qapplication_mac.cpp:525: `int ReleaseEvent' previously defined here
kernel/qapplication_mac.cpp:2389: warning: invalid conversion from `
    OpaqueEventRef*' to `int'
kernel/qapplication_mac.cpp:2390: warning: ISO C++ forbids declaration of `
    request_context_pending' with no type
kernel/qapplication_mac.cpp:2390: conflicting types for `int
    request_context_pending'
kernel/qapplication_mac.cpp:1345: previous declaration as `
    OpaqueEventRef*request_context_pending'
kernel/qapplication_mac.cpp:2391: parse error before `}' token
kernel/qapplication_mac.cpp:2418: no `bool
    QApplication::macEventFilter(OpaqueEventHandlerCallRef*, 
OpaqueEventRef*)'
    member function declared in class `QApplication'
kernel/qapplication_mac.cpp: In static member function `static void
    QApplication::flush()':
kernel/qapplication_mac.cpp:2572: no matching function for call to 
`QWidget::
    propagateUpdates()'
kernel/qapplication_mac.cpp:2573: parse error before `::' token
kernel/qapplication_mac.cpp: At global scope:
kernel/qapplication_mac.cpp:2582: no `bool
    QApplication::qt_mac_apply_settings()' member function declared in 
class `
    QApplication'
{standard input}:1164:FATAL:Symbol _ReleaseEvent already defined.
make[2]: *** [.obj/release-shared/qapplication_mac.o] Error 1
make[1]: *** [sub-src] Error 2
make: *** [init] Error 2
---

 Qualcuno e' riuscito a compilarle?
Mi rispondo da solo: il problema era causato dall'installazione Qt/X11 
di Fink che veniva inclusa prima nel path.
L'ho rimossa dal path e ho compilato con successo Qt/Mac :-)
Ciao.