LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2012, 03:34 AM   #1
Tinyspark
LQ Newbie
 
Registered: May 2012
Posts: 15

Rep: Reputation: Disabled
Equivalent of <sys/ddi.h> in Linux


Hi,
I compile a C code in Solaris and Linux. It compiles fine in Solaris. In Linux, I get the error

error: sys/ddi.h: No such file or directory

I find that in /usr/include/sys/, ddi.h is not present in Linux.
What is the equivalent header of ddi.h in Linux? Where can I get it from?
 
Old 06-25-2012, 03:55 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Where can I get it from ?
>>> The first hit with Google .. ddi.h ..

> http://www.koders.com/c/fidF9AB87A5B...52E974EA3.aspx
... and read what it's doing : Line 47 - 57.

( May be you can leave out this header from your C file ?
It is a "Sun Solaris kernel specific" header.)

.

Last edited by knudfl; 06-25-2012 at 03:56 AM.
 
  


Reply

Tags
header, linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
system not display /sys/ folder....in kernel compile how to enable sys in menuconfig dashang.trivedi Linux - Kernel 1 07-14-2011 05:00 AM
What is the prime difference between Sys 3,Sys V and System7 version of UNIX vinnie_vinodh Other *NIX 2 11-16-2010 06:01 AM
What is kernel 2.4 equivalent of /proc/sys/vm/freepages entries [ found in 2.2.x ] ukursat Linux - Kernel 3 08-06-2007 09:26 AM
Is a Linux sys w/o any passwd's as secure as a microsoft windows sys w/no passwd? t3gah Linux - Security 4 04-22-2005 08:01 PM
What is the autoexec.bat and config.sys equivalent of linux lemuel Linux - Newbie 4 12-07-2004 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration