v1.6.4 oss build fails on fedora 14

The place to discuss linux version of MakeMKV
Post Reply
crackednoodle
Posts: 3
Joined: Sat Feb 05, 2011 7:13 pm

v1.6.4 oss build fails on fedora 14

Post by crackednoodle » Sat Feb 05, 2011 8:05 pm

[root@Doom makemkv_v1.6.4_oss]# make -f makefile.linux
mkdir -p out
gcc -O3 -D_linux_ -oout/makemkv.full -Imakemkvgui/inc -Ilibmakemkv/inc -Isstring/inc -Ilibdriveio/inc \
makemkvgui/src/aboutbox.cpp makemkvgui/src/client.cpp makemkvgui/src/dirselectbox.cpp makemkvgui/src/logic.cpp makemkvgui/src/logtext.cpp makemkvgui/src/main.cpp makemkvgui/src/nativefiledialog.cpp makemkvgui/src/mainwnd.cpp makemkvgui/src/marshall.cpp makemkvgui/src/progress.cpp makemkvgui/src/scsiinfo.cpp makemkvgui/src/settingdlg.cpp makemkvgui/src/uisync.cpp makemkvgui/src/viteminfo.cpp makemkvgui/src/backupdlg.cpp makemkvgui/src/lstring.cpp makemkvgui/src/notify.cpp makemkvgui/src/str/en_utf16.cpp makemkvgui/src/api_posix.cpp makemkvgui/src/api_linux.cpp makemkvgui/src/logic_posix.cpp makemkvgui/src/notify_linux.cpp tmp/qt_rsrc.cpp tmp/moc_mainwnd.cpp tmp/moc_logtext.cpp tmp/moc_dirselectbox.cpp tmp/moc_aboutbox.cpp tmp/moc_settingdlg.cpp tmp/moc_backupdlg.cpp sstring/src/sstring.cpp libdriveio/src/srlist.cpp \
-DHAVE_BUILDINFO_H -Itmp \
-I/usr/include/qt4 -I/usr/lib/qt4/include -L/usr/lib/qt4 -L/usr/lib/qt4/lib -lc -lstdc++ -lQtGui -lQtCore \
-lpthread -lz -lrt
/tmp/cc1XmvwM.o: In function `notifyInit()':
notify_linux.cpp:(.text+0x1d): undefined reference to `QDBusMessage::QDBusMessage()'
notify_linux.cpp:(.text+0xa2): undefined reference to `QDBusConnection::sessionBus()'
notify_linux.cpp:(.text+0xde): undefined reference to `QDBusInterface::QDBusInterface(QString const&, QString const&, QString const&, QDBusConnection const&, QObject*)'
notify_linux.cpp:(.text+0xed): undefined reference to `QDBusConnection::~QDBusConnection()'
notify_linux.cpp:(.text+0x13b): undefined reference to `QDBusAbstractInterface::isValid() const'
notify_linux.cpp:(.text+0x340): undefined reference to `QDBusAbstractInterface::call(QDBus::CallMode, QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&)'
notify_linux.cpp:(.text+0x350): undefined reference to `QDBusMessage::operator=(QDBusMessage const&)'
notify_linux.cpp:(.text+0x35d): undefined reference to `QDBusMessage::~QDBusMessage()'
notify_linux.cpp:(.text+0x3c1): undefined reference to `QDBusMessage::type() const'
notify_linux.cpp:(.text+0x3ef): undefined reference to `QDBusMessage::~QDBusMessage()'
notify_linux.cpp:(.text+0x474): undefined reference to `QDBusMessage::arguments() const'
notify_linux.cpp:(.text+0x511): undefined reference to `QDBusMessage::~QDBusMessage()'
notify_linux.cpp:(.text+0x599): undefined reference to `QDBusMessage::~QDBusMessage()'
notify_linux.cpp:(.text+0x5ee): undefined reference to `QDBusConnection::~QDBusConnection()'
/tmp/cc1XmvwM.o: In function `notifyEvent(QMainWindow*, unsigned long, char const*, QString const&)':
notify_linux.cpp:(.text+0x836): undefined reference to `QDBusAbstractInterface::call(QDBus::CallMode, QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&)'
notify_linux.cpp:(.text+0x843): undefined reference to `QDBusMessage::~QDBusMessage()'
collect2: ld returned 1 exit status
make: *** [out/makemkv.full] Error 1

Any Ideas 1.6.3 worked fine.

Thanks,
Brad

z-factor
Posts: 3
Joined: Sat Feb 05, 2011 11:45 pm

Re: v1.6.4 oss build fails on fedora 14

Post by z-factor » Sat Feb 05, 2011 11:54 pm

I've got an older version of Fedbora and the same problem. You need to add -lQtDBus to the compile line. I put the details in the thread posted by the Ubuntu user that has the same problem. It's likely that many users are going to run into this problem. Hope this helps.

Bling2Ming
Posts: 24
Joined: Mon Aug 03, 2009 7:20 pm

Re: v1.6.4 oss build fails on fedora 14

Post by Bling2Ming » Sun Feb 06, 2011 10:31 am

Here's the thread with z-factors fix in it.
http://www.makemkv.com/forum2/viewtopic ... 820#p10803

Post Reply