genksyms- compile problem with kernel versions

Donald R. Harter Jr. (ah230@traverse.lib.mi.us)
Fri, 28 Mar 1997 13:06:52 -0500 (EST)


I get the following messages when I type 'make dep'. This only happens
when I specify the option of versions for modules in the 'make config' for
the kernel. I went into my modules-2.0.0 directory and remade and
installed genksyms. That did not work. Maybe I need a
newer version of modules. I thought that I had the
latest version.
I am using kernel 2.1.29.

Donald Harter Jr.

:/usr3/linux$ make dep

make[1]: Entering directory `/usr3/linux/arch/i386/boot'

make[1]: Nothing to be done for `dep'.

make[1]: Leaving directory `/usr3/linux/arch/i386/boot'

scripts/mkdep init/*.c > .tmpdepend

scripts/mkdep `find /usr3/linux/include/asm /usr3/linux/include/linux
/usr3/linux/include/scsi /usr3/linux/include/net -follow -name \*.h !
-name modversions.h -print` > .hdepend

set -e; for i in kernel drivers mm fs net ipc lib arch/i386/kernel
arch/i386/mm arch/i386/lib arch/i386/math-emu; do make -C $i fastdep; done

make[1]: Entering directory `/usr3/linux/kernel'

gcc -D__KERNEL__ -I/usr3/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m386 -DCPU=386
-D__SMP__ -E -D__GENKSYMS__ ksyms.c\

| /sbin/genksyms -k 2.1.29 >
/usr3/linux/include/linux/modules/ksyms.ver.tmp

usage: genksyms [-gwqdD] directory

cpp: output pipe has been closed

make[1]: *** [/usr3/linux/include/linux/modules/ksyms.ver] Error 1

make[1]: Leaving directory `/usr3/linux/kernel'

make: *** [dep-files] Error 2