Opened 15 years ago
Closed 15 years ago
#8958 closed defect (Invalid)
OSX Build Error: Undefined symbol "myth_system(QString const&, int, unsigned int)"
Reported by: | Rob Smith | Owned by: | Nigel |
---|---|---|---|
Priority: | major | Milestone: | 0.24 |
Component: | Ports - OSX | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
cd mythshutdown/ && /usr/bin/make -f Makefile /Users/kormoc/Projects/MythTV/OSX_Build/.osx-packager/build/bin/qmake -macx PREFIX=/Users/kormoc/Projects/MythTV/OSX_Build/.osx-packager/build QMAKE_LFLAGS+=-Wl,-search_paths_first INCLUDEPATH+=/Users/kormoc/Projects/MythTV/OSX_Build/.osx-packager/build/include LIBS+=-L/usr/lib\ -L/Users/kormoc/Projects/MythTV/OSX_Build/.osx-packager/build/lib -o Makefile mythshutdown.pro g++ -headerpad_max_install_names -Wl,-search_paths_first -arch i386 -o mythshutdown main.o -L/usr/lib -L/Users/kormoc/Projects/MythTV/OSX_Build/.osx-packager/build/lib -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 -lbz2 -lfreetype -framework OpenGL -framework AGL -lQtSql -L/Users/kormoc/Projects/MythTV/OSX_Build/.osx-packager/build/lib/mysql -F/System/Library/Frameworks -m32 -lmysqlclient -lz -lm -lQtGui -lQtNetwork -lQtCore Undefined symbols: "myth_system(QString const&, int, unsigned int)", referenced from: shutdown() in main.o shutdown() in main.o shutdown() in main.o shutdown() in main.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [mythshutdown] Error 1 make[1]: *** [sub-mythshutdown-make_default] Error 2 make: *** [programs] Error 2
Change History (3)
comment:1 Changed 15 years ago by
Milestone: | unknown → 0.24 |
---|---|
Priority: | minor → major |
Status: | new → assigned |
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
Resolution: | → Invalid |
---|---|
Status: | assigned → closed |
ls /Users/kormoc/Projects/MythTV/OSX_Build/.osx-packager/build/lib/libmyth*
shows no files
however
rm -rf /Users/kormoc/Projects/MythTV/OSX_Build/.osx-packager
does fix the issue, so it was some inconsistency in the build tree.
Note: See
TracTickets for help on using
tickets.
Trunk from 3 or 4 days ago works for me:
as did an svn up; make.
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: