KDE

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • kde4 : kdebase copilation problems

    5 answers - 794 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I am on edgy kubuntu : kdelibs kdeedu kdepimlibs compiled successfully
    but not kdebase :
    / In
    member function void KCMDisplay::addTab(const QString&, const QString&):
    /
    warning: __comp_ctor is deprecated (declared at
    /)
    Linking CXX shared module ////lib/kcm_display.so
    [ 64%] Built target kcm_display
    [ 64%] Generating joystick.moc
    [ 64%] Generating joywidget.moc
    [ 64%] Generating poswidget.moc
    [ 64%] Generating caldialog.moc
    Scanning dependencies of target kcm_joystick
    [ 64%] Building CXX object
    / error: does not name a type
    / error: does not name a type
    make[2]:
    []
    Erreur 1
    make[1]:
    []
    Erreur 2
    make: [all] Erreur 2
    kdedev@one:~/kdebase/build$ cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR &&
    make && make install
  • No.1 | | 438 bytes | |

    Henri Girard wrote:
    >/ error: does not name a type
    >/ error: does not name a type


    Kernel header problem. If you've changed the system kernel headers since
    you installed your system, undo your change: kernel headers
    in /usr/include/linux are supposed to stay the same.

    , I suggest you simply fix the kernel header by #includ'ing the
    appropriate header that is missing.
  • No.2 | | 810 bytes | |

    thanks But i don't know how to do it ?
    i did a sudo apt-get dist-upgrade
    but how to downgrade kernel ?
    Apparently the headers are the same as the kernel ?
    What do you mean #including ?
    sorry for asking you but i am newbie in kernel things
    Henri

    Fri, 08 Sep 2006 19:54:59 +0200, Thiago Macieira <thiago (AT) kde (DOT) orgwrote:

    Henri Girard wrote:
    >/ error: does not name a type
    >/ error: does not name a type
    >

    Kernel header problem. If you've changed the system kernel headers since
    you installed your system, undo your change: kernel headers
    in /usr/include/linux are supposed to stay the same.

    , I suggest you simply fix the kernel header by #includ'ing the
    appropriate header that is missing.
  • No.3 | | 971 bytes | |

    Friday 08 September 2006 23:18, Henri Girard wrote:
    thanks But i don't know how to do it ?
    i did a sudo apt-get dist-upgrade
    but how to downgrade kernel ?
    Apparently the headers are the same as the kernel ?
    What do you mean #including ?
    sorry for asking you but i am newbie in kernel things
    Henri
    Just a sidenote:
    You can ignore this error by typing "make -k" instead of just "make".
    This way "make" program will not exit on the first error, but continue trying
    to compile as much as it can.
    In the end you'll have no kcontrol's joystick module (and maybe a few other
    things that might refuse to compile), but all other things may still work.

    Good luck!
    Dmitry.

    PS. Also are you aware of this
    It means that edgy devs
    managed to compile kdebase, so maybe it is worth asking on #kubuntu about
    your problem.

    >Visit #unsub to unsubscribe <<
  • No.4 | | 1126 bytes | |

    Henri Girard wrote:
    >i did a sudo apt-get dist-upgrade
    >but how to downgrade kernel ?
    >Apparently the headers are the same as the kernel ?


    If it's what your distribution installed, then it's the correct one.

    I mentioned that because most errors coming from the kernel headers are
    caused by people recompiling their kernels and then updating the
    userspace headers.

    >What do you mean #including ?
    >sorry for asking you but i am newbie in kernel things


    We're not using anything new and most errors of this kind in the kernel
    headers are caused by errors in the headers themselves. So I ask you to
    fix that error and send your distribution a patch.

    However, it may also happen that the fact that KDE uses -ansi causes the
    kernel headers to forego definition of some symbols. That is, of course,
    a kernel header bug (the whole struct mustn't be defined if one symbol
    isn't), but if you remove the -ansi option, you may succeed in compiling
    without changing any files.
  • No.5 | | 1502 bytes | |

    thanks to point me out this "note" in fact i always did it before but this
    time
    i copy paste the make and even didn't notice it The problem of coping
    and pasting !! ! lol
    maybe that's why i didn't have it before
    I did compile all kde4 on dapper last week
    kubuntu edgy knot 2 is quiete in a good way I installed it and run it
    without any problems
    Henri

    Henri
    Fri, 08 Sep 2006 22:25:25 +0200, Dmitry Suzdalev <dimsuz (AT) gmail (DOT) com
    wrote:

    Friday 08 September 2006 23:18, Henri Girard wrote:
    >thanks But i don't know how to do it ?
    >i did a sudo apt-get dist-upgrade
    >but how to downgrade kernel ?
    >Apparently the headers are the same as the kernel ?
    >What do you mean #including ?
    >sorry for asking you but i am newbie in kernel things
    >Henri

    Just a sidenote:
    You can ignore this error by typing "make -k" instead of just "make".
    This way "make" program will not exit on the first error, but continue
    trying
    to compile as much as it can.
    In the end you'll have no kcontrol's joystick module (and maybe a few
    other
    things that might refuse to compile), but all other things may still
    work.

    Good luck!
    Dmitry.

    PS. Also are you aware of this
    It means that edgy devs
    managed to compile kdebase, so maybe it is worth asking on #kubuntu about
    your problem.

    Visit #unsub to
    unsubscribe <<

Re: kde4 : kdebase copilation problems


max 4000 letters.
Your nickname that display:
In order to stop the spam: 0 + 9 =
QUESTION ON "KDE"

EMSDN.COM