2.0.26 compile-failures

Holger P. Krekel (hpk@prim.han.de)
22 Nov 1996 19:29:20 GMT


I had errors building newest stable kernel 2.0.26

After a make clean ; make dep on my client (p133)

make zImage failed at building the aic7xxx - code FAILED with:
--------------------------------------------------------------
gcc -D__KERNEL__ -I/usr/src/v2.0.26/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o sd_ioctl.o sd_ioctl.c
./aic7xxx_asm -o aic7xxx_seq.h aic7xxx.seq
cpp: -E required when input is from standard input
cpp: -E required when input is from standard input
0 out of 448 instructions used.
gcc -D__KERNEL__ -I/usr/src/v2.0.26/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o aic7xxx.o aic7xxx.c
aic7xxx.c:1026: aic7xxx_seq.h: No such file or directory
aic7xxx.c: In function `aic7xxx_info':
aic7xxx.c:1153: `AIC7XXX_SEQ_VER' undeclared (first use this function)
aic7xxx.c:1153: (Each undeclared identifier is reported only once
aic7xxx.c:1153: for each function it appears in.)
aic7xxx_proc.c: In function `aic7xxx_proc_info':
In file included from aic7xxx.c:5735:
aic7xxx_proc.c:133: `AIC7XXX_SEQ_VER' undeclared (first use this function)
----------------------------------------------------------------

and on my server
make modules FAILED at buidling isdn-modules with
-------------------------------------------------
gcc -D__KERNEL__ -I/usr/src/v2.0.26/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/v2.0.26/include/linux/modversions.h -c -o isdnl3.o isdnl3.c
l3_1TR6.c: In function `l3_1tr6_setup':
In file included from isdnl3.c:522:
l3_1TR6.c:61: `PROTO_DIS_N1' undeclared (first use this function)
l3_1TR6.c:61: (Each undeclared identifier is reported only once
l3_1TR6.c:61: for each function it appears in.)
l3_1TR6.c: In function `l3_1tr6_tu_rel':
l3_1TR6.c:296: `PROTO_DIS_N1' undeclared (first use this function)
l3_1TR6.c: In function `l3_1tr6_alert':
l3_1TR6.c:370: `PROTO_DIS_N1' undeclared (first use this function)
l3_1TR6.c: In function `l3_1tr6_conn':
l3_1TR6.c:387: `PROTO_DIS_N1' undeclared (first use this function)
l3_1TR6.c: In function `l3_1tr6_disconn_req':
l3_1TR6.c:431: `PROTO_DIS_N1' undeclared (first use this function)
l3_1TR6.c: In function `l3_1tr6_rel_req':
l3_1TR6.c:457: `PROTO_DIS_N1' undeclared (first use this function)
isdnl3.c: In function `l3up':
isdnl3.c:540: `PROTO_DIS_N0' undeclared (first use this function)
isdnl3.c:543: `PROTO_DIS_N1' undeclared (first use this function)
isdnl3.c:557: `PROTO_EURO' undeclared (first use this function)
isdnl3.c:570: warning: unreachable code at beginning of switch statement
isdnl3.c:612: warning: unreachable code at beginning of switch statement
make[3]: *** [isdnl3.o] Error 1

----------------------------------------

I have 2.0.25 running and compiled the 2.0 series without major problems (except
bad hardware). But as everything else works ok (e.g. compiling 2.0.25) on my two
computers, there must be something...

I am curious (and hope not to have overlooked something)

Holger

P.S. : I am running the stable packages from Documentation/Changes except
my libc is 5.3.12 and my gcc 2.7.2, i hope its not that.