[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 69136] New: koffice/kexi/3rdparty/uuid/gen_uuid.c doesn't
From: Torsten Kasch <tk () Genetik ! Uni-Bielefeld ! DE>
Date: 2003-11-27 9:54:04
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=69136
Summary: koffice/kexi/3rdparty/uuid/gen_uuid.c doesn't compile on
Solaris
Product: kexi
Version: unspecified
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: lucijan@kde.org
ReportedBy: tk@Genetik.Uni-Bielefeld.DE
Version: (using KDE Devel)
Installed from: Compiled sources
Compiler: gcc version 2.95.3 20010315 (release)
OS: Solaris
When trying to compile a recent KOffice snapshot on my Solaris 8 x86 box, it breaks \
with:
make[5]: Entering directory `/vol/src/kde/cvs/koffice/kexi/3rdparty/uuid'
source='gen_uuid.c' object='gen_uuid.lo' libtool=yes \
depfile='.deps/gen_uuid.Plo' tmpdepfile='.deps/gen_uuid.TPlo' \
depmode=gcc /bin/ksh ../../../admin/depcomp \
/bin/ksh ../../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. \
-I../../.. -I/vol/kde-cvs/include -I/vol/qt-3.2.1/include -I/vol/local/include \
-I/vol/graphics/include -I/vol/gnu/include -DQT_THREAD_SUPPORT -D_REENTRANT \
-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -O2 -c -o gen_uuid.lo `test -f \
'gen_uuid.c' || echo './'`gen_uuid.c In file included from gen_uuid.c:47:
uuidP.h:42: parse error before `__u32'
uuidP.h:42: warning: no semicolon at end of struct or union
uuidP.h:43: warning: data definition has no type or storage class
uuidP.h:44: parse error before `time_hi_and_version'
uuidP.h:44: warning: data definition has no type or storage class
uuidP.h:45: parse error before `clock_seq'
uuidP.h:45: warning: data definition has no type or storage class
uuidP.h:46: parse error before `node'
uuidP.h:46: warning: data definition has no type or storage class
uuidP.h:47: parse error before `}'
gen_uuid.c:186: parse error before `*'
gen_uuid.c: In function `get_clock':
gen_uuid.c:190: syntax error before `clock_seq'
gen_uuid.c:222: `clock_high' undeclared (first use in this function)
gen_uuid.c:222: (Each undeclared identifier is reported only once
gen_uuid.c:222: for each function it appears in.)
gen_uuid.c:223: `clock_low' undeclared (first use in this function)
gen_uuid.c:224: `ret_clock_seq' undeclared (first use in this function)
gen_uuid.c: In function `uuid_generate_time':
gen_uuid.c:232: storage size of `uu' isn't known
gen_uuid.c:233: `__u32' undeclared (first use in this function)
gen_uuid.c:233: parse error before `clock_mid'
gen_uuid.c:247: `clock_mid' undeclared (first use in this function)
gen_uuid.c:249: `__u16' undeclared (first use in this function)
gen_uuid.c:249: parse error before `clock_mid'
gen_uuid.c: In function `uuid_generate_random':
gen_uuid.c:258: storage size of `uu' isn't known
make[5]: *** [gen_uuid.lo] Error 1
make[5]: Leaving directory `/vol/src/kde/cvs/koffice/kexi/3rdparty/uuid'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/vol/src/kde/cvs/koffice/kexi/3rdparty/uuid'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/vol/src/kde/cvs/koffice/kexi/3rdparty'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/vol/src/kde/cvs/koffice/kexi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vol/src/kde/cvs/koffice'
make: *** [all] Error 2
Obviously, in koffice/kexi/3rdparty/uuid/uuidP.h we need something like
--- snip ---
typedef uint32_t __u32;
typedef uint16_t __u16;
typedef uint8_t __u8;
--- snip ---
for Solaris, at least. OTOH, the "uintXX_t" seem to be used elsewhere in kdelibs, it \
may be sufficient to use the above types for all platforms?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic