public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] linux make modules fails
@ 2006-05-19  0:52 Justin Findlay
  2006-05-19  2:43 ` Ben Reubenstein
  2006-05-19  3:54 ` Richard Fish
  0 siblings, 2 replies; 9+ messages in thread
From: Justin Findlay @ 2006-05-19  0:52 UTC (permalink / raw
  To: gentoo-user

When I try to build the 'modules' target with linux it doesn't create
the .ko files.  It seems to get stuck at 'stage 2', whatever that
means, and I am at a loss finding out what exactly stage 2 is, from
looking at scripts/Makefile.modpost, and why it doesn't build.

This happens with either a vanilla-sources or gentoo-sources kernel
and doesn't happen when I try to build the gentoo kernel from within
another system, like a knoppix liveCD.

# make V=1 modules
rm -f .kernelrelease
echo 2.6.17-rc4 > .kernelrelease
set -e; echo '  CHK     include/linux/version.h'; mkdir -p
include/linux/;      if [ `echo -n "2.6.17-rc4" | wc -c ` -gt 64 ];
then echo '"2.6.17-rc4" exceeds 64 characters' >&2; exit 1; fi; (echo
\#define UTS_RELEASE \"2.6.17-rc4\"; echo \#define LINUX_VERSION_CODE
`expr 2 \\* 65536 + 6 \\* 256 + 17`; echo '#define
KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'; ) <
/usr/src/linux-2.6.17-rc4/Makefile > include/linux/version.h.tmp; if [
-r include/linux/version.h ] && cmp -s include/linux/version.h
include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp;
else echo '  UPD     include/linux/version.h'; mv -f
include/linux/version.h.tmp include/linux/version.h; fi
  CHK     include/linux/version.h
make -f scripts/Makefile.build obj=scripts/basic
mkdir -p .tmp_versions
rm -f .tmp_versions/*
make -f scripts/Makefile.build obj=.
mkdir -p arch/x86_64/kernel/
make -f scripts/Makefile.build obj=scripts
...

  Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.17-rc4/scripts/Makefile.modpost
  scripts/mod/modpost -m -a -o
/usr/src/linux-2.6.17-rc4/Module.symvers   vmlinux


Justin
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-05-19  6:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-19  0:52 [gentoo-user] linux make modules fails Justin Findlay
2006-05-19  2:43 ` Ben Reubenstein
2006-05-19  3:44   ` Richard Fish
2006-05-19  4:09     ` Ben Reubenstein
2006-05-19  3:44   ` Justin Findlay
2006-05-19  3:54 ` Richard Fish
2006-05-19  4:27   ` Justin Findlay
2006-05-19  5:29   ` Justin Findlay
2006-05-19  6:45     ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox