1.3.76 grief?

Marty Leisner (leisner@sdsp.mc.xerox.com)
Wed, 20 Mar 1996 08:38:02 PST


I got a full distribution of 1.3.76...

Both at work and at home, I can't make modules (I'm using several
things as modules).
When I make modules I get:
: leisner@thingy; make modules
make[1]: Entering directory `/fs4/linux-1.3.76/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/fs4/linux-1.3.76/kernel'
make[1]: Entering directory `/fs4/linux-1.3.76/drivers'
set -e; for i in block char net ; do make -C $i modules; done
make[2]: Entering directory `/fs4/linux-1.3.76/drivers/block'
rm -f $TOPDIR/modules/BLOCK_MODULES
echo loop.o >> $TOPDIR/modules/BLOCK_MODULES
/bin/sh: /fs4/linux-1.3.76/modules/BLOCK_MODULES: No such file or directory
make[2]: *** [modules] Error 1
make[2]: Leaving directory `/fs4/linux-1.3.76/drivers/block'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/fs4/linux-1.3.76/drivers'
make: *** [modules] Error 2
: leisner@thingy;

When I select at NE2000 board (at home, at work I have 3c509)
I get:
anslate into:
{ (void *) & ip_rt_put , "ip_rt_put" "_R" "df678d49" } ,
{ (void *) & arp_send , "arp_send" "_R" "64209925" } ,

{ ei_open , } ,
{ ei_close , } ,
{ ei_debug , } ,
{ ei_interrupt , } ,
{ ethdev_init , } ,

{ (void *) & register_netdevice_notifier , "register_netdevice_not
ifier" "_R" "9d7c60b2" } ,
{ (void *) & unregister_netdevice_notifier , "unregister_netdevice
_notifier" "_R" "428826f3" } ,

from this code

X(ip_options_compile),
X(ip_rt_put),
X(arp_send),
#ifdef CONFIG_IP_FORWARD
X(ip_forward),
#endif
#if defined(CONFIG_ULTRA) || defined(CONFIG_WD80x3) || \
defined(CONFIG_EL2) || defined(CONFIG_NE2000) || \
defined(CONFIG_E2100) || defined(CONFIG_HPLAN_PLUS) || \
defined(CONFIG_HPLAN) || defined(CONFIG_AC3200)
/* If 8390 NIC support is built in, we will need these. */
X(ei_open),
X(ei_close),
X(ei_debug),
X(ei_interrupt),
X(ethdev_init),
X(NS8390_init),
#endif
#ifdef CONFIG_NET_ALIAS
#include <linux/net_alias.h>

(I don't understand it...)

I also find it useful to be able to make with -save-temps
(to this this pipe has to be turned off...)

This seems reasonable:
leisner@compaq;rcsdiff -u arch/i386/boot
rcsdiff: arch/i386/RCS/boot,v: No such file or directory
: leisner@compaq;rcsdiff -u arch/i386/Makefile
===================================================================
RCS file: arch/i386/Makefile,v
retrieving revision 1.1
diff -u -r1.1 arch/i386/Makefile
--- arch/i386/Makefile 1996/03/20 01:01:58 1.1
+++ arch/i386/Makefile 1996/03/20 01:02:20
@@ -58,7 +58,8 @@
LINKFLAGS =-qmagic -Ttext 0xfffe0
endif

-CFLAGS := $(CFLAGS) -pipe
+PIPE = -pipe
+CFLAGS := $(CFLAGS) $(PIPE)

ifdef CONFIG_M386
CFLAGS := $(CFLAGS) -m386 -DCPU=386

(do a make PIPE='special gcc options' instead of -pipe

marty leisner@sdsp.mc.xerox.com
Member of the League for Programming Freedom (http://www.lpf.org)
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001