Re: *lots* of build errors from ciphers-v2.0f [SOLVED]

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

 



Christian wrote:
> make modules LINUX_SOURCE=/data/MP3/scratch/kernel/linux-2.4-benh-RSYNC/
> 
> and then i get the compile errors.

User started "make modules" is doomed to fail, because Makefile works like
this:

(1) user types "make" command. ciphers package Makefile determines kernel
    source location and calls kernel's Makefile
(2) kernel's Makefile sets up $(CFLAGS) $(CC) $(LD) and other important
    definitions required to compile kernel modules. Kernel Makefile then
    calls ciphers package Makefile using "make modules".
(3) ciphers Makefile is called using "make modules" and all kernel
    definitions are now correctly set. Modules can now be compiled and
    installed with correct tools and parameters.

> oh, now i tried again and did:
> 
> make LINUX_SOURCE=/data/MP3/scratch/kernel/linux-2.4-benh-RSYNC/
> 
> (notice the lacking "modules" argument) --> now it compiles, just
> have ignore the errors (make -i), when it tries to install the modules.

You can specify installation target root directory by specifiying
INSTALL_MOD_PATH=/path/to/install/root parameter to make.

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux