LinuxQuestions.org
Help answer threads with 0 replies.
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 05-27-2005, 02:49 PM   #1
megadeth
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 x64
Posts: 136

Rep: Reputation: 15
error compiling


Quote:
kpager.cpp:128: error: invalid use of undefined type `struct QImage'
/usr/lib/qt-3.3/include/qwindowdefs.h:74: error: forward declaration of `structQImage'
kpager.cpp:128: error: invalid use of undefined type `struct QImage'
/usr/lib/qt-3.3/include/qwindowdefs.h:74: error: forward declaration of `structQImage'
kpager.cpp:129: error: no matching function for call to `QPixmap::convertFromImage(<type error>)'
/usr/lib/qt-3.3/include/qpixmap.h:118: note: candidates are: bool QPixmap::convertFromImage(const QImage&, QPixmap::ColorMode)
/usr/lib/qt-3.3/include/qpixmap.h:119: note: bool QPixmap::convertFromImage(const QImage&, int)
kpager.cpp: In member function `void KPager2::slotBackgroundChanged(int)':
kpager.cpp:686: warning: format not a string literal and no format arguments
make[2]: *** [kpager.lo] Error 1
make[2]: Leaving directory `/root/kpager2-0.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/kpager2-0.6.0'
make: *** [all] Error 2
[root@usual kpager2-0.6.0]#
I'm compiling kpager2 from source and I ran make and ended up w/ this error. How do I fix this?
 
Old 05-29-2005, 01:43 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I sounds like you need to update some libraries.
This from the kpager developers ...
Quote:
The current version is 1.0 and it is included on the (coming soon) KDE-1.1 base package.

You can download KPager only from the CVS snapshot of the kdebase package from ftp.kde.org or its mirrors

Be warned that KPager needs also the latest kdelibs snapshot as well as Qt 1.42 or newer.

Compilation Problems:
=====================
There might be some issues with the system clock. Since my computer believes a day has 19 hours, the file modification times are wrong and must be set by yourself before compiling. Do:
o find . -print -exec touch {} \;
Remove the autom4te.cache directory in case you don't use automake 1.7.
... check versions of: KDE, gcc, Qt, kdevlibs ... I assume you adjusted the times as suggested?
 
  


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
compiling error axelmang Linux - Newbie 3 07-14-2005 03:16 AM
error compiling 2.4.25 alaios Linux - General 0 05-15-2004 01:12 PM
C++ Compiling Error Chryzmo Slackware 5 04-26-2004 08:05 PM
got error while compiling... freeindy Linux - Newbie 4 11-26-2002 01:19 PM
Compiling Error!! teeno Programming 3 08-20-2001 03:16 AM

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

All times are GMT -5. The time now is 11:50 PM.

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