LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-30-2005, 08:06 PM   #1
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Rep: Reputation: 15
error compiling konverter


I tried compiling konverter and ran into these errors.

i am using slackware 10.2 and installed qt and kde, including kdevelop.

I read somewhere that you need xine-devel headers to compile konverter but i already have xine-lib installed from the slackware installation.

g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt/mkspecs/default -I. -I../src -I/opt/kde3/include -I/usr/include/kde -I/usr/share/qt3/ -I/usr/lib/qt/include -IGUI/View/ -IGUI/View -I../moc/ -o GUI/View/kxinewidget.o app/XineEngine/kxinewidget.cpp
In file included from app/XineEngine/kxinewidget.h:56,
from app/XineEngine/kxinewidget.cpp:40:
app/XineEngine/postfilter.h:32:23: klineedit.h: No such file or directory
app/XineEngine/postfilter.h:33:23: knuminput.h: No such file or directory
app/XineEngine/postfilter.h:34:23: kcombobox.h: No such file or directory
app/XineEngine/postfilter.h:35:25: kdialogbase.h: No such file or directory
In file included from app/XineEngine/kxinewidget.h:56,
from app/XineEngine/kxinewidget.cpp:40:
app/XineEngine/postfilter.h:80: error: syntax error before `*' token
app/XineEngine/postfilter.h: In member function `virtual void
PostFilterParameterInt::setValue(const QString&)':
app/XineEngine/postfilter.h:68: error: `m_numInput' undeclared (first use this
function)
app/XineEngine/postfilter.h:68: error: (Each undeclared identifier is reported
only once for each function it appears in.)
app/XineEngine/postfilter.h: At global scope:
app/XineEngine/postfilter.h:104: error: syntax error before `*' token
app/XineEngine/postfilter.h:127: error: syntax error before `*' token
app/XineEngine/postfilter.h: In member function `virtual void
PostFilterParameterChar::setValue(const QString&)':
app/XineEngine/postfilter.h:116: error: `m_charInput' undeclared (first use
this function)
app/XineEngine/postfilter.h: At global scope:
app/XineEngine/postfilter.h:149: error: syntax error before `*' token
app/XineEngine/postfilter.h: In member function `virtual void
PostFilterParameterCombo::setValue(const QString&)':
app/XineEngine/postfilter.h:138: error: `m_comboBox' undeclared (first use this
function)
app/XineEngine/postfilter.h: At global scope:
app/XineEngine/postfilter.h:178: error: syntax error before `{' token
app/XineEngine/postfilter.h:179: error: virtual outside class declaration
app/XineEngine/postfilter.h:179: error: non-member function `const char*
className()' cannot have `const' method qualifier
app/XineEngine/postfilter.h:179: error: virtual outside class declaration
app/XineEngine/postfilter.h:179: error: virtual outside class declaration
app/XineEngine/postfilter.h:179: error: virtual outside class declaration
app/XineEngine/postfilter.h:179: error: virtual outside class declaration
app/XineEngine/postfilter.h: In function `QObject* qObject()':
app/XineEngine/postfilter.h:179: error: invalid use of `this' in non-member
function
app/XineEngine/postfilter.h: At global scope:
app/XineEngine/postfilter.h:179: error: syntax error before `private'
app/XineEngine/postfilter.h:182: error: destructors must be member functions
app/XineEngine/postfilter.h:184: error: syntax error before `private'
app/XineEngine/kxinewidget.cpp:47:21: klocale.h: No such file or directory
app/XineEngine/kxinewidget.cpp:48:20: kdebug.h: No such file or directory
app/XineEngine/kxinewidget.cpp: In static member function `static void
KXineWidget::xineEventListener(void*, const xine_event_t*)':
app/XineEngine/kxinewidget.cpp:400: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In static member function `static void
KXineWidget::videoDriverChangedCallback(void*, xine_cfg_entry_t*)':
app/XineEngine/kxinewidget.cpp:831: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In static member function `static void
KXineWidget::audioDriverChangedCallback(void*, xine_cfg_entry_t*)':
app/XineEngine/kxinewidget.cpp:912: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `bool
KXineWidget::initXine()':
app/XineEngine/kxinewidget.cpp:1042: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `bool KXineWidget:layDvb()
':
app/XineEngine/kxinewidget.cpp:1401: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `bool KXineWidget:penDvb()
':
app/XineEngine/kxinewidget.cpp:1628: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotPlay()':
app/XineEngine/kxinewidget.cpp:1677: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::sendXineError()':
app/XineEngine/kxinewidget.cpp:1897: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSetVolume(int)':
app/XineEngine/kxinewidget.cpp:2367: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotToggleMute()':
app/XineEngine/kxinewidget.cpp:2403: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotStop()':
app/XineEngine/kxinewidget.cpp:2554: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSpeedPause()':
app/XineEngine/kxinewidget.cpp:2654: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSpeedNormal()':
app/XineEngine/kxinewidget.cpp:2664: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSpeedFaster()':
app/XineEngine/kxinewidget.cpp:2675: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSpeedSlower()':
app/XineEngine/kxinewidget.cpp:2701: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSeekToPosition(int)':
app/XineEngine/kxinewidget.cpp:2825: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSeekToTime(const QTime&)':
app/XineEngine/kxinewidget.cpp:2843: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotToggleDeinterlace()':
app/XineEngine/kxinewidget.cpp:2915: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotAspectRatioAuto()':
app/XineEngine/kxinewidget.cpp:2939: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotAspectRatio4_3()':
app/XineEngine/kxinewidget.cpp:2945: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotAspectRatioAnamorphic()':
app/XineEngine/kxinewidget.cpp:2951: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotAspectRatioSquare()':
app/XineEngine/kxinewidget.cpp:2957: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotAspectRatioDVB()':
app/XineEngine/kxinewidget.cpp:2963: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotZoomOut()':
app/XineEngine/kxinewidget.cpp:2973: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotZoomIn()':
app/XineEngine/kxinewidget.cpp:2984: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotZoomOff()':
app/XineEngine/kxinewidget.cpp:2993: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSetHue(int)':
app/XineEngine/kxinewidget.cpp:3058: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSetSaturation(int)':
app/XineEngine/kxinewidget.cpp:3064: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSetContrast(int)':
app/XineEngine/kxinewidget.cpp:3070: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSetBrightness(int)':
app/XineEngine/kxinewidget.cpp:3076: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSetAVOffset(int)':
app/XineEngine/kxinewidget.cpp:3082: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In member function `void
KXineWidget::slotSetSpuOffset(int)':
app/XineEngine/kxinewidget.cpp:3088: error: `i18n' undeclared (first use this
function)
app/XineEngine/kxinewidget.cpp: In static member function `static void
KXineWidget::debugOut(QString)':
app/XineEngine/kxinewidget.cpp:3462: error: `kdDebug' undeclared (first use
this function)
app/XineEngine/kxinewidget.cpp: In static member function `static void
KXineWidget::errorOut(QString)':
app/XineEngine/kxinewidget.cpp:3471: error: `kdError' undeclared (first use
this function)
app/XineEngine/kxinewidget.cpp: In static member function `static void
KXineWidget::warningOut(QString)':
app/XineEngine/kxinewidget.cpp:3480: error: `kdWarning' undeclared (first use
this function)
/usr/lib/qt/include/qstringlist.h: At top level:
app/XineEngine/postfilter.h:179: warning: `bool qt_static_property(QObject*,
int, int, QVariant*)' declared `static' but never defined
app/XineEngine/postfilter.h:179: warning: `QMetaObject* staticMetaObject()'
declared `static' but never defined
app/XineEngine/postfilter.h:179: warning: `QString tr(const char*, const char*)
' declared `static' but never defined
app/XineEngine/postfilter.h:179: warning: `QString trUtf8(const char*, const
char*)' declared `static' but never defined
make: *** [GUI/View/kxinewidget.o] Error 1


