[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: [kdeadmin] rpmInterface.h:16 ...
From: "Marc G. Fournier" <scrappy () hub ! org>
Date: 2001-09-25 17:46:01
[Download RAW message or body]
gmake[3]: Entering directory `/usr/local/kde/kdeadmin/kpackage'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include \
-I/usr/local/kde/qt-copy/include -I/usr/X11R6/include -I/usr/local/include/rpm \
-pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H \
-D_THREAD_SAFE -D_THREAD_SAFE -O2 -fno-exceptions -fno-check-new \
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c main.cpp In file included from \
main.cpp:32: rpmInterface.h:16: syntax error before `;'
gmake[3]: *** [main.o] Error 1
gmake[3]: Leaving directory `/usr/local/kde/kdeadmin/kpackage'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/kde/kdeadmin/kpackage'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/kde/kdeadmin'
gmake: *** [all-recursive-am] Error 2
The error is at:
#ifdef HAVE_RPM
#include <sys/types.h>
/* stupid RPM headers! */
typedef __off64_t off64_t; <-------------
#include <rpm/rpmlib.h>
#else
typedef struct Header{
};
#endif
From checking on Solaris, again, their off64_t appears to be set in
stdio.h, depending on what type of FILE support ... to be either off_t or
__longlong_t ...
FreeBSD only appears to have off_t ... changing:
typedef __off64_t off64_t
to
typedef off_t off64_t
appears to fix it for compiling ...
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic