Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Compilation Error - kdebase-3.5.0/kioslave/smb
Linux Flavor: Redhat Enterprise 3
Platform: Toshiba Satellite Notebook
I'm using Konstruct and everything seems to compile fine except for kdebase-3.5.0/kioslave/smb. Seems like a header or function declaration is missing.
Is there a requirement I'm missing or is there a way to disable/fix this?
Here are my error messages...Thanks in advance!:
th.cpp:199: `smbc_set_context' undeclared (first use this function)
kio_smb_auth.cpp:199: (Each undeclared identifier is reported only once for
each function it appears in.)
make[4]: *** [kio_smb_la.all_cpp.lo] Error 1
make[4]: Leaving directory `/home/dando/konstruct/kde/kdebase/work/kdebase-3.5.0/kioslave/smb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dando/konstruct/kde/kdebase/work/kdebase-3.5.0/kioslave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dando/konstruct/kde/kdebase/work/kdebase-3.5.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dando/konstruct/kde/kdebase/work/kdebase-3.5.0'
make: *** [build-work/kdebase-3.5.0/Makefile] Error 2
RE: Compilation Error - kdebase-3.5.0/kioslave/smb
Originally posted by dando
th.cpp:199: `smbc_set_context' undeclared (first use this function)
kio_smb_auth.cpp:199: (Each undeclared identifier is reported only once for
each function it appears in.)
make[4]: *** [kio_smb_la.all_cpp.lo] Error 1
make[4]: Leaving directory `/home/dando/konstruct/kde/kdebase/work/kdebase-3.5.0/kioslave/smb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dando/konstruct/kde/kdebase/work/kdebase-3.5.0/kioslave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dando/konstruct/kde/kdebase/work/kdebase-3.5.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dando/konstruct/kde/kdebase/work/kdebase-3.5.0'
make: *** [build-work/kdebase-3.5.0/Makefile] Error 2
You must install libsmbclient package.
RE: Compilation Error - kdebase-3.5.0/kioslave/smb
P.S.: i use kubuntu, I have KDE 3.5 in repositories, there is no need to compile it! If RH hasn't such... Then RH sucks!
I read you can use apt and such, but I need to recreate the environment of my main workstation at work, so I'm stuck with RedHat. I've found rpm repositories but they usually don't have anything compiled for amd_64.
Ageless, you're right...Redhat is a pain. I don't understand why it's so popular with enterprise market.
Anyways, thanks for the tip...I'll probably find more errors though.
-Dando
For anyone else who encounters this problem and is "stuck with" RH9 on a non-amd-64 machine, it seems that grabbing the latest RPM for samba from the /pub/samba-ftp/Binary_Packages/RedHat/RPMS tree on one of the samba.org ftp mirrors and upgrading the installed samba package with rpm -U will make konstruct happy (at least until the next error it hits).
I didn't have the "can't find packages compiled for amd-64" issue since I don't have RH9 running on any hardware that new but in case there's someone else out there who is trying to get past this error on a normal i386 environment, I thought it would be useful to add this detail to the thread to make the instructions "to install libsmbclient" a bit more specific.
Bottom line is that all you probably need to do is upgrade to a later version of the whole smb (samba) package. kde 3.5.x needs libsmbclient > v 3.0.4. I think RH9 was distributed with a lower version so my theory is that konstruct gets tripped up when libsmbclient is installed on RH9 but isn't new enough.