Hi --
--- In "research_labs80" <> wrote:
>
> hi, i try to compile kernel for linux.
>
> i use arm-linux-ts72xx.pdf section 6 for guide.
Good, this is a good guide to follow.
>
> for crosstools, i use a gcc-3.3.4-glibc-2.3.2 combination.
>
> i execute the steps indicated:
>
> $make ts7200_config
> ok
> $make oldconfig
> ok
>
> ..Generally, the next compilation steps include dependencies
> processing, kernel image creation and kernel modules compilation:
>
> $make dep
> ok
> $make vmlinux
> ok...
> $make modules INSTALL_MOD_PATH=/lib/modules
>
> instead of this, i use another INSTALL_MOD_PATH on linux24/modules, to
> not bother my /lib path.
Try to use an absolute path for INSTALL_MOD_PATH here.
>
> The last step is modules installation:
> $make modules_install
>
> then i encounter this command try to install on /lib/modules... so
> again i use that:
> $make modules_install INSTALL_MOD_PATH=$MYPATH/modules
Use the same absolute path here too.
>
> after a while i obtained the follow error:
>
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b modules
> -r 2.4.26-ts11; fi
> Version requires old depmod, but couldn't run /sbin/depmod.old: No
> such file or directory
> make: *** [_modinst_post] Error 2
>
> ok, that's it i cannot forward after this, i don't know what means.
This means that you are using a modern depmod program, which is part
of module-init-tools package. Module handling changed significantly
between 2.4 and 2.6, so the module handling tools changed as well
(modutils for 2.4 vs. module-init-tools for 2.6). The modern depmod
program is smart enough to detect when it deals with old (2.4)
modules, and tries to run an older depmod program (depmod.old) that
understands 2.4 modules.
>
> any suggestions?
See if your distribution has package that supplies a depmod.old for
2.4 backwards compatibility. If not, try to create a symlink of
/sbin/depmod.old to /sbin/depmod.
In the worst case, you would have to install the modules by hand.
Regards, ......... Charlie
>
> thanks.
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|