I am new to the forums here so I just want to start by saying Hello.
I am currently trying to compile the mobloquer gui for MoBlock on PCLOS 2007 Gnome edition. I have downloaded moblock via synaptic as well as all of it's dependencies from the same source. I could not get "qtmake-qt4" command to work. I found a post from Texstar in the pclos forum relating to creating makefiles with qt4 using this command "/usr/lib/qt4/bin/qmake" which resulted in a make file being created...success, sort of !
Now typing make into the terminal results in the following
[brett@ ~]$ cd black_tar
[brett@ black_tar]$ cd mobloquer
[brett@ mobloquer]$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -I. -Isrc -Ibuild/moc -Iui -o build/obj/file_transactions.o src/file_transactions.cpp
In file included from /usr/lib/qt4/include/QtCore/qnamespace.h:42,
from /usr/lib/qt4/include/QtCore/qobjectdefs.h:42,
from /usr/lib/qt4/include/QtCore/qobject.h:44,
from /usr/lib/qt4/include/QtCore/qiodevice.h:43,
from /usr/lib/qt4/include/QtCore/qfile.h:42,
from /usr/lib/qt4/include/QtCore/QFile:1,
from src/file_transactions.h:24,
from src/file_transactions.cpp:21:
/usr/lib/qt4/include/QtCore/qglobal.h:1185: warning: `visibility' attribute does not apply to types
/usr/lib/qt4/include/QtCore/qglobal.h:1299: warning: `inline' is not at beginning of declaration
/usr/lib/qt4/include/QtCore/qglobal.h:1300: warning: `inline' is not at beginning of declaration
/usr/lib/qt4/include/QtCore/qglobal.h:1301: warning: `inline' is not at beginning of declaration
/usr/lib/qt4/include/QtCore/qglobal.h:1766: warning: `visibility' attribute does not apply to types
In file included from /usr/lib/qt4/include/QtCore/qobjectdefs.h:42,
from /usr/lib/qt4/include/QtCore/qobject.h:44,
from /usr/lib/qt4/include/QtCore/qiodevice.h:43,
from /usr/lib/qt4/include/QtCore/qfile.h:42,
from /usr/lib/qt4/include/QtCore/QFile:1,
from src/file_transactions.h:24,
from src/file_transactions.cpp:21:
/usr/lib/qt4/include/QtCore/qnamespace.h:1489: warning: `visibility' attribute does not apply to types
In file included from /usr/lib/qt4/include/QtCore/qobject.h:44,
from /usr/lib/qt4/include/QtCore/qiodevice.h:43,
from /usr/lib/qt4/include/QtCore/qfile.h:42,
from /usr/lib/qt4/include/QtCore/QFile:1,
from src/file_transactions.h:24,
from src/file_transactions.cpp:21:
/usr/lib/qt4/include/QtCore/qobjectdefs.h:227: warning: `visibility' attribute does not apply to types
/usr/lib/qt4/include/QtCore/qobjectdefs.h:235: warning: `visibility' attribute does not apply to types
/usr/lib/qt4/include/QtCore/qobjectdefs.h:405: warning: `visibility' attribute does not apply to types
/usr/lib/qt4/include/QtCore/qobjectdefs.h: In member function `const QMetaObject* QMetaObject::superClass() const':
/usr/lib/qt4/include/QtCore/qobjectdefs.h:411: error: invalid conversion from `const QMetaObject* const' to `const QMetaObject*'
In file included from /usr/lib/qt4/include/QtCore/qstring.h:42,
from /usr/lib/qt4/include/QtCore/qobject.h:45,
from /usr/lib/qt4/include/QtCore/qiodevice.h:43,
from /usr/lib/qt4/include/QtCore/qfile.h:42,
from /usr/lib/qt4/include/QtCore/QFile:1,
from src/file_transactions.h:24,
from src/file_transactions.cpp:21:
/usr/lib/qt4/include/QtCore/qchar.h: At global scope:
/usr/lib/qt4/include/QtCore/qchar.h:53: warning: `explicit' is not at beginning of declaration
/usr/lib/qt4/include/QtCore/qchar.h:331: warning: `visibility' attribute does not apply to types
In file included from /usr/lib/qt4/include/QtCore/qstring.h:43,
from /usr/lib/qt4/include/QtCore/qobject.h:45,
from /usr/lib/qt4/include/QtCore/qiodevice.h:43,
from /usr/lib/qt4/include/QtCore/qfile.h:42,
from /usr/lib/qt4/include/QtCore/QFile:1,
from src/file_transactions.h:24,
from src/file_transactions.cpp:21:
/usr/lib/qt4/include/QtCore/qbytearray.h:342: warning: `visibility' attribute does not apply to types
/usr/lib/qt4/include/QtCore/qbytearray.h:413: warning: `visibility' attribute does not apply to types
/usr/lib/qt4/include/QtCore/qbytearray.h: In function `const QByteArray operator+(const QByteArray&, const QByteArray&)':
/usr/lib/qt4/include/QtCore/qbytearray.h:490: error: ambiguous overload for 'operator+=' in 'QByteArray((+a1)) += a2'
/usr/lib/qt4/include/QtCore/qbytearray.h:432: error: candidates are: QByteArray& QByteArray:
perator+=(char)
/usr/lib/qt4/include/QtCore/qbytearray.h:434: error: QByteArray& QByteArray:
perator+=(const char*)
/usr/lib/qt4/include/QtCore/qbytearray.h:436: error: QByteArray& QByteArray:
perator+=(const QByteArray&)
/usr/lib/qt4/include/QtCore/qbytearray.h: In function `const QByteArray operator+(const char*, const QByteArray&)':
/usr/lib/qt4/include/QtCore/qbytearray.h:496: error: ambiguous overload for 'operator+=' in 'QByteArray(a1) += a2'
/usr/lib/qt4/include/QtCore/qbytearray.h:432: error: candidates are: QByteArray& QByteArray:
perator+=(char)
/usr/lib/qt4/include/QtCore/qbytearray.h:434: error: QByteArray& QByteArray:
perator+=(const char*)
/usr/lib/qt4/include/QtCore/qbytearray.h:436: error: QByteArray& QByteArray:
perator+=(const QByteArray&)
/usr/lib/qt4/include/QtCore/qbytearray.h: In function `const QByteArray operator+(char, const QByteArray&)':
/usr/lib/qt4/include/QtCore/qbytearray.h:498: error: ambiguous overload for 'operator+=' in 'QByteArray((&a1), 1) += a2'
/usr/lib/qt4/include/QtCore/qbytearray.h:432: error: candidates are: QByteArray& QByteArray:
perator+=(char)
/usr/lib/qt4/include/QtCore/qbytearray.h:434: error: QByteArray& QByteArray:
perator+=(const char*)
/usr/lib/qt4/include/QtCore/qbytearray.h:436: error: QByteArray& QByteArray:
perator+=(const QByteArray&)
/usr/lib/qt4/include/QtCore/qbytearray.h: In member function `QBool QByteArray::contains(const char*) const':
/usr/lib/qt4/include/QtCore/qbytearray.h:504: error: call of overloaded `contains(QByteArray)' is ambiguous
/usr/lib/qt4/include/QtCore/qbytearray.h:452: error: candidates are: QBool QByteArray::contains(char) const
/usr/lib/qt4/include/QtCore/qbytearray.h:504: error: QBool QByteArray::contains(const char*) const
/usr/lib/qt4/include/QtCore/qbytearray.h:450: error: QBool QByteArray::contains(const QByteArray&) const
In file included from /usr/lib/qt4/include/QtCore/qobject.h:45,
from /usr/lib/qt4/include/QtCore/qiodevice.h:43,
from /usr/lib/qt4/include/QtCore/qfile.h:42,
from /usr/lib/qt4/include/QtCore/QFile:1,
from src/file_transactions.h:24,
from src/file_transactions.cpp:21:
/usr/lib/qt4/include/QtCore/qstring.h: At global scope:
/usr/lib/qt4/include/QtCore/qstring.h:590: warning: `visibility' attribute does not apply to types
/usr/lib/qt4/include/QtCore/qstring.h:596: warning: `explicit' is not at beginning of declaration
/usr/lib/qt4/include/QtCore/qstring.h:629: warning: `visibility' attribute does not apply to types
/usr/lib/qt4/include/QtCore/qstring.h:800: warning: `visibility' attribute does not apply to types
/usr/lib/qt4/include/QtCore/qstring.h:849: confused by earlier errors, bailing out
make: *** [build/obj/file_transactions.o] Error 1
[brett@ mobloquer]$
Anyways I was just wondering if someone could help me get this program installed?
Sincerely: bbjester