/usr/include header library

Hi,
In Solaris 5.6, header files such as time.h and setjmp.h can be found in the /usr/include directory. I have an application running on 5.7 that tries to link to these header files. However, they are not located here on the box in question. I'd like to know if this is normal. I suspect that there may be some sort of option in the Solaris install that allows you to omit the files.
I would be very greatfull for any help.
Chris

Chris,
Files time.h and setjmp.h on 2.7 are in same directory. While installing Solaris what option you have selected? If you do deafult installation it will do only end user
support . Please do custom installation and choose option entire distribution.
Please check on same. Hope this helps you.
Thanks,
Santosh

Similar Messages

  • What package contains /usr/include header files?

    (Sorry for the x-post; put it in the wrong place originally.)
    I'm trying to find out which package contains the header files located in /usr/include/. I'm trying to compile some stuff and these headers aren't found. Any ideas? This is Solaris 10 x86 8/07.

    Alan, thanks for the reply -- I've sorted it out.
    I was looking for the "standard" headers in /usr/include/ such as stdio.h, sys/stat.h, to name a few. Found them in the SUNWhea package.

  • 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'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)

  • Getting syntax error in /usr/include/sys/ header files during Compilation

    Hi,
    I am migrating old PRO C code from Oracle 8 + Solaris 8 to Oracle 10 + Solaris 10 environment. While compiling the code it is giving error :*
    Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
    Error at line 69, column 2 in file /usr/include/sys/uio.h
    lloff_t uiooffset; /* file offset */
    .1
    PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
    g:
    } char, const, double, enum, float, int, long, ulong_varchar,
    OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
    OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
    OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
    struct, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name,
    The symbol "enum," was substituted for "lloff_t" to continue.
    Any guess why this is happening?

    Hi,
    Try using the PARSE=PARTIAL USERID=user/password[@SID] SQLCHECK=SEMANTICS precompiler options.
    All your hosts variables must be declared inside a Declare section.
    Reference: Pro C/C++ Programmers Guide, chapter 5
    Reguards,
    Rene Rivet

  • /usr/include/libxml2/libxml ???

    I'm trying to compile a little contrib package in postgresql and I found something strange.
    The package requires libxml2 headers to compile. Default installation path for arch libxml2 package is under /usr/include/libxml2/libxml.
    Application tries to include (for example) libxml/xpath.h and it fails to find the file. Of course I can change it to libxml2/libxml/xpath.h, but then in xpath.h there is "#include <libxml/xmlversion.h>" which (of course :-)) fails again.
    I made a link /usr/include/libxml which points to /usr/include/libxml2/libxml and then I can compile the application without errors.
    Now, I don't know much about libxml2 and I'm just not sure if the default config is ok or is it a bug?
    Should the libxml2 package make a link mentioned above during installation or it needs recompiling with other options? Or....
    Any ideas?

    Patching the source package will not solve the problem. Only changing libxml2 package or making a symbolic link from /usr/lib/libxml to /usr/lib/libxml2/libxml (workaround) will work. And the package needs libxml2 not v1
    Prerequisite:
    pgxml_dom.c:
    libxml2 (http://xmlsoft.org)
    It compiles fine with a link. I think the problem is within libxml2 package but I'm not 100% sure since I couldn't find anybody complaining about these paths when making other packages which depend on libxml2 (or I just poorly searched).
    I did take a look at libxml2 pkgbuild and sources. It's quite standard. No special options (I think). The library orignally has a directory /include/libxml and it gets installed in /usr/include/libxml2/libxml. And that's the problem. Some of the libxml2 header files are referencing to other libxml2 header files. For example xpath.h wants to include libxml/xmlerror.h that of course can't be found.
    Now, there are several options:
    1. Adding a link creation command to libxml2 package build function.
    2. Forcing the installation directory for include files to /usr/lib/libxml (no other subdirs inside and forgetting about /usr/lib/lixml2)
    3. Patching libxml2 header files (and maybe some other files too) to fully conform arch standards. This is the hardest way because it may require a lot of other things to be done for all dependent packages etc. This could also be done in two ways: change libxml/something.h to libxml2/libxml/something.h or (to make it perfect) libxml2/something.h
    4. Other options that didn't come to my mind :-)
    Did anybody else has problems with paths when building some package that depends on libxml2 ? I think I should report a bug for arch libxml2 package (or to libxml team if this is just error in makefiles etc, or both) but I'm trying to make sure I'm right before I do this.

  • Having trouble with including JNI library in netbeans

    [Sorry a newbie question - I am more used to writing large amounts of Solaris kernel and writing a JNI for the first time]
    Guys,
    I have a C library that needs to hook into the Java bean. I created a JNI library wrapper around the C library using swig/javah
    and that went fine (using some of the examples/ref in this forum). The JNI library contains classes like SysInfoJNI created
    by swig.
    class SysInfoJNI {
    public final static native int NAME_LEN_get();
    public final static native int NAME_LEN_set();
    I quickly wrote a standalone test program where I did
    public class test {
    // Load JNI Library
    static {
    System.loadLibrary("SysInfo");
    public static void main(String[] args) {
    SysInfoJNI siJNI = new SysInfoJNI();
    I can compile and run this on command line doing
    javac *.java
    java -Djava.library.path=./ Sysinfotest
    and it all works fine. Now I move this code to netbeans since I need to add some more code
    and create a java->web project and pretty much transfer the code there. I add the libSysinfo.so
    using the property->library->create option but netbeans still can't see the symbols coming
    out of Sysinfo JNI library. I suspect it wants the class definitions. My question is how do I
    supply that? swig didn't really crate a header file but it did create Sysinfo.java file. Do I
    just copy Sysinfo.java in the src directory (ugly?) or is there a convention of keeping the
    *.java files in some standard place (like /usr/include for C headers) and then what would be
    the method to include SysInfo.java to my netbeans src so that symbols can be found.
    Thanks,
    Sunay

    OK, seems like I had some kind of mismatch between the library & classes.
    The loadLibrary only had the name and I had the library in /usr/lib. After running
    truss -f -t open /usr/tomcat6/bin/startup.sh >& tomcat.out
    I could see the tomcat was finding the library but still reporting link error.
    Recompiling the library and classes again and then placing the library
    in /usr/lib and classes in the right directory resolved the issue.
    So I guess the answer to my original question is that classes need to
    be delivered as a jar along with the rest of the distribution while the
    library can be delivered in /usr/lib as part of the system.
    Appreciate the help and quick responses.
    Sunay

  • How to include header files from different directories?

    Hi,
    Sorry for the newb question, but I can't figure this out. I'm trying to compile a simple piece of code (C++) that uses header files in a directory different from the Project directory; header files are in /opt/csw/postgresql/include/pqxx. I've tried a few different things, adding that directory to the include directives under Resource Files, add existing files from a folder, etc etc. Whenever I try to build, dmake bails with status -1. I can't seem to get this working, can someone explain how to use header files from different directories?
    Thanks,
    SlowToady

    Header files are usually specified relative to a base directory. If the base directory is not a system directory -- /usr/include or the compiler installation directory -- add a command-line directive
    -I path/to/base/dirfor each such directory.
    The path can be absolute, such as
    -i /opt/csw/postgresql/includeor relative, such as
    -I ../../my/includeIn your source code, specify the header file relative to the base directory, and be sure to use quotes, not angle brackets. Example:
    #include "header.h"  // right
    #include <header.h>  // wrongThe angle brackets are used for system headers, like <iostream> or <stdlib.h>.
    The rules above are common to all compilers on Unix and Linux, and generally to all C and C++ compilers.
    For more details, read about the -I option in the C++ Users Guide. You can find the guide by pointing your browser to the "docs" directory in the compiler installation, or go here:
    http://docs.sun.com/app/docs/doc/819-5267
    All command-line options are described in Appendix A.

  • Including Header files

    Hi
    Am a mainframe guy and new to these stuffs.
    Now ,I want to compile a C++ program in Sunstudio.
    My question is how & where to add the header files ?
    What is the extension to be used for the header files ?
    Please someone help me in this regard.

    [I had replied to this yesterday but it didn't appear to show up in the thread]
    The header file is added to the 'Header files' in the same project For Sun Studio, I am pretty sure that the header files listed in the project
    is not used by the compiler to find the header files.
    That list of header files is merely a convience for the programmer
    as a reference and to quickly find and open header files used in the project.
    You need to tell the IDE which directories to search for header files
    (that are not standard header files)
    I am presuming that the header file(s) the compiler is complaining about is not a standard library header file,
    but instead is a header file associated with the source code you are compiling or are associated with
    a 3rd party library required by the program.
    The #include semantics, as ralphw mentioned, can be a little complex.
    As a quick follow up to ralphw's response
    generally #includes of the form
    #include "foo.h"
    indicates that the header file is in the same directory as your project source files.
    Normally the compiler can find this file with some simple seach heuristics so
    I suspect the offending include line is of the form:
    #include <foo.h>
    The <> brackets indicates that the header file is in a directory to be specified
    in one of the listed include directories.
    Include directories may be intrinsic to the compiler implementation
    such as standard libraries and/or libraries added by the compiler vendor;
    or they may be header files for 3rd party libraries or your own libraries
    stored in some directory other than the application program you are compiling.
    For 3rd party libraries or your own libraries, provide a list of
    directories to seach for included header files.
    for command line mode, in almost all c/c++ compilers these directories are listed with
    the -I command line argument.
    In SunStudio 12, you list the include directories in
    your project properties / Parse configuration / Sun C++ compiler / General / Preprocessor definitions
    If you have further questions on this, it would be helpful to know
    if you are attempting to compile some preexisting code
    or are you creating code from scratch.
    (It sounds like you are compiling preexisting code that
    presumably has been compiled correctly in some other implementation
    and are trying to port it to Sun Studio.
    If this is the case, it sounds like you simply need to add the
    path of the directory containing the offending header file to
    this list of include directories.)
    It would also be helpful to know the fully qualified
    file name of the offending .h file,
    and the form of the #include line in the file that is being compiled.
    If the #include line is of the form
    #include <dir/foo.h> then you need to add the
    path of the 'dir' parent directory to the include directories list.

  • /usr/include liberaries

    Hello everyone,
    Can someone assist me on where can I get Solaris 10 system liberaries. I had installed the OS , but /usr/include doesn't contains all the libraries required by studio10 compiler. How can manually install it? Please help me asap.
    Thanks.

    now.. /usr/lib is the place where you are expected to find your libraries, the /usr/include contians the include files, at least according to the terms i learned..
    Certain freeware libraries might also install under /usr/sfw/lib.
    Having said that, when you install Solaris 10 it gives you an few options, depending on which options you choose you will get different amount of packages.. If you want everything you should install the "Entire Distrubution" onto your system.
    In order to install libraries after the installation you need to know which package they are in, if Sun Studio 10 is at all helpful it should tell you which packages you need, othervise you can always grep for the library in the Packages/*/pkginfo files on your CDs.
    If you have access to another Solaris 10 system you can use pkginfo to determine which package a file belongs to, or you could do a grep "<file>" /var/sadm/install/contents .
    //Magnus

  • /usr/include missing key ingredients

    On my resale SunUltra running (Solaris 8 4/01 s28s_u4wos_08 SPARC), I'm missing crutial header files such as stdio.h.
    Loading in my sun c/c++ compilers didn't cure the problem.
    Anyone with an explaination (or remedy) please shout.
    [email protected]

    #grep stdio.h /var/sadm/install/contents
    /usr/include/stdio.h f none 0644 root bin 11066 35657 947110182 SUNWhea
    SUNWhea is on CD 2 of 2. The Sol 8 Installation should have asked you to insert CD 2 of 2 unless you only installed Core or End User software cluster. If you selected Developer, Entire, or Entire + OEM then it looks like you have an incomplete installation.

  • Is there a way to use a namespace, such as "Library", and have a program with a different namespace include the Library namespace?

    For many years, I have maintained a library of often used functions for C++.  This has become more challenging with the required namespace for C#. 
    Is there a way to use a namespace, such as "Library", and have a program with a different namespace include the Library namespace?
    bhs67

    You could create a class X in a namspace Y in a C# class library project. You can then add a reference to this class library project/assembly from every application in which you intend to use the class X in namespace Y.
    You don't add references to namespace, you add references to assemblies in .NET. You can then use a class in namespace Y of any referenced assembly by adding a using directive at the top of the code file in which you reference the class:
    using Y;
    Please remember to close your threads by marking helpful posts as answer.

  • "Include Header Row in Subsequent Pages" is not working for table

    Hi,
    I'm using version 8.1.2.3337.1.509884.
    The pagnation feature "Include Header Row in Subsequent Pages" is not working for any table in my design. ( the check-box can not be checked no matter how many times I clicking it)
    I put such table already in a flow bodypage.
    Any similar issue reported?
    Any suggestions?
    Thanks.
    -Vicky

    Hi Raghu,
    Appologies that I uploaded a wrong version of xdp file yesterday.
    Here is the correct one.
    https://acrobat.com/#d=jr0XffvBZWXd0cVhL0OQ3A
    I totally understand that I have to check the checkbox "Include Header Row in Subsequent Pages".
    My problem is that, although I can see that checkbox, and it's not grey-out, I can not tick it. See below screenshot, with the red-cycle mark.
    You can try with above file.
    Just wondering why such weird behavior happened.
    -Vicky

  • Resize JTable that doesn't include header

    hi all
    I want to insert the table that is not include header and want to allow the user to resize the column
    thanx

    You already asked the same question in this [url http://forum.java.sun.com/thread.jsp?forum=57&thread=526540]post.
    Don't clutter the forum by asking the same question over and over again. You won't get an answer faster.

  • Kernel-headers: /usr/include/linux/ivtv.h exists in filesystem

    can't update kernelheaders caus that file exist issue!
    kernel-headers: /usr/include/linux/ivtv.h exists in filesystem

    Find out which package it belongs to (pacman will do this for you), then report it on the bugtracker, if it hasn't already been reported.

Maybe you are looking for

  • Error in phase: ADD_TO_BUFFER in SPAM during import of SAPKB70017 and 18

    Hello What is problem in this case? During import of SAPKB70017 and SAPKB70018 I get following error(there is no SLOG file in /usr/sap/trans/log): The import was stopped, since an error occurred during the phase ADD_TO_BUFFER, which the Support Packa

  • How do I add validation to a system-generated Selection Screen?

    As HR ABAPers know, using the Logical Database approach (I'm using PNPCE) gives you a system-generated Selection Screen.  Part of the specs I have for this report involves making sure that the begin and end dates for the period selected are for a two

  • Printing of return delivery of multiple line items

    Dear All, I have a requirment to print return delivery material document with multiple line items of a PO. I tried with collectve slip in MIGO. but still line item will come in different pages. Message details are maintained for all line items. Print

  • Changed Plan to Freedom Essentials But Charges Are Much More

    Hi everyone.  I have been a loyal Verizon customer for 10+ years now, but have recently started to run into problems when changing my plan After setting up the switch, I was told my Verizon Freedom Essentials Plan would cost me $54.99 (not including

  • Add approver/ reviewer-data not coming up.

    Hi All One more question-we are in SRM4.0 We managed to enable the add approver and add reviewer tabs under approval. Now when we try to add approver or reviewer the system does not fetch any data. Do we need to maintain a separate table of approvers