*BSD News Article 12189


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!sgiblab!sgigate!sgi!wdl1!master!humble.lds-az.loral.com!user
From: sturges@master.lds-az.loral.com (Jim Sturges)
Subject: resistant bug on adding lpt
Message-ID: <sturges-030393120454@humble.lds-az.loral.com>
Followup-To: comp.os.386bsd.bugs
Sender: news@lds-az.loral.com
Organization: Loral Defense Systems -- Arizona
Date: Wed, 3 Mar 1993 18:59:21 GMT
Lines: 23

Almost there, but....

I am trying to add the distributed lpt driver code into my kernel.
I removed the additional '*/' after the header in lpt.c, which cleared
a lot of problems. But now am stuck on the following. Any help would
be greatly appreciated. Make produces the following command line.

cc  -c -O -I. -I../.. -I../../sys -DMODEST -Di486 -Di486 -DI486
-DTCP_COMPAT_42 -DCOMPAT_43 -DNFS -DISOFS -DINET -DKERNEL -Di386 -DNPX 
.../../i386/isa/lpt.c


and this error is emitted.

In file included from ../../sys/user.h:48, from ../../i386/isa/lpt.c:59:
.../../sys/kinfo_proc.h:53: field `kp_proc' has incomplete type
.../../sys/kinfo_proc.h:57: field `e_pcred' has incomplete type
*** Error code 1

Stop.


Ideas?