Hi,
Did a fresh cvs checkout yesterday of kde3. Trying to compile kdeadmin with
--enable-fast-malloc=full --with-rpm gives a long string of errors - listed
below. My guess is that there's a file missing? Help please!
Sorry that this is so long.
Am running Mandrake 8.3 (cooker), with rpm-devel 4.0.4-1mdk
Is this an error in the rpm-devel package, or in kpackage?
Vincent Meyer
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/rpm -I/usr/local/kde/include
-I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG
-DNO_DEBUG -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -c -o updateLoc.o `test -f updateLoc.cpp || echo
'./'`updateLoc.cpp
source='rpmMessages.c' object='rpmMessages.o' libtool=no \
depfile='.deps/rpmMessages.Po' tmpdepfile='.deps/rpmMessages.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/rpm -I/usr/local/kde/include
-I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-DNDEBUG -O2 -c `test -f rpmMessages.c || echo './'`rpmMessages.c
In file included from /usr/include/rpm/rpmlib.h:8,
from rpmMessages.c:12:
/usr/include/rpm/rpmio.h:614: syntax error before `int'
/usr/include/rpm/rpmio.h:614: warning: no previous prototype for `xislower'
/usr/include/rpm/rpmio.h:617: syntax error before `int'
/usr/include/rpm/rpmio.h:617: warning: no previous prototype for `xisupper'
/usr/include/rpm/rpmio.h:620: syntax error before `int'
/usr/include/rpm/rpmio.h:620: warning: no previous prototype for `xisalpha'
/usr/include/rpm/rpmio.h:623: syntax error before `int'
/usr/include/rpm/rpmio.h:623: warning: no previous prototype for `xisdigit'
/usr/include/rpm/rpmio.h:626: syntax error before `int'
/usr/include/rpm/rpmio.h:626: warning: no previous prototype for `xisalnum'
/usr/include/rpm/rpmio.h:629: syntax error before `int'
/usr/include/rpm/rpmio.h:629: warning: no previous prototype for `xisblank'
/usr/include/rpm/rpmio.h:632: syntax error before `int'
/usr/include/rpm/rpmio.h:632: warning: no previous prototype for `xisspace'
/usr/include/rpm/rpmio.h:636: syntax error before `int'
/usr/include/rpm/rpmio.h:636: warning: no previous prototype for `xtolower'
/usr/include/rpm/rpmio.h:639: syntax error before `int'
/usr/include/rpm/rpmio.h:639: warning: no previous prototype for `xtoupper'
In file included from /usr/include/rpm/rpmlib.h:11,
from rpmMessages.c:12:
/usr/include/rpm/header.h:700: syntax error before `void'
/usr/include/rpm/header.h:702: warning: no previous prototype for
`headerFreeData'
/usr/include/rpm/header.h: In function `headerFreeData':
/usr/include/rpm/header.h:705: warning: comparison between signed and unsigned
In file included from /usr/include/rpm/header.h:716,
from /usr/include/rpm/rpmlib.h:11,
from rpmMessages.c:12:
/usr/include/rpm/hdrinline.h: At top level:
/usr/include/rpm/hdrinline.h:22: syntax error before `HV_t'
/usr/include/rpm/hdrinline.h:24: warning: no previous prototype for `h2hv'
/usr/include/rpm/hdrinline.h:35: syntax error before `Header'
/usr/include/rpm/hdrinline.h:37: warning: no previous prototype for
`headerNew'
/usr/include/rpm/hdrinline.h:47: syntax error before `Header'
/usr/include/rpm/hdrinline.h:49: warning: no previous prototype for
`headerFree'
/usr/include/rpm/hdrinline.h:62: syntax error before `Header'
/usr/include/rpm/hdrinline.h:64: warning: no previous prototype for
`headerLink'
/usr/include/rpm/hdrinline.h:74: syntax error before `Header'
/usr/include/rpm/hdrinline.h:76: warning: no previous prototype for
`headerUnlink'
/usr/include/rpm/hdrinline.h:89: syntax error before `void'
/usr/include/rpm/hdrinline.h:91: warning: no previous prototype for
`headerSort'
/usr/include/rpm/hdrinline.h:103: syntax error before `void'
/usr/include/rpm/hdrinline.h:105: warning: no previous prototype for
`headerUnsort'
/usr/include/rpm/hdrinline.h:120: syntax error before `unsigned'
/usr/include/rpm/hdrinline.h:122: warning: no previous prototype for
`headerSizeof'
/usr/include/rpm/hdrinline.h:135: syntax error before `void'
/usr/include/rpm/hdrinline.h:137: warning: no previous prototype for
`headerUnload'
/usr/include/rpm/hdrinline.h:149: syntax error before `Header'
/usr/include/rpm/hdrinline.h:151: warning: no previous prototype for
`headerReload'
/usr/include/rpm/hdrinline.h:163: syntax error before `Header'
/usr/include/rpm/hdrinline.h:165: warning: no previous prototype for
`headerCopy'
/usr/include/rpm/hdrinline.h:175: syntax error before `Header'
/usr/include/rpm/hdrinline.h:177: warning: no previous prototype for
`headerLoad'
/usr/include/rpm/hdrinline.h:187: syntax error before `Header'
/usr/include/rpm/hdrinline.h:189: warning: no previous prototype for
`headerCopyLoad'
/usr/include/rpm/hdrinline.h:200: syntax error before `Header'
/usr/include/rpm/hdrinline.h:202: warning: no previous prototype for
`headerRead'
/usr/include/rpm/hdrinline.h:214: syntax error before `int'
/usr/include/rpm/hdrinline.h:216: warning: no previous prototype for
`headerWrite'
/usr/include/rpm/hdrinline.h:230: syntax error before `int'
/usr/include/rpm/hdrinline.h:232: warning: no previous prototype for
`headerIsEntry'
/usr/include/rpm/hdrinline.h:247: syntax error before `void'
/usr/include/rpm/hdrinline.h:250: warning: no previous prototype for
`headerFreeTag'
/usr/include/rpm/hdrinline.h:268: syntax error before `int'
/usr/include/rpm/hdrinline.h:273: warning: no previous prototype for
`headerGetEntry'
/usr/include/rpm/hdrinline.h:290: syntax error before `int'
/usr/include/rpm/hdrinline.h:295: warning: no previous prototype for
`headerGetEntryMinMemory'
/usr/include/rpm/hdrinline.h:315: syntax error before `int'
/usr/include/rpm/hdrinline.h:317: warning: no previous prototype for
`headerAddEntry'
/usr/include/rpm/hdrinline.h:336: syntax error before `int'
/usr/include/rpm/hdrinline.h:339: warning: no previous prototype for
`headerAppendEntry'
/usr/include/rpm/hdrinline.h:354: syntax error before `int'
/usr/include/rpm/hdrinline.h:357: warning: no previous prototype for
`headerAddOrAppendEntry'
/usr/include/rpm/hdrinline.h:382: syntax error before `int'
/usr/include/rpm/hdrinline.h:385: warning: no previous prototype for
`headerAddI18NString'
/usr/include/rpm/hdrinline.h:400: syntax error before `int'
/usr/include/rpm/hdrinline.h:403: warning: no previous prototype for
`headerModifyEntry'
/usr/include/rpm/hdrinline.h:417: syntax error before `int'
/usr/include/rpm/hdrinline.h:419: warning: no previous prototype for
`headerRemoveEntry'
/usr/include/rpm/hdrinline.h:435: syntax error before `char'
/usr/include/rpm/hdrinline.h:440: warning: no previous prototype for
`headerSprintf'
/usr/include/rpm/hdrinline.h:451: syntax error before `void'
/usr/include/rpm/hdrinline.h:453: warning: no previous prototype for
`headerCopyTags'
/usr/include/rpm/hdrinline.h:466: syntax error before `HeaderIterator'
/usr/include/rpm/hdrinline.h:468: warning: no previous prototype for
`headerFreeIterator'
/usr/include/rpm/hdrinline.h:478: syntax error before `HeaderIterator'
/usr/include/rpm/hdrinline.h:480: warning: no previous prototype for
`headerInitIterator'
/usr/include/rpm/hdrinline.h:494: syntax error before `int'
/usr/include/rpm/hdrinline.h:500: warning: no previous prototype for
`headerNextIterator'
In file included from rpmMessages.c:12:
/usr/include/rpm/rpmlib.h:55: syntax error before `void'
/usr/include/rpm/rpmlib.h:57: warning: no previous prototype for `_free'
/usr/include/rpm/rpmlib.h:1253: warning: declaration of `rpmdb' shadows global
declaration
/usr/include/rpm/rpmlib.h:1748: warning: comma at end of enumerator list
rpmMessages.c:22: warning: no previous prototype for
`kpackage_rpmIncreaseVerbosity'
rpmMessages.c:27: warning: no previous prototype for
`kpackage_rpmSetVerbosity'
rpmMessages.c:32: warning: no previous prototype for
`kpackage_rpmGetVerbosity'
rpmMessages.c:37: warning: no previous prototype for `kpackage_rpmIsDebug'
rpmMessages.c:42: warning: no previous prototype for `kpackage_rpmIsVerbose'
make[3]: *** [rpmMessages.o] Error 1
make[3]: Leaving directory `/usr/src/kde3/kdeadmin/kpackage'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kde3/kdeadmin/kpackage'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kde3/kdeadmin'
make: *** [all] Error 2
[root@localhost kdeadmin]# ./configure --disable-debug
--enable-fast-malloc=full --with-rpm