tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [Q] Compiling Device Drivers
@ 1995-10-10 17:49 Todd Bedell {77299}
  0 siblings, 0 replies; only message in thread
From: Todd Bedell {77299} @ 1995-10-10 17:49 UTC (permalink / raw)
  To: tru64-unix-managers


I am using the following command to try to compile a device driver...

'cc  -D_KERNEL -I/usr/sys/SWLABE -I/usr/sys/include -c DIO_Open.c'

This gives me the following errors...

/usr/lib/cmplrs/cc/cfe: Error: /usr/sys/include/kern/processor.h, line 
138: member types cannot be function types or incomplete type.
        long            streams_lbolt();
        ----            -------------^
/usr/lib/cmplrs/cc/cfe: Error: /usr/sys/include/machine/pmap.h, line 99: 
redeclaration of 'pt_entry_t'; previous declaration at line 62 in file 
'/usr/sys/include/machine/machparam.h'
 typedef union pt_entry pt_entry_t;
 ---------------------- ^
/usr/lib/cmplrs/cc/cfe: Error: DIO_Open.c, line 80: 'u' undefined, 
reoccurrences will not be reported
      u.uu_spare[0] = 19                ;
 -----^
/usr/lib/cmplrs/cc/cfe: Error: DIO_Open.c, line 94: 'u' undefined, 
reoccurrences will not be reported
      u.uu_spare[0] = 6         ;
 -----^


It seems as though system files that I have nothing to do with are producing
these redeclarations. 

Could someone please clue me in on this. 

Please excuse this question if the answer is obvious, as I rarely get 
involved in this type of work.

TIA,

------o------------ ----------------------------------------- -------------
|      \        .   | Todd Bedell      |  Email: tbb@swl.msd.ray.com      |
|     0/)     .     | Raytheon Company |  Phone: 508-858-1206 (dir.ct)    |
|     |/    .       | 50 Applehill Dr. |  Disclaimer: My opinions are.my  |
|     |   .         | Tewksbury, MA    |  own, any similarity to anotho.  |
|   _/ \_.          | 01876-0901       |  is purely coincidental        o |
---------------------------------------------------------------------------
---------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-10-10 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-10 17:49 [Q] Compiling Device Drivers Todd Bedell {77299}

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox