LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2008, 07:21 AM   #1
bbjester
LQ Newbie
 
Registered: Jan 2008
Location: The Milky Way Galaxy
Distribution: PCLOS 2007 Gnome Edition
Posts: 5

Rep: Reputation: 0
Can't compile Mobloquer on PCLOS 2007 Gnome Ed.


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

Last edited by bbjester; 01-17-2008 at 07:25 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
authentication problems when mounting XP drives using Smb4k ( PCLOS 2007) ? uncle-c Linux - Newbie 3 11-24-2007 08:04 AM
Can't compile gnome-ppp on my openSUSE Gnome computer werner1975 Linux - Software 3 10-23-2007 02:07 PM
how to configure fail2ban in PCLOS 2007? mexbeachbum Linux - Security 2 09-26-2007 09:19 PM
GNOME with PCLinuxOS 2007? BlahBlah_X Linux - Desktop 2 02-16-2007 04:58 PM
PCLOS KDE to Gnome? Saurian Linux - Newbie 5 03-16-2006 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration