RE: 1.3.19 modules compile error

linuxsys@ssg.com
Thu, 17 Aug 1995 15:43:11 GMT


linuxsys@ssg.com writes:
> With gcc 2.5.8 and no ELF compile (duh!) but ELF support (which worked
> fine with 1.3.14) I get the following from make modules:
> make[1]: Entering directory `/usr/src/linux-1.3.19/net'
> set -e; for i in ipv4; do make -C $i modules; done
> make[2]: Entering directory `/usr/src/linux-1.3.19/net/ipv4'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486 -DMODULE -c -o rarp.o rarp.c
> rarp.c: In function `rarp_init':
> rarp.c:550: `S_IFREG' undeclared (first use this function)
> rarp.c:550: (Each undeclared identifier is reported only once
> rarp.c:550: for each function it appears in.)
> rarp.c:550: `S_IRUGO' undeclared (first use this function)
> rarp.c:553: invalid lvalue in unary `&'
> make[2]: *** [rarp.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-1.3.19/net/ipv4'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/linux-1.3.19/net'
> make: *** [modules] Error 2
>
[...]

1.3.20 compiled cleanly.

Rick