Error compiling kuser in function `QuotaMnt*

Bernd Muent Bernd.Muent at
Tue Dec 2 09:40:01 GMT 2003

I'm just trying to compile KDE 3.1.4 on SuSE 9, gcc 3.3.1.

While compiling the package kdeadmin, it stops with an error in the 
subdir "kuser":

make[3]: Leaving directory `/usr/src/kde/kdeadmin-3.1.4/kuser/icon'
make[3]: Entering directory `/usr/src/kde/kdeadmin-3.1.4/kuser'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../kuser 
-I/opt/kde_3_1_4/include -I/usr/lib/qt3/include -I/usr/X11R6/include 
-DQT_NO_CAST_ASCII -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall 
-pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions 
-fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -MT quota.o -MD 
-MP -MF ".deps/quota.Tpo" \
   -c -o quota.o `test -f 'quota.cpp' || echo './'`quota.cpp; \
then mv ".deps/quota.Tpo" ".deps/quota.Po"; \
else rm -f ".deps/quota.Tpo"; exit 1; \
quota.cpp: In function `QuotaMnt* getQuotaMnt(unsigned int, const MntEnt*)':
quota.cpp:185: error: aggregate `dqblk dq' has incomplete type and cannot be
quota.cpp:191: error: `dbtob' undeclared (first use this function)
quota.cpp:191: error: (Each undeclared identifier is reported only once for
    each function it appears in.)
quota.cpp: In function `void setQuotaMnt(unsigned int, const MntEnt*,
quota.cpp:207: error: aggregate `dqblk dq' has incomplete type and cannot be
quota.cpp:209: error: `btodb' undeclared (first use this function)
make[3]: *** [quota.o] Fehler 1
make[3]: Leaving directory `/usr/src/kde/kdeadmin-3.1.4/kuser'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/kde/kdeadmin-3.1.4/kuser'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/kde/kdeadmin-3.1.4'
make: *** [all] Fehler 2

Any ideas how to patch the source code. Google and Google groups did not 
help me :-(

Thank you for tips, Bernd
Bernd M√ľnt                   Durchwahl: 030/69032-509
euroscript Deutschland GmbH  Zentrale:  030/69032-300
Abteilung IT-Management      Fax:       030/69032-333
Dieffenbachstr. 33           Mail:      Bernd.Muent at
10967 Berlin                 Web:

This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list