[3184] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: header files, sys/stream.h, mbuf.h ?

daemon@ATHENA.MIT.EDU (Chris Nystrom)
Thu Nov 7 13:02:55 1996

Date: Thu, 7 Nov 1996 11:22:24 -0600 (CST)
From: Chris Nystrom <ccn@cfi.org>
Reply-To: Chris Nystrom <ccn@cfi.org>
To: redhat-list@redhat.com
Cc: John Brosnan <johnbros@iol.ie>
In-Reply-To: <199611071647.LAA05655@redhat.com>
Resent-From: redhat-list@redhat.com


> I'm porting a device driver from SunOS to Redhat Linux, 
> the driver build requires the following header files:
> 
>        sys/stream.h
>        sys/mbuf.h
>        sys/kmem_alloc.h
> 
> The above files do not seem to exist on Linux, any 
> suggestions/ideas ?

Comment them out, compile and see what breaks, them grep through /include
and /include/sys and see if you can find what is missing. If you can not
find it, perhaps you can look at what is in the SunOS header files and
recreate it in your own header file with an #ifdef. I have access to a
SunOS 4.1.4 system if you need some info.

Also look what Libraries need to be included? You might be able to do a
man on those libs and find the correct header files that way. Also try
doing a man on any functions that do not compile correctly.

Just some ideas.

-----------------------------------------------------------------------------
----- Chris Nystrom ---- Desk: (512) 342-2244 -- CAD Framework Initiative ---
----- Computer Guy  ----- Fax: (512) 342-2037 - 4030 West Braker Lane, #550 -
- http://www.cfi.org/ccn/ ------------------------ Austin, Texas, 78759 -----




--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post