Re: [suse-security] FreeSwan Kernel Config
Thanks for the reply, however, I still get an error when I issue the command. What directory should I be in when I execute it?
When I try make coloneconfig in the /usr/src/linux directory it responds with
# make: ***No Rule to make target ** Stop.
I have 2.4.21-15 Kernel installed according to YaST.
David
----- Original Message -----
From: "Philippe Vogel"
I then issued the following commands # cd /usr/src/linux # make xconfig (left all the default settings in xconfig) # make dep # make bzImage # cd /usr/src/kernel-module/zz_freeswan # make xgo
If you got kernel-source fresh installed, the config does not match the installed one.
make coloneconfig && make deps
Makes the configfile from SuSE original config and the deps needed by kernel-source.
Afterwards do, what is said in the manual, e.g.:
cd /usr/src/kernel-modules/zz_freeswan && make xgo
Philippe
Thanks for the reply, however, I still get an error when I issue the command. What directory should I be in when I execute it? When I try make coloneconfig in the /usr/src/linux directory it responds with # make: ***No Rule to make target ** Stop.
I have 2.4.21-15 Kernel installed according to YaST.
If you got the correct kernel you can read following: /usr/src/linux/Makefile Line 379 cloneconfig: symlinks [snip] If not you have the false kernel. Maybe I forgot:
make coloneconfig && make deps
means: cd /usr/src/linux && make coloneconfig && make deps
# make: ***No Rule to make target ** Stop.
Means you are not in the right directory for building the kernel cloneconfig. This is SuSE specific, the kernel from www.kernel.org does not have this option. Before you compile any modules for free swan or other stuff you must have ther correct kernel. This even helps with the nvidia-drivers (error while you run nvidia setupfile if you want to use up-to-date nvidia drivers). If there are afterwards errors read the manual (README or INSTALL file) provided by the packages for any hints. Philippe
- cd /usr/src/linux && make coloneconfig && make deps + cd /usr/src/linux && make cloneconfig && make dep
# make: ***No Rule to make target ** Stop. (which read in on my box as make: *** No rule to make target `coloneconfig'. Stop. make: *** No rule to make target `deps'. Stop.
silly typo...) maybe this helps if not, do a "make mrproper" before that ;) Lars Ellenberg
I manged to do this after just looking in the Makefile in zz_freeswan and
randomly making some of the interesting looking targets I found there! :)
Try...
make klink
make patch
...then go into the kernel directory, make menuconfig or make xconfig as you
prefer, find the Freeswan options switch them on and recompile the kernel as
per normal. I'd recommend switching on debug in the options. It still
isn't enabled by default but it allows you to switch it on if needed.
Regards,
Carl Peto
Bookman Associates
----- Original Message -----
From: "David White"
Thanks for the reply, however, I still get an error when I issue the command. What directory should I be in when I execute it? When I try make coloneconfig in the /usr/src/linux directory it responds with # make: ***No Rule to make target ** Stop.
I have 2.4.21-15 Kernel installed according to YaST.
David
----- Original Message ----- From: "Philippe Vogel"
To: "David White" Sent: Monday, January 26, 2004 6:01 PM Subject: Re: [suse-security] FreeSwan Kernel Config I then issued the following commands # cd /usr/src/linux # make xconfig (left all the default settings in xconfig) # make dep # make bzImage # cd /usr/src/kernel-module/zz_freeswan # make xgo
If you got kernel-source fresh installed, the config does not match the installed one.
make coloneconfig && make deps
Makes the configfile from SuSE original config and the deps needed by kernel-source.
Afterwards do, what is said in the manual, e.g.:
cd /usr/src/kernel-modules/zz_freeswan && make xgo
Philippe
-- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
participants (4)
-
Carl Peto
-
David White
-
Lars Ellenberg
-
Philippe Vogel