Opened 9 years ago
Closed 8 years ago
Last modified 8 years ago
#12839 closed Bug Report - General (fixed)
zoneminder plugin linking fails under OS X
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 0.28.1 |
Component: | Plugin - MythZoneminder | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
building zonemider plugin fails on linking stage. system is El-Capitain 10.11.6 with Xcode 7.3.1 (7D1014)
log says following:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.9 -L/Users/piotro/Devel/mythtv-master/.osx-packager/build/lib -F/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib -Wl,-dynamic,-search_paths_first -Qunused-arguments -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -stdlib=libc++ -mmacosx-version-min=10.7 -single_module -dynamiclib -o libmythzoneminder.dylib main.o zmconsole.o zmplayer.o zmevents.o zmliveplayer.o zmsettings.o zmclient.o alarmnotifythread.o zmminiplayer.o moc_zmconsole.o moc_zmplayer.o moc_zmevents.o moc_zmliveplayer.o moc_zmclient.o moc_zmminiplayer.o -F/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib -L/Users/piotro/Devel/mythtv-master/.osx-packager/build/lib -framework QTKit -framework Foundation -framework QuartzCore -framework CoreVideo -framework AVFoundation -framework CoreMedia -framework CoreFoundation -framework VideoToolbox -framework VideoDecodeAcceleration -liconv -Wl,-framework,CoreFoundation -Wl,-framework,Security -Wl,-framework,OpenGL -framework CoreGraphics -lm -pthread -framework CoreServices -lfreetype -lz -lbz2 -lmp3lame -F/Users/piotro/Devel/mythtv-master/.osx-packager/build/lib -framework AVCVideoServices -lmythbase-29 -lmyth-29 -lmythui-29 -lmythupnp-29 -lmythservicecontracts-29 -lmythavcodec -lmythavutil -lmythavformat -lmythswresample -framework QtWidgets -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework QtNetwork -framework QtSql -framework QtXml -framework OpenGL -framework AGL /Users/piotro/Devel/Qt5.5.1/5.5/clang_64/bin/moc -D_GNU_SOURCE -DPREFIX="/Users/piotro/Devel/mythtv-master/.osx-packager/build" -DMMX -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DMPLUGIN_API -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4 -D__APPLE_CC__ -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/mkspecs/macx-clang -I/Users/piotro/Devel/mythtv-master/.osx-packager/src/myth-git/mythplugins/mytharchive/mytharchive -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include/mythtv -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include/mythtv/libmythbase -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include/mythtv/libmythui -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include/mythtv/libmyth -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include/mythtv/libmythservicecontracts -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include/mythtv/libavformat -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include/mythtv/libswscale -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtOpenGL.framework/Headers -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtWidgets.framework/Headers -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtGui.framework/Headers -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtXml.framework/Headers -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtSql.framework/Headers -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtNetwork.framework/Headers -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtCore.framework/Headers -F/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib importnative.h -o moc_importnative.cpp Undefined symbols for architecture x86_64: "ZMLivePlayer::getMonitorList()", referenced from: ZMLivePlayer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in moc_zmliveplayer.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libmythzoneminder.dylib] Error 1 make[1]: *** [sub-mythzoneminder-make_first] Error 2 make: *** [sub-mythzoneminder-make_first] Error 2 make: *** Waiting for unfinished jobs....
Change History (7)
comment:1 Changed 9 years ago by
comment:2 Changed 8 years ago by
Owner: | set to Paul Harrison <pharrison@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 8 years ago by
Milestone: | unknown → 0.28.1 |
---|
comment:5 Changed 8 years ago by
Paul, this commit start to cause following error for me:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.9 -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/mysql -F/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE -msse -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -fomit-frame-pointer -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7 -Wall -W -fPIC -D_GNU_SOURCE -DPREFIX="/Users/piotro/Devel/mythtv-master/.osx-packager/build" -DMMX -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I/Users/piotro/Devel/mythtv-master/.osx-packager/build/include -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtGui.framework/Headers -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtSql.framework/Headers -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/mkspecs/macx-clang -F/Users/piotro/Devel/Qt5.5.1/5.5/clang_64/lib -o zmserver.o zmserver.cpp zmserver.cpp:624:41: error: use of undeclared identifier 'MSG_NOSIGNAL' int status = ::send(m_sock, buf, 8, MSG_NOSIGNAL); ^ zmserver.cpp:629:50: error: use of undeclared identifier 'MSG_NOSIGNAL' status = ::send(m_sock, s.c_str(), s.size(), MSG_NOSIGNAL); ^ zmserver.cpp:642:41: error: use of undeclared identifier 'MSG_NOSIGNAL' int status = ::send(m_sock, buf, 8, MSG_NOSIGNAL); ^ zmserver.cpp:647:50: error: use of undeclared identifier 'MSG_NOSIGNAL' status = ::send(m_sock, s.c_str(), s.size(), MSG_NOSIGNAL); ^ zmserver.cpp:652:46: error: use of undeclared identifier 'MSG_NOSIGNAL' status = ::send(m_sock, buffer, dataLen, MSG_NOSIGNAL); ^ 5 errors generated. make[2]: *** [zmserver.o] Error 1 make[1]: *** [sub-mythzmserver-make_first] Error 2 make[1]: *** Waiting for unfinished jobs....
Note: See
TracTickets for help on using
tickets.
Same error encountered trying to build with MacPorts?: