nelze zkompilovat e2fsprogs

Jiri Pavlovsky jira na mail.abdist.cz
Čtvrtek Duben 23 15:01:18 CEST 1998


On 22 Apr 1998 18:25:12 +0200, Derfinak Jan <derfinak na hron.fei.tuke.sk> wrote:
>On Wed, 22 Apr 1998, Jiri Pavlovsky wrote:
>
>> Dobry den,
>> 
>> neuspesne se snazim zkompilovat e2fsprogs 1.10 (marne jsem zkousel i 1.12).
>> Vzdy to skonci pri kompilaci gen_uuid.c z knihovny libuuid. Chybovy vypis
>> je pripojen na konci dopisu. System: glibc 2.0.7, gcc-2.8.1, kernel 2.0.33.
>> Muze mi prosim nekdo poradit, jak to mam zkompilovat?
>
>Myslim, ze na riadku uuidP.h:24 je pouzity nejaky typ, ktory gcc nepozna.

vypada to tak, jenze uuidP.h inkluduji i jine soubory a ty se zkompiluji bez
problemu. __u32 je definovano v 'ext2fs/ext2fs.h' , kdyz sem to zkusil
inkludnout ziskal jsem akorat vice chyb.
Navic by to preci melo jit zkompilovat bez nejakeho zvlastniho hackovani.
Vazne tomu nerozumim.

Jiri Pavlovsky
jirap na bajt.cz

 -----------------------------------------------------------------
 In file included from gen_uuid.c:36:
 uuidP.h:24: parse error before `__u32'
 uuidP.h:24: warning: no semicolon at end of struct or union
 uuidP.h:25: warning: data definition has no type or storage class
 uuidP.h:26: parse error before `time_hi_and_version'
 uuidP.h:26: warning: data definition has no type or storage class
 uuidP.h:27: parse error before `clock_seq'
 uuidP.h:27: warning: data definition has no type or storage class
 uuidP.h:28: parse error before `node'
 uuidP.h:28: warning: data definition has no type or storage class
 uuidP.h:29: parse error before `}'
 gen_uuid.c:148: parse error before `*'
 gen_uuid.c: In function `get_clock':
 gen_uuid.c:152: syntax error before `clock_seq'
 gen_uuid.c:181: `clock_high' undeclared (first use in this function)
 gen_uuid.c:181: (Each undeclared identifier is reported only once
 gen_uuid.c:181: for each function it appears in.)
 gen_uuid.c:182: `clock_low' undeclared (first use in this function)
 gen_uuid.c:183: `ret_clock_seq' undeclared (first use in this function)
 gen_uuid.c: In function `uuid_generate':
 gen_uuid.c:191: storage size of `uu' isn't known
 gen_uuid.c:192: `__u32' undeclared (first use in this function)
 gen_uuid.c:192: parse error before `clock_mid'
 gen_uuid.c:206: `clock_mid' undeclared (first use in this function)
 gen_uuid.c:208: `__u16' undeclared (first use in this function)
 gen_uuid.c:208: parse error before `clock_mid'
 make[1]: *** [gen_uuid.o] Error 1
 make[1]: Leaving directory `/tmp/e2fsprogs-1.10/lib/uuid'
 make: *** [all-libs-recursive] Error 1


Další informace o konferenci Linux