Kernel compile problems

Jim Nance (Jim_Nance@avanticorp.com)
Wed, 20 Dec 1995 15:32:46 -0500 (EST)


I am trying to cross compile the kernel from OSF/1 V3.2B, and have found
a few problems, mostly with #include files.

1) The file rd.c does a:
#include <string.h>

Which grabs the system include file, not the linux one. This stop the
compile because of clashing #defines.

2) The file fs/nfs/nfsroot.c does a:
#include <netinet/in.h>

There is not a directory in the linux source tree called netinet, but
there is one in the system includes. This also stop the compile.

3) The gnu assembler for OSF/1 V3.2 dies trying to compile one file. I
fixed this by using the OSF/1 assembler. I would be more specific,
but I erased the error message. If anyone wants it, I can reproduce
this.

Jim