[MacPorts] #19348: qt4-mac build fails with Undefined symbols
MacPorts
noreply at macports.org
Thu Apr 16 21:18:01 PDT 2009
#19348: qt4-mac build fails with Undefined symbols
----------------------------------+-----------------------------------------
Reporter: jrtomshine@… | Owner: erickt@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Keywords: | Port: qt4-mac
----------------------------------+-----------------------------------------
Changes (by macsforever2000@…):
* cc: clubjuggler@… (added)
* owner: macports-tickets@… => erickt@…
Old description:
> I'm attaching the results of the port install with the debug flag -- it
> fails at this point:
>
> rm -f libphonon_qt7_debug.bundle
> /usr/bin/g++-4.0 -headerpad_max_install_names -bundle -flat_namespace -o
> libphonon_qt7_debug.bundle .obj/debug-shared/quicktimevideoplayer.o .obj
> /debug-shared/backendheader.o .obj/debug-shared/medianodevideopart.o .obj
> /debug-shared/medianodeevent.o .obj/debug-shared/audiooutput.o .obj
> /debug-shared/backendinfo.o .obj/debug-shared/audiosplitter.o .obj/debug-
> shared/audioeffects.o .obj/debug-shared/quicktimestreamreader.o .obj
> /debug-shared/medianode.o .obj/debug-shared/backend.o .obj/debug-
> shared/mediaobject.o .obj/debug-shared/mediaobjectaudionode.o .obj/debug-
> shared/audiomixer.o .obj/debug-shared/quicktimeaudioplayer.o .obj/debug-
> shared/videoframe.o .obj/debug-shared/quicktimemetadata.o .obj/debug-
> shared/audiodevice.o .obj/debug-shared/audioconnection.o .obj/debug-
> shared/audiograph.o .obj/debug-shared/audionode.o .obj/debug-
> shared/videowidget.o
> -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
> /qt-mac-opensource-src-4.5.0/lib -L/opt/local/lib
> -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
> /qt-mac-opensource-src-4.5.0/lib -Xarch_i386 -Xarch_ppc -framework
> QuickTime -framework AudioUnit -framework AudioToolbox -framework
> CoreAudio -framework QuartzCore -framework QTKit -framework phonon
> -L/opt/local/lib
> -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
> /qt-mac-opensource-src-4.5.0/lib
> -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
> /qt-mac-opensource-src-4.5.0/lib -framework QtDBus -ldbus-1 -framework
> QtXml -framework QtOpenGL -framework QtGui -framework Carbon -framework
> AppKit -lpng -framework QtCore -lz -lm -framework ApplicationServices
> -framework OpenGL -framework AGL
> ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
> Undefined symbols:
> "_CGLGetCurrentContext", referenced from:
> Phonon::QT7::QuickTimeVideoPlayer::createVisualContext() in
> quicktimevideoplayer.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[4]: ***
> [../../../../plugins/phonon_backend/libphonon_qt7_debug.bundle] Error 1
> make[3]: *** [debug-all] Error 2
> make[2]: *** [sub-qt7-make_default] Error 2
> make[1]: *** [sub-phonon-make_default] Error 2
> make: *** [sub-plugins-make_default-ordered] Error 2
>
> Warning: the following items did not execute (for qt4-mac):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Status 1 encountered during processing.
> zefiris:~ jshine$
New description:
I'm attaching the results of the port install with the debug flag -- it
fails at this point:
{{{
rm -f libphonon_qt7_debug.bundle
/usr/bin/g++-4.0 -headerpad_max_install_names -bundle -flat_namespace -o
libphonon_qt7_debug.bundle .obj/debug-shared/quicktimevideoplayer.o .obj
/debug-shared/backendheader.o .obj/debug-shared/medianodevideopart.o .obj
/debug-shared/medianodeevent.o .obj/debug-shared/audiooutput.o .obj/debug-
shared/backendinfo.o .obj/debug-shared/audiosplitter.o .obj/debug-
shared/audioeffects.o .obj/debug-shared/quicktimestreamreader.o .obj
/debug-shared/medianode.o .obj/debug-shared/backend.o .obj/debug-
shared/mediaobject.o .obj/debug-shared/mediaobjectaudionode.o .obj/debug-
shared/audiomixer.o .obj/debug-shared/quicktimeaudioplayer.o .obj/debug-
shared/videoframe.o .obj/debug-shared/quicktimemetadata.o .obj/debug-
shared/audiodevice.o .obj/debug-shared/audioconnection.o .obj/debug-
shared/audiograph.o .obj/debug-shared/audionode.o .obj/debug-
shared/videowidget.o
-F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
/qt-mac-opensource-src-4.5.0/lib -L/opt/local/lib
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
/qt-mac-opensource-src-4.5.0/lib -Xarch_i386 -Xarch_ppc -framework
QuickTime -framework AudioUnit -framework AudioToolbox -framework
CoreAudio -framework QuartzCore -framework QTKit -framework phonon
-L/opt/local/lib
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
/qt-mac-opensource-src-4.5.0/lib
-F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
/qt-mac-opensource-src-4.5.0/lib -framework QtDBus -ldbus-1 -framework
QtXml -framework QtOpenGL -framework QtGui -framework Carbon -framework
AppKit -lpng -framework QtCore -lz -lm -framework ApplicationServices
-framework OpenGL -framework AGL
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
Undefined symbols:
"_CGLGetCurrentContext", referenced from:
Phonon::QT7::QuickTimeVideoPlayer::createVisualContext() in
quicktimevideoplayer.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: ***
[../../../../plugins/phonon_backend/libphonon_qt7_debug.bundle] Error 1
make[3]: *** [debug-all] Error 2
make[2]: *** [sub-qt7-make_default] Error 2
make[1]: *** [sub-phonon-make_default] Error 2
make: *** [sub-plugins-make_default-ordered] Error 2
Warning: the following items did not execute (for qt4-mac):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
zefiris:~ jshine$
}}}
--
Comment:
What version of Mac OS X are you running? What version of Xcode?
--
Ticket URL: <http://trac.macports.org/ticket/19348#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list