From: lgarde@scorch.apana.org.au (Leon Garde) Subject: Re: Hopfully no FAQ: Error compyling the kernel Date: Thu, 8 Apr 1993 19:29:38 GMT
fg@spcklr.mpifr-bonn.mpg.de (Frank Grieger) writes:
'Hello friends,
'as allready mentioned in the Subject I hope that this is not a FAQ.
'I just installed 99p6 from the SLS. I tried to configure my system
'and made changes to the Makefile. While making the image by typing
'make Image I recieved the following error:
'[hopfully unimportant 'is up to date' stuff deleted]
'...
'make[1]: `lib.a' is up to date.
'ipc
'gcc -DKERNEL -Wall -O6 -fomit-frame-pointer -m486 -c msg.c
'In file included from /usr/include/linux/msg.h:3, from msg.c:9:
'/usr/include/linux/ipc.h:9: parse error before `ftok'
'/usr/include/linux/ipc.h:9: warning: data definition has no type or storage class
'In file included from msg.c:9:
'/usr/include/linux/msg.h:20: field `msg_perm' has incomplete type
'msg.c:14: parse error before `key'
'msg.c:15: parse error before `key'
'msg.c: In function `msg_init':
'msg.c:30: `IPC_UNUSED' undeclared (first use this function)
'msg.c:30: (Each undeclared identifier is reported only once
Try ------
cd /usr/src/linux; patch -R -P1 < ipc/ipc.cd
vi Makefile # Remove references to ipc in libs and dirs variables
simple. IPC isnt important. And then , make Image will work just fine
!
leon