Btw, is there a way to attach log files on a post? It looks very messy just pasting the log file.

Last edited by denning; 10-30-2005 at 08:12 PM.
 
Old 10-30-2005, 08:56 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
----------
klineedit.h: No such file or directory
----------

you need the kdelibs-3.4.2 package.

egag
 
Old 10-30-2005, 09:33 PM   #3
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Original Poster
Rep: Reputation: 15
Talking

you are an absolute legend!

THanks for pointing me in the right direction.

I was first puzzled by your post because i already had kdelibs installed, but then i thought perhaps make wasn't finding kdelibs. I first tried checking if there was a kde-lib.pc file in teh wrong directory, but there wasn't such a file. Next, i tried to find where the klineedit.h was, and perhaps make wasn't finding that.

Found it in /opt/kde/include

Aha, make probably didn't look in that directory.

edited src/Makefile

added -I/opt/kde/include to INCPATH

ran make

It's compiling happily now!

Kowabunga!
 
Old 10-31-2005, 05:17 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
--------------
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt/mkspecs/default -I. -I../src -I/opt/kde3/include........
---------------

it was looking for ../kde3/include.
you can make a symlink " kde3 --->kde " in /opt to prevent those errors.

egag
 
  


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
Error while Compiling X shashir Linux - Software 1 09-03-2005 06:36 PM
[C++] Compiling error Ossar Programming 2 06-10-2005 03:32 PM
why can't i install Konverter from kde-apps.org? krt47 Linux - Newbie 4 08-02-2004 05:44 AM
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 - Distributions > Slackware

All times are GMT -5. The time now is 12:26 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