Opened 16 years ago

Closed 16 years ago

#19348 closed defect (worksforme)

qt4-mac build fails with Undefined symbols

Reported by: jrtomshine@… Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: clubjuggler@…
Port: qt4-mac

Description (last modified by mf2k (Frank Schima))

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$ 

Attachments (1)

out.txt.bz2 (134.6 KB) - added by jrtomshine@… 16 years ago.
text output of port install command with debug flag

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by jrtomshine@…

Attachment: out.txt.bz2 added

text output of port install command with debug flag

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Cc: clubjuggler@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to erickt@…

What version of Mac OS X are you running? What version of Xcode?

comment:2 in reply to:  1 ; Changed 16 years ago by jrtomshine@…

Replying to macsforever2000@…:

What version of Mac OS X are you running? What version of Xcode?

OSX 10.5.6 MacPorts 1.710

If there's anything else I can provide, just let me know.

Thanks!

-Jon

comment:3 in reply to:  2 Changed 16 years ago by mf2k (Frank Schima)

Replying to jrtomshine@…:

If there's anything else I can provide, just let me know.

What version of Xcode are you running?

comment:4 in reply to:  2 Changed 16 years ago by jrtomshine@…

Oh, and Xcode 3.0

-Jon

comment:5 Changed 16 years ago by mf2k (Frank Schima)

Upgrade Xcode to version 3.1.2 and then:

sudo port clean qt4-mac
sudo port install qt4-mac

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 16 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

Closing due to lack of response by reporter.

Note: See TracTickets for help on using tickets.