Why this is not working ....

From: Vikas
Date: Wed Jul 27 2005 - 01:53:50 EST


PATH=' \ /home\ / $2 \ / $3 \ / lib '
Why $2 and $3 are not replaced by user passed argument


-----Original Message-----
From: linux-kernel-owner@xxxxxxxxxxxxxxx
[mailto:linux-kernel-owner@xxxxxxxxxxxxxxx]On Behalf Of Michael Berger
Sent: Wednesday, July 27, 2005 12:19 PM
To: linux-kernel@xxxxxxxxxxxxxxx
Subject: Build error in Kernel 2.6.13-rc3 git current

Dear Kernel Hackers

I would like to report following build error in Kernel 2.6.13-rc3 git
current:

gcc -m32 -Wp,-MD,init/.do_mounts_initrd.o.d -nostdinc -isystem
/usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float
-mpreferred-stack-boundary=2 -march=i686 -mregparm=3
-Iinclude/asm-i386/mach-default -DKBUILD_BASENAME=do_mounts_initrd
-DKBUILD_MODNAME=mounts -c -o init/do_mounts_initrd.o
init/do_mounts_initrd.c
In file included from include/asm/unistd.h:426,
from include/linux/unistd.h:9,
from init/do_mounts_initrd.c:2:
include/asm/ptrace.h: In function `user_mode_vm':
include/asm/ptrace.h:67: error: `VM_MASK' undeclared (first use in this
function)
include/asm/ptrace.h:67: error: (Each undeclared identifier is reported
only once
include/asm/ptrace.h:67: error: for each function it appears in.)
make[1]: *** [init/do_mounts_initrd.o] Error 1
make: *** [init] Error 2

Attached you will find my config file which triggers this build error.

Best regards,


-- Michael Berger


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