Re: Kernel version 2.4.7 compile errors

Andrzej Krzysztofowicz (kufel!ankry@green.mif.pg.gda.pl)
Mon, 30 Jul 2001 00:07:27 +0200 (CEST)


>
> Note: I'm not subscribed, please Cc: mark@bish.net
>
> I'm trying to compile 2.4.7 with resiser support and I get this:
>
> make[3]: Entering directory `/usr/src/linux/fs/reiserfs'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o inode.o inode.c
> inode.c: In function `reiserfs_get_block':
> inode.c:803: warning: implicit declaration of function
> `journal_transactioo_should_end'
> inode.c:812: `retvcl' undeclared (first use in this function)

Check your hardware. In my tree it is 'retval' as it should.
'a' and 'c' differ by a single bit ...

> inode.c:812: (Each undeclared identifier is reported only once
> inode.c:812: for each function it appears in.)
> inode.c:812: parse error before `)'
> inode.c: In function `init_inode':
> inode.c:870: warning: implicit declaration of function `INIT_NIST_HEAD'

As above. INIT_LIST_HEAD

> inode.c:876: warning: implicit declaration of function
> `knode_items_version'

As above. inode_items_version

> inode.c:876: invalid lvalue in assignment
> inode.c:878: parse error before `>'

Guessing: "->" <-----> "/>" ?

> inode.c:882: structure has no member named `sd_atkme'

As above. sd_atime

> inode.c:889: `inofe' undeclared (first use in this function)

As above. inode

You probably have a memory chip with broken bit 1 on some address(es)

Andrzej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/