modutils broken

Richard B. Johnson (root@chaos.analogic.com)
Fri, 26 Mar 1999 15:07:37 -0500 (EST)


I can't compile modutils-2.1.85 (which I think is the latest).
The kernel no longer has kerneld.h. If I comment it out, to see what
is unresolved, I get the following:

Script started on Fri Mar 26 15:00:33 1999
# make
gcc -O2 -Wall -I../include -D_GNU_SOURCE -DDEBUG -DNO_GDBM -c -o kerneld.o kerneld.c
kerneld.c:83: `KERNELD_CANCEL_RELEASE_MODULE' undeclared here (not in a function)
kerneld.c:83: initializer element for `clear_text[0].message' is not constant
kerneld.c:84: `KERNELD_SYSTEM' undeclared here (not in a function)
kerneld.c:84: initializer element for `clear_text[1].message' is not constant
kerneld.c:85: `KERNELD_REQUEST_MODULE' undeclared here (not in a function)
kerneld.c:85: initializer element for `clear_text[2].message' is not constant
kerneld.c:86: `KERNELD_DELAYED_RELEASE_MODULE' undeclared here (not in a function)
kerneld.c:86: initializer element for `clear_text[3].message' is not constant
kerneld.c:87: `KERNELD_RELEASE_MODULE' undeclared here (not in a function)
kerneld.c:87: initializer element for `clear_text[4].message' is not constant
kerneld.c:88: `KERNELD_REQUEST_ROUTE' undeclared here (not in a function)
kerneld.c:88: initializer element for `clear_text[5].message' is not constant
kerneld.c:89: `KERNELD_BLANKER' undeclared here (not in a function)
kerneld.c:89: initializer element for `clear_text[6].message' is not constant
kerneld.c:189: field `msg' has incomplete type
kerneld.c: In function `check_pending_load':
kerneld.c:332: `KERNELD_REQUEST_MODULE' undeclared (first use in this function)
kerneld.c:332: (Each undeclared identifier is reported only once
kerneld.c:332: for each function it appears in.)
kerneld.c: In function `spawn_it':
kerneld.c:359: `KERNELD_CANCEL_RELEASE_MODULE' undeclared (first use in this function)
kerneld.c:364: `KERNELD_DELAYED_RELEASE_MODULE' undeclared (first use in this function)
kerneld.c:374: `KERNELD_SYSTEM' undeclared (first use in this function)
kerneld.c:403: `KERNELD_REQUEST_MODULE' undeclared (first use in this function)
kerneld.c:425: `KERNELD_RELEASE_MODULE' undeclared (first use in this function)
kerneld.c:443: `KERNELD_REQUEST_ROUTE' undeclared (first use in this function)
kerneld.c:473: `KERNELD_BLANKER' undeclared (first use in this function)
kerneld.c: In function `do_timer':
kerneld.c:767: `KERNELD_REQUEST_MODULE' undeclared (first use in this function)
kerneld.c: In function `main':
kerneld.c:791: `IPC_KERNELD' undeclared (first use in this function)
make: *** [kerneld.o] Error 1
# grep KERNELD_ /usr/include/asm/*.h
# grep KERNELD_ /usr/include/linux/*.h
# grep KERNELD_ /usr/include/sys/*.h
# exit
exit

Script done on Fri Mar 26 15:01:45 1999

Grep shows nothing anywhere to resolve these objects.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.4 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/