On Fri, 10 Mar 2000, Adrian Chiang wrote:
>
> Hi Sluggers,
>
> I am trying to compile a c' program written for soloaris
> on a Linux system. But I get stuck when gcc the program,
> it's missing the include file ddi.h.
>
> I did a "find" for the file from / but no where to be found.
>
> Anyone know where to get this header file & what it is?
>
> I am running Mandrake 7.0 w default kernel 2.2.14
And the program you're trying to compile is?....
/usr/include/sys/ddi.h on Solaris is a header file used when building
device drivers - it's the Device Driver Interface include file. Given
that the kernels on Linux and Solaris are "different", then I wouldn't
expect a device driver for a Solaris system to compile out of the box
on a Linux system.
To port it, you'll need to do some serious work and probably have
knowledge of some parts (at least) of how the kernel works.
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
Technical Consultant or at present:
eServ. Pty Ltd [EMAIL PROTECTED]
Phone: +61 2 9206 3410 Fax: +61 2 9281 1301
"If you kill all your unhappy customers, you'll only have happy ones left"
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text