What's the largest header file in /usr/include/sys?

Just noticed this,
  $ ls -l /usr/include/sys | sort +4n | tail -3
  -rw-r--r--   1 root     bin        59151 Jul  4 03:39 dtrace_impl.h
  -rw-r--r--   1 root     bin        76941 Jul  4 03:39 sunddi.h
  -rw-r--r--   1 root     bin        83768 Jul  4 03:39 dtrace.hwhich is great because dtrace.h is so rich with comments, and dtrace_impl.h has plenty of ASCII art. Hooray!
This more than makes up for the sins of /usr/include/sys/tnf_probe.h! ;-)
.... now if you guys are ever bored, feel free to update /usr/include/sys/swap.h, /usr/include/vm/anon.h ... :-)
Brendan

Sorry I was really busy the last few days. Thank you for your answers!
I probably should have left out all the specifics of what the software was that I was packaging, because I think what I was really asking did not come across clearly. What I really wanted to know is:
Why do I have to provide the "-I /usr/include/headers_dir" compiler option for some libraries but not for others, although the header files for each lie in a level 1 subdir of /usr/include?
I thought that maybe there was some kind of index of installed libraries that I didn't know about, which I could have updated from within PKGBUILD (so I guess that's why I included it originally). Seems to me now, though, that this is not the case.
I did put in some google time (but not lots b/c 1. hard to google and 2. busy) to find an answer, but to no avail and it's not really top priority right now (and quite honestly never will be, since there is the -I option), so I guess it'll have to wait, unless someone knows...
---EDIT---
So, right after I posted this (stupid me) I had a little think and I finally understand, whats happening.
1. Headers are not found without specifying the directory they are in.
2. I need the -I option because easykf headers are not well formed.
Thanks a lot!
Last edited by maximax (2013-09-27 00:26:03)

Similar Messages

  • Where to get header files under /usr/include/snmp

    My source codes relate to SNMP subagent. Currently mu codes is conpiled in a SOlaris 7 machine. I can find the needed header files in /usr/include/snmp. Now I want to build another compiling machine with SOlaris 9. But after I installed Solaris 9, I can not find the header files under /usr/include/snmp/. Is there some specific packages I need to install? Or Solaris 9 has removed or changed the name of these files?
    Thanks!
    Yong

    So say if My page ProjectPG.xml has main controller ProjectPGCO then I have to write a class xyzProjectPGCO which extends ProjectPGCO .
    Write me logic here ....in ProjectPGCO
    After that I have to modify ProjectPG.xml and set its controller as xyzProjectPGCO
    Please let me know if this is right way of doing ?
    Thanks,
    Milind

  • What is the largest pdf file that iBooks can read?

    I have two large maps (largest is 74MB).  They are in the iBooks library but when I try to display one, it thinks for about 10 seconds, then bombs back to the iBooks icon.  I have read a much smaller map pdf successfully.  So I'm thinking that I'm beyond iBooks' capacity.  Any thoughts?
    Thanks

    Apple suggests to iBook's authors to keep the size less than 2GB iBooks Author: iBooks Store publishing overview
    You may have too many apps open which doesn't leave enough RAM to open.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
     Cheers, Tom

  • What is the largest "manageable" size for a captivate project? (I think I've passed it)

    Problem:
    It used to take perhaps 5 minutes for the Captivate software to open and the project to actually load. Now, Captivate loads (menu screen) but the project does not open - it just sits there. When I close the software it asks if I want to save changes to my project, as if it had opened.
    Background:
    The captivate project that is roughly 260MB. This is after having copied and pasted all the slides to a new project to reduce the file size (several times) -- because of unexplainable ballooning of the file size. I am using a computer with an Intel Core 2 Duo 2.35 GHZ processor with 4GB or RAM.
    Questions:
    What is the largest manageable file size for a project?
    Is there a limit to the number of slides a project can contain (i.e., 200)?
    What can I do to get my project to actually open?
    Thanks!
    Dan

    Hi there
    Normally we advise that a Captivate project should fall into somewhere between 50-65 slides as a general upper limit. Occasionally reaching as high as 100 to *MAYBE* 120 slides. Depending on a number of factors.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • What is the largest MMC and SD card that the Acer C710 can use, and what file formats can be used?

    What is the largest MMC and SD card that the Acer C710 can read from and write to when inserted into the built-in 2-in-1 card reader? What file formats can be used with aforementioned MMC and SD cards?i.e. FAT, FAT 32, exFAT, etc.

    Thank you for you help. I forgot to mention what is the highest class of SD card it can use at top speed, and are there any classes that will simply not work? An example answer would be, the highest speed that it can operate at clase 6, with class 8 being the highest class compatible; class 10 will not work. Also note, there are new cards faster than class 10. I have seen symbols like U1 and U3. I don't expect a discount computer to run an SD card faster than class 10, but it is important to know if U1 and U3 at least work.

  • Building PHP 5.2.5 and MySQL (Cannot find MySQL header files under /usr.)

    Hi,
    we are in big trouble here. On Mac OS X 10.4 it was no problem building PHP with additional modules. Unfortunately it´s not working this time.
    This is the error message i got when building php:
    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... /var/mysql/mysql.sock
    checking for MySQL UNIX socket location... /var/mysql/mysql.sock
    configure: error: Cannot find MySQL header files under /usr.
    Note that the MySQL client library is not bundled anymore!
    Looks like some libs are missing?!
    find / -iname 'libmysqlclient*'
    That doesn´t helper neither. No results.
    Any idera what´s wrong here?

    the php in 10.5 uses extensions, you do not need to rebuild php to get mssql to work..
    Take a look at http://downloads.topicdesk.com/docs/AddingGD2_to_PHP_on_OS_X_Server_10_5Leopard.pdf
    as you can see in that example GD is built separately, mssql is the same.. do a google search on mssql.so and you will find a bunch of info (most of it is for linux but you should be able to get the info to work)

  • What is the largest SSD Drive for my MacBook pro 8,2?

    What is the largest solid state drive I can install in my MacBook pro 15" (Version 8,2 - i7 2.3 GHz) with 8GB RAM I currently am running OS X 10.6.8 But I want to upgrade to Mavericks 10.9 and perform a clean install with Mavericks and manually move my files off of my backup.
    The Samsung 1TB  MZ-7TE1TB0BW looks nice but I don't know if it works well with my older MacBook Pro, just wondering if anyone has had any experience with this.
    Thanks

    1TB is as large as you'll get. Crucial also makes a nice one, and I can speak for Crucial working well with a machine that's 2 years older than yours.
    http://www.amazon.com/Crucial-2-5-Inch-adapter-Internal-CT960M500SSD1/dp/B00BQ8R GL6/ref=sr_1_1?ie=UTF8&qid=1389993377&sr=8-1&keywords=crucial+1tb+ssd

  • What are the basic .jar files to be set in web dynpro project classpath

    Hi,
    I am having a problem while customizing the ESS. I used DTR, DC and imported configuration. After that, I created project from one of the DC(say ess/jp/addr). Later when I open an iView from any Web Dynpro component, I am getting lot of errors without even making any modifications.
    I closed the project and reopened it and reload & rebuilt, but it doesn't solved my problem. In my classpath settings I couldn't find any jar files except the jre_lib. Could you please let me know what are the basic jar files we have to set in classpath and where to get them from. We are using NWDS 7.0.06 version.
    Can you please let me know how to solve this or any other way to work around this.
    It's an urgent to be fixed as early as possible, plz help me out.
    Thanks & Regards,
    Raj

    Hi Julien,
    Thanks for your reply.
    We imported the the specified SCAs in our track.
    we are getting the following errors.
    Kind Status Priority Description Resource In Folder Location
    Error The import com.sap.xss.per cannot be resolved CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 18
    Error com.sap.pcuigp cannot be resolved (or is not a valid type) for the argument fpm of the method loadConfiguration CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 113
    Error com.sap.pcuigp cannot be resolved (or is not a valid return type) for the method getNextPerspective CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 127
    Error com.sap.pcuigp cannot be resolved (or is not a valid type) for the argument currentPerspective of the method getNextPerspective CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 127
    Error com.sap.pcuigp cannot be resolved (or is not a valid return type) for the method getCAPState CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 137
    Error com.sap.pcuigp cannot be resolved (or is not a valid type) for the argument perspective of the method getCAPState CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 137
    we manually set below .jar files in classpath settings.
    pcuixssfpm.jar
    pcuixssutils.jar
    logging.jar
    essper.jar
    Is there any alternative to work around.
    Thanks & Regards,
    Raj

  • I have a early 2008 Macbook Pro, need to up grade the hard drive so that I can add a windows environment what is the largest drive that I can put in this computer? Is the storage size the constraint or the physical size of the drive? Or a combination?

    I have a early 2008 Macbook Pro, need to up grade the hard drive so that I can add a windows environment what is the largest drive that I can put in this computer? Is the storage size the constraint or the physical size of the drive? Or a combination?

    The largest capacity HDD that you can install is the HGST 1.5 TB HDD:
    http://eshop.macsales.com/item/HGST/0J28001/
    Any 2.5" 9.5mm thick SATA HDD will fit and operate in your MBP, regardless of capacity.
    Ciao.
    Message was edited by: OGELTHORPE

  • What is the safest duplicate file cleaner for macbook pro?

    What is the safest duplicate file cleaner for macbook pro?

    Welcome to the Apple Support Communities
    First, use speech recognition. It's installed on OS X, so you don't have to install a third-party app. See > http://support.apple.com/kb/PH11258?viewlocale=en_US

  • What is the largest hard drive 15-inch macbook pro late 2008

    I have a 300gig one but it's nearly full with stuff that isn't great being somewhere else (aperture library, iPhoto library, apps).
    What's the largest internal hard drive I can instal on my 15-inch MacBook Pro (late 2008)?

    1.0TB.
    http://eshop.macsales.com/

  • A question about /usr/include/sys/select.h header file

    good day! i hope i can get some help about this and i would be very grateful if my question will be answered. i have a question regarding the select.h header file that we include in our programs when we use the select(3C) function.
    * Select uses bit masks of file descriptors in longs.
    * These macros manipulate such bit fields.
    * FD_SETSIZE may be defined by the user, but the
    * default here should be >= NOFILE (param.h).
    29 #ifndef FD_SETSIZE
    30 #define FD_SETSIZE 1024
    31 #endif
    its says here in the header file that the value of FD_SETSIZE may be defined by the user and i need to know how. i've already tried declaring a constant at the beggining of the program but it didn't work...
    example:
    #undef FD_SETSIZE
    #define FD_SETSIZE 2048
    the FD_SET macro generates an error if a value larger than 1024 is passed from in the first argument. i need to increase its value in order for me to wait for more than 1024 socket descriptors on select function. how can i increase or modify its value? thanks in advance...

    AFAIK, the only way to change the FD_SETSIZE value is by building your own version of the libc.a and linking it statically to your executable. Not good at all IMHO.
    The sources of Solaris 8 contain the implementation of select(3C) with both standard and 'large' (64K) FD_SETSIZE.
    AFAIK, 64-bit version of the libc.so contains the 64K-descriptors version of the select(3C), so you may consider building your application with -xarch=v9 flag to get 64-bit application...
    As for poll(2) - there is a manual page (man -s 2 poll) and some notes in the Answerbook. poll(2) is the actual system call that is used by select(3C), which is an interface function, so there is no functional difference between these two.
    There is a potential problem with portability of your code if you are using poll(), but it looks like you have no choice... sorry about it...

  • A questions about /usr/include/sys/select.h header file

    good day! i hope i can get some help about this and i would be very grateful if my question will be answered. i have a question regarding the select.h header file that we include in our programs when we use the select(3C) function.
    * Select uses bit masks of file descriptors in longs.
    * These macros manipulate such bit fields.
    * FD_SETSIZE may be defined by the user, but the
    * default here should be >= NOFILE (param.h).
    29 #ifndef FD_SETSIZE
    30 #define FD_SETSIZE 1024
    31 #endif
    its says here in the header file that the value of FD_SETSIZE may be defined by the user and i need to know how. i've already tried declaring a constant at the beggining of the program but it didn't work...
    example:
    #undef FD_SETSIZE
    #define FD_SETSIZE 2048
    the FD_SET macro generates an error if a value larger than 1024 is passed from in the first argument. i need to increase its value in order for me to wait for more than 1024 socket descriptors on select function. how can i increase or modify its value? thanks in advance...

    AFAIK, the only way to change the FD_SETSIZE value is by building your own version of the libc.a and linking it statically to your executable. Not good at all IMHO.
    The sources of Solaris 8 contain the implementation of select(3C) with both standard and 'large' (64K) FD_SETSIZE.
    AFAIK, 64-bit version of the libc.so contains the 64K-descriptors version of the select(3C), so you may consider building your application with -xarch=v9 flag to get 64-bit application...
    As for poll(2) - there is a manual page (man -s 2 poll) and some notes in the Answerbook. poll(2) is the actual system call that is used by select(3C), which is an interface function, so there is no functional difference between these two.
    There is a potential problem with portability of your code if you are using poll(), but it looks like you have no choice... sorry about it...

  • What is the list of file prefixes that make a file appear first in the finder?

    Hi!
    I was just curious :
    What is the list of file prefixes that make a file appear first in the finder?
    For example, files and folders whose names start with "A" will appear before files whose names start with "B",
    but what about a list of characters for files and folders before the letter "A"?
    I'm doing some file organisation, and I need certain things to appear at the top of the list.
    I have noticed that the character-prefixes "0" and "(" seem to make things appear before "A"
    I would like a complete list if there is one available.
    Thank you!

    Pretty much any number or a space character. Punctuation does too, in theory, but I'd advise to limit it to hyphens and underscores. Periods are OK in the middle of file names but you won't be able to start a file name with one at the Finder level since that would actually hide the file.
    Matt

  • What does the HSTS.plist file in the Cookies folder in /Library ?

    What does the HSTS.plist file in the Cookies folder in /Library ?
    If I open it in TextEdit it is filled with sites I never have visited.
    Does anybody know where this file is used for ?
    Thanks

    I also have this file in the same folder in the same location with two other 'documents' called:
    1. com.apple.appstore.cookies
    2. Cookies.binarycookies
    Document type shows as 'OOPlistDocumentType'.
    Yes lots of website addresses and at least one known spam tel number. The top line of the text when opened by TexEdit is as follows:
    bplist00“   ∑_ )com.apple.CFNetwork.defaultStorageSession_ !hstsd Disk Storage Schema Versionfl ±    
    This is a bit of a worry ........

Maybe you are looking for