On Nov 28, 2007 12:09 AM, Iman Darabi <iman.darabi@xxxxxxxxx> wrote:
interesting ...
i can guess why : maybe because of symlink's path ( am i right ? )
but what about modules :
i use this command to compile my module :
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
#shell uname -r -> 2.6.11
and 2.6.11 source is clean ( with no symlinks )
maybe at compile time some file will be read to find symlinks without making it ( ? ) . what is that file ?
interesting ...
i can guess why : maybe because of symlink's path ( am i right ? )
but what about modules :
i use this command to compile my module :
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
#shell uname -r -> 2.6.11
and 2.6.11 source is clean ( with no symlinks )
maybe at compile time some file will be read to find symlinks without making it ( ? ) . what is that file ?
On Nov 27, 2007 10:31 PM, Adrian Bunk <bunk@xxxxxxxxxx> wrote:On Tue, Nov 27, 2007 at 08:47:20PM +0330, Iman Darabi wrote:>...
> hi
> 2.6.11 don't have any include/asm directory but i can compile some
> modules which has <asm/uaccess.h> or even content of <linux/ioctl.h> is :> i got 2.6.11 from kernel.org . ( 2.6.4 is the same as 2.6.11 )Te asm symlink gets created when you build the kernel.
>
> BTW : 2.6.22 has asm symbolic link to asm-i386 .
> thx
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
Nothing but perfection
http://iman.darabi.googlepages.com/