2002-09-20 16:07:11

by Bill Davidsen

[permalink] [raw]
Subject: 2.5.36-mm1 compile (fwd)

Script started on Fri Sep 20 06:06:21 2002
profile 1.19 1998-07-03 17:42:50-04 mod/noRCS

No common directory available

Session time 06:06:21 on 09/20/02

oddball:root> make bzImage

make[1]: Entering directory `/home/linux-2.5.35/scripts'

make[1]: Leaving directory `/home/linux-2.5.35/scripts'

Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=

make[1]: Entering directory `/home/linux-2.5.35/init'

Generating /home/linux-2.5.35/include/linux/compile.h (unchanged)

make[1]: Leaving directory `/home/linux-2.5.35/init'

make[1]: Entering directory `/home/linux-2.5.35/kernel'

gcc -Wp,-MD,./.exec_domain.o.d -D__KERNEL__ -I/home/linux-2.5.35/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=exec_domain -DEXPORT_SYMTAB -c -o exec_domain.o exec_domain.c

In file included from /home/linux-2.5.35/include/linux/module.h:469,

from exec_domain.c:14:

/home/linux-2.5.35/include/linux/modversions.h:4:53: linux//home/linux-2.5.35/.tmp_export-objs: No such file or directory

make[1]: *** [exec_domain.o] Error 1

make[1]: Leaving directory `/home/linux-2.5.35/kernel'

make: *** [kernel] Error 2

oddball:root> exit


Script done on Fri Sep 20 06:07:31 2002


2002-09-20 19:00:20

by Kai Germaschewski

[permalink] [raw]
Subject: Re: 2.5.36-mm1 compile (fwd)

On Fri, 20 Sep 2002, Bill Davidsen wrote:

> I tried to build 2.5.36-mm1 on a PII-350 with RH7.3. Make menuconfig, make
> dep, make bzImage. Tried backing up the config, make mrproper, install
> config, make oldconfig, make dep, make bzImage. Still no go.

Could you please let me know if this patch fixes it?

--Kai


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.579 -> 1.580
# Makefile 1.304 -> 1.305
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/09/20 [email protected] 1.580
# kbuild: Fix modversions generation glitch
#
# Some people have their "cd" command print $PWD, so they would end
# up with $PWD in their include/modversions.h, which is not quite what we
# want.
# --------------------------------------------
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile Fri Sep 20 14:03:35 2002
+++ b/Makefile Fri Sep 20 14:03:35 2002
@@ -436,7 +436,8 @@
@( echo "#ifndef _LINUX_MODVERSIONS_H";\
echo "#define _LINUX_MODVERSIONS_H"; \
echo "#include <linux/modsetver.h>"; \
- for f in `cd .tmp_export-objs; find modules -name SCCS -prune -o -name BitKeeper -prune -o -name \*.ver -print | sort`; do \
+ cd .tmp_export-objs >/dev/null; \
+ for f in `find modules -name \*.ver -print | sort`; do \
echo "#include <linux/$${f}>"; \
done; \
echo "#endif"; \