[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Compiliation Error



At Sat, 5 Feb 2005 17:34:32 -0500,
Stephen Craven wrote:
[...]
> mb-gcc -D__KERNEL__ -I/home/scraven/uClinux-2.4.x/include  -Wall -Wstrict-pr
> ototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common -fno-builtin
>  -DNO_MM -DNO_FPU -D__ELF__ -DUTS_SYSNAME="uClinux" -D__linux__ -I/usr/local
> /microblaze-elf-tools/bin/../lib/gcc-lib/microblaze/2.95.3-4/./include -mno-
> xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift   -nostdinc -iwithprefix
> include -DKBUILD_BASENAME=kcore  -c -o kcore.o kcore.c
> kcore.c: In function `read_kcore':
> kcore.c:362: `vmlist_lock' undeclared (first use in this function)
> kcore.c:362: (Each undeclared identifier is reported only once
> kcore.c:362: for each function it appears in.)
> kcore.c:415: warning: `err' might be used uninitialized in this function
> make[4]: *** [kcore.o] Error 1

assuming you are using cvs version.  it gives me the same error on my
system, too.

here is a patch which _seems_ to fix the problem.  haven't tested much
but this change has been introduced with 2.4.29 merge.
--
       yashi

Attachment: noop-read_unlock.patch
Description: Binary data