Discussion:
[wish-info] compile X10 1.6.2 driver on Redhat Linux kernel 2.4.18-3
Hong Hsu
2003-05-12 18:43:31 UTC
Permalink
Scott,

Sorry to bother you again. After

#rpm -e kernel-source-2.4.18-3.i386.rpm
#rpm -ivh -force kernel-source-2.4.18-3.i386.rpm

[wish-1.6.2]#make install

I still have same error:
make: *** No rule to make target `arch/i386/vmlinux.lds', needed by
`vmlinux'. Stop.

What could be the problem here. Does install.sh need vmlinux.lds for
drivers installation?

Thank you for responses a number of times,
-Hong
Kernel-source-2.4.18-3 and kernel-2.4.18-3 are very different packages. The
source tree without an executable kernel is in kernel-source-2.4.18-3. The
bootable operating system precompiled and distributed in kernel-2.4.18-3.
You must have kernel-2.4.X installed in order to boot your system. But, you
only need kernel-source-2.4.18-3 to compile system level services.
So, you are not removing kernel-2.4.18-3, you are removing the source tree
and reinstalling it.
Scott
-----Original Message-----
Sent: Friday, May 09, 2003 8:52 PM
To: Scott Hiles
Subject: Re: [wish-info] RE: compile X10 1.6.12 driver on
Redhat Linux kernel 2.4.18-3
Scott,
Thank you for return my e-mails many times. I still
like to ask
questions. My system already set soft link asm-i386 to asm.
So second
method seems not needed. For the first method, both
kernel--source-2.4.18-3 and kernel-2.4.18-3 are in file system, why
should remove one and unpack another?
The issue is really not question on x10 driver. But I stuck
in middle
and am desperate for using x10.
-Hong
1) execute these commands
rpm -e `rpm -q -a | grep kernel-source-2.4.18-3`
rpm -i kernel-2.4.18-3.src.rpm
2) try linking the assembly directory by hand using this command
cd /usr/src/linux/include
ln -s asm-i386 asm
Scott Hiles
2003-05-12 18:49:56 UTC
Permalink
After you reinstalled the kernel source, did you copy the configs file to
.config and run "make dep". Try building the kernel from /usr/src/linux and
see if the kernel will build. If it can build the kernel, the drivers
should be able to compile.

If you can build the kernel but you can't build the drivers, let me know and
we will see if there is something unique going on here.

Scott
-----Original Message-----
Sent: Monday, May 12, 2003 2:44 PM
To: Scott Hiles
Subject: Re: [wish-info] compile X10 1.6.2 driver on Redhat
Linux kernel 2.4.18-3
Scott,
Sorry to bother you again. After
#rpm -e kernel-source-2.4.18-3.i386.rpm
#rpm -ivh -force kernel-source-2.4.18-3.i386.rpm
[wish-1.6.2]#make install
make: *** No rule to make target `arch/i386/vmlinux.lds', needed by
`vmlinux'. Stop.
What could be the problem here. Does install.sh need vmlinux.lds for
drivers installation?
Thank you for responses a number of times,
-Hong
Kernel-source-2.4.18-3 and kernel-2.4.18-3 are very
different packages.
The source tree without an executable kernel is in
kernel-source-2.4.18-3. The bootable operating system
precompiled and
distributed in kernel-2.4.18-3. You must have kernel-2.4.X
installed in
order to boot your system. But, you only need
kernel-source-2.4.18-3
to compile system level services.
So, you are not removing kernel-2.4.18-3, you are removing
the source
tree and reinstalling it.
Scott
-----Original Message-----
Sent: Friday, May 09, 2003 8:52 PM
To: Scott Hiles
Subject: Re: [wish-info] RE: compile X10 1.6.12 driver on
Redhat Linux kernel 2.4.18-3
Scott,
Thank you for return my e-mails many times. I still
like to ask
questions. My system already set soft link asm-i386 to asm.
So second
method seems not needed. For the first method, both
kernel--source-2.4.18-3 and kernel-2.4.18-3 are in file system, why
should remove one and unpack another?
The issue is really not question on x10 driver. But I stuck
in middle
and am desperate for using x10.
-Hong
1) execute these commands
rpm -e `rpm -q -a | grep kernel-source-2.4.18-3`
rpm -i kernel-2.4.18-3.src.rpm
2) try linking the assembly directory by hand using this command
cd /usr/src/linux/include
ln -s asm-i386 asm
Loading...