[mythtv-commits] Ticket #8958: OSX Build Error: Undefined symbol "myth_system(QString const&, int, unsigned int)"

MythTV mythtv at cvs.mythtv.org
Mon Sep 20 02:27:34 UTC 2010


#8958: OSX Build Error: Undefined symbol "myth_system(QString const&, int,
unsigned int)"
-------------------------+--------------------------------------------------
 Reporter:  kormoc       |           Owner:  nigel     
     Type:  defect       |          Status:  assigned  
 Priority:  major        |       Milestone:  0.24      
Component:  Ports - OSX  |         Version:  Trunk Head
 Severity:  medium       |      Resolution:            
 Keywords:               |   Ticket locked:  0         
-------------------------+--------------------------------------------------

Comment (by nigel):

 Trunk from 3 or 4 days ago works for me:
 {{{
 % rm *.o
 % touch *.pro
 % make
 /Volumes/Backups/MythTV/.osx-packager/build/bin/qmake -macx QMAKE=qmake -o
 Makefile mythshutdown.pro
 g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -fomit-
 frame-pointer -fPIC -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls
 -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS
 -D__STDC_LIMIT_MACROS -O3 -arch i386 -DMMX -Di386 -DUSING_APPLEREMOTE
 -D_GNU_SOURCE -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
 -DQT_CORE_LIB -DQT_SHARED -I/Volumes/Backups/MythTV/.osx-
 packager/build/mkspecs/macx-g++ -I. -I/Volumes/Backups/MythTV/.osx-
 packager/build/include/QtCore -I/Volumes/Backups/MythTV/.osx-
 packager/build/include/QtNetwork -I/Volumes/Backups/MythTV/.osx-
 packager/build/include/QtGui -I/Volumes/Backups/MythTV/.osx-
 packager/build/include/QtSql -I/Volumes/Backups/MythTV/.osx-
 packager/build/include -I/usr/include -I/Volumes/Backups/MythTV/.osx-
 packager/build -I../.. -I../../libs -I../../libs/libmyth
 -I../../libs/libmythtv -I../../external/FFmpeg -I../../libs/libmythupnp
 -I../../libs/libmythui -I../../libs/libmythlivemedia
 -I../../libs/libmythdb -I../../libmythhdhomerun -I../../libs/libmythdvdnav
 -I../../libs/libmythbluray -I../../libs/libmythsamplerate
 -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
 -I/System/Library/Frameworks/AGL.framework/Headers -I. -o main.o main.cpp
 g++ -headerpad_max_install_names -arch i386 -o mythshutdown main.o
 -L../../libs/libmyth -L../../libs/libmythtv
 -L../../external/FFmpeg/libavutil -L../../external/FFmpeg/libavcodec
 -L../../external/FFmpeg/libavcore -L../../external/FFmpeg/libavformat
 -L../../external/FFmpeg/libswscale -L../../libs/libmythdb
 -L../../libs/libmythui -L../../libs/libmythupnp -lmythtv-0.23
 -lmythswscale -lmythavformat -lmythavcodec -lmythavcore -lmythavutil
 -lmythupnp-0.23 -lmythdb-0.23 -lmythui-0.23 -lmyth-0.23
 -L../../libs/libmythlivemedia -lmythlivemedia-0.23
 -L../../libs/libmythfreemheg -lmythfreemheg-0.23
 -L../../libs/libmythhdhomerun -lmythhdhomerun-0.23
 -F/Developer/FireWireSDK26/Examples/Framework -framework AVCVideoServices
 -lmp3lame -L/Volumes/Backups/MythTV/.osx-packager/build/lib -lbz2
 -lfreetype -framework OpenGL -framework AGL -lQtSql
 -L/Volumes/Backups/MythTV/.osx-packager/build/lib/mysql
 -F/System/Library/Frameworks -L/usr/lib -lmysqlclient -lz -lm -lQtGui
 -lQtNetwork -lQtCore
 }}}
 as did an svn up; make.
 [[BR]]
 Ages ago, myth_system() moved between libmythui and libmythdb. Is it
 possible that there are broken versions of those libs somewhere? (''i.e.''
 both versions without myth_system()?) If so, try a purge:
 {{{
 rm /Users/kormoc/Projects/MythTV/OSX_Build/.osx-
 packager/build/lib/libmyth*
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8958#comment:2>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list