Occi problems while compiling in linux

hi guys
i've been trying to compile the occi programming examples but i always get the following error.
/tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.(void)+0x18): In function `occipool::occipool(void)':
: undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void *, void *(*)(void *, unsigned int), void *(*)(void *, void *, unsigned int), void (*)(void *, void *))'
/tmp/ccNNJ2Rg.o(.gnu.linkonce.t._._8occipool+0x15): In function `occipool::~occipool(void)':
: undefined reference to `oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment *)'
/tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x497): In function `occipool::select(void)':
: undefined reference to `oracle::occi::SQLException type_info function'
/tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x4c8): In function `occipool::select(void)':
: undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const &)'
/tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x513): In function `occipool::select(void)':
: undefined reference to `oracle::occi::SQLException::getErrorCode(void) const'
/tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x55c): In function `occipool::select(void)':
: undefined reference to `oracle::occi::SQLException::getMessage(void) const'
/tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x5b2): In function `occipool::select(void)':
: undefined reference to `oracle::occi::SQLException::~SQLException(void)'
/tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x60d): In function `occipool::select(void)':
: undefined reference to `oracle::occi::SQLException::~SQLException(void)'
collect2: ld returned 1 exit status
i tried following the instructions in this forum about installing gcc 2.95.3. since i was using 3.2.2. I installed gcc ok but i still get the same problem. i think its something to do with the shared libraries or include paths but i cannt figure how. any help will be appreciated. am running redhat 9.0 and oracle 9 rs 2.
regards solomon

Hi all.
I've same problems. I try to download and install 2.95.3 from http://gcc.gnu.org/releases.html (since there isn't any refercence to 2.96!) but the problems persist again.
So I tryed to analyze the library with 'nm -CD $ORACLE_HOME/lib/libocci' and I saw there isn't no exported symbols, then I rebuild it with the object files found in $ORACLE_HOME/lib/libocci9.a' and now the library exports all function oracle::... but when I try to recompile the example demo/occidml I get the error
/opt/gcc2.95/bin/g++ -o occidml -I. I/opt/oracle/oracle92/rdbms/public -L/opt/oracle/oracle92/lib -L/opta/oracle/oracle92/rdbms/lib -locci -lclntsh 'cat $ORACLE_HOMElib/sysliblist' occidml.cpp
/opt/oracle/oracle92/lib/libocci.so: undefined reference to '__ctype-toupper'
collect2: ld returned 1 exit status
WHERE I CAN DOWNLOAD THE gcc2.96????

Similar Messages

  • Case-Sensitive problem while compiling in Linux

    Hi All,
    We have around 100 forms developed in windows platform. The forms use program units from plls. Compiling against windows do not have any problem. But when they are compiled in linux environment, we get error like frm-18108: unable to load form objects.
    Also the program units of the pll's are not referred correctly, since the declaration is in upper case and the calling in the other forms is in other cases.
    Is there any way to by-pass this case-sensitive problem, other than making them even in case, in the forms and libraries.
    Thanks
    Gopal

    Hi Francois,
    I had already tried with having all combinations of file name but still I am getting
    error
    "Compilation error on procedure CG$KEY_STARTUP:
    PL/SQL ERROR 201 at line 9, column 1
    identifier 'SET_MDI_TITLE' must be declared
    PL/SQL ERROR 0 at line 9, column 1
    Statement ignored".
    The set_mdi_title PU is defined in PLL and the library is attached to the form. When I compile the form using f90gen, I am getting the above error.
    Please suggest.
    Thanks Gopal

  • K9copy - kdelibs problem while compiling

    hello!
    got the PKGBUILD from the aur.
    http://aur.archlinux.org/packages/k9cop … y/PKGBUILD
    while compiling i had this problem:
    checking if UIC has KDE plugins available... no
    configure: error: you need to install kdelibs first.
    make: *** No targets specified and no makefile found. Stop.
    i have installed all depencies of k9copy (newest versions)!
    anyone has an idea?
    thx for any help!

    user5606182 wrote:
    How to identify which is causing?
    Login as DMTAPPS and issue
    SELECT  *
      FROM  USER_ERRORS
      WHERE NAME = 'DMT_UTILITY_PKG';Or select from all_errors/dba_errors:
    SELECT  *
      FROM  USER_ERRORS
      WHERE OWNER = 'DMTAPPS'
        AND NAME = 'DMT_UTILITY_PKG';SY.

  • Problem while compiling the Device Driver source code onSolaris 8 intel pla

    Hello!
    We are writing Device Driver for PCI (PMC) based HS serial
    communication card on Solaris 8(intel edition).The Processor
    used is Celeron/Pentium III.
    We are facing following problems.
    1) Kindly let us know the cc compiler options for xarch=isa.
    2) Presently we have included following header files.
         #include <sys/ddi.h>
         #include <sys/sunddi.h>
    3)We tried to compile our driver soure file (pmc.c) using
    FORTE DEVELOPER 6 UPDATE 1 with the following command.
         # cc -Xa -D_KERNEL -c pmc.c
    4) The compiler is not able to reach to our source code. It prematurely fails
    while compiling the system header files
    5) The errors were reported during Preprocessor
    compilation in /SYS/*.h header files.
    cc: Warning: using -Xa, ignoring all other -X options
    "/usr/include/iso/limits_iso.h", line 54: warning: macro redefined: SHRT_MIN
    "/usr/include/iso/limits_iso.h", line 56: warning: macro redefined: USHRT_MAX
    "/usr/include/iso/limits_iso.h", line 59: warning: macro redefined: UINT_MAX
    "/usr/include/sys/vnode.h", line 486: syntax error before or at: rlim64_t
    "/usr/include/sys/vnode.h", line 486: warning: undefined or missing type for: rlim64_t
    "/usr/include/sys/vnode.h", line 487: warning: undefined or missing type for: cred_t
    "/usr/include/sys/vnode.h", line 487: warning: undefined or missing type for: ssize_t
    "/usr/include/vm/page.h", line 468: undefined or not a type: pgcnt_t
    6)Kindly let us know :-
    a) if any Environment variables to be set.
    b) What all the system include headre files are required & in what sequence if any.
    Expecting a early reply .
    Can anybody help us.
    Thanking you for your kind co-operation.
    A.P.SINGH
    INDIA               

    Try to use cc comiler from /opt/SUNWspro/bin/ like
    /opt/SUNWspro/bin/cc -Xa -D_KERNEL -c pmc.c

  • Problem while compiling 'dll' files in Form Server..Urgent

    Hi!
    I'm trying to compile the library(dll) in form server and getting a message that "can not open that file".At the same time able to compile 'fmb' files which is in the same directory.
    Could you please help me?
    Thank you,
    Denish

    I am also working on Forte. Forte has an inbuilt Tomcat. You dont need to copy any files to any where in the file mount system. You need to specify the External / Internal Browser settings, So that when you try to execute it, the .jsp file can be displayed in the browser. I havent faced any problem as you said.
    Uma
    http://www.javagalaxy.com

  • Problem while compiling Servlet

    M using Tomcat.
    Environment variables :
    Variable :::::::::::::::: Values
    %TOMCAT_HOME% ::::::::::: C:\Tomcat\bin
    CLASSPATH :::::::::::::::: .;C:\jdk 1.4.2\lib;C:\jsdk2.1 \servlet.jar;C:\Tomcat\lib\servlet.jar;
    PATH ::::::::::::::::::::: ;C:\jdk 1.4.2\bin
    JAVA_HOME :::::::::::::::: C:\jdk 1.4.2
    Now problem is that When m trying to compile GreetingServlet.java
    problems are:::
    GreetingServlet.java:31: cannot resolve symbol
    symbol : method Println (java.lang.String)
    location: class java.io.PrintWriter
    out .Println("<BODY>");
    ^
    GreetingServlet.java:32: cannot resolve symbol
    symbol : method Println (java.lang.String)
    location: class java.io.PrintWriter
    out .Println("<p>"+message +","+name+"</p>");
    ^
    GreetingServlet.java:33: cannot resolve symbol
    symbol : method Println (java.lang.String)
    location: class java.io.PrintWriter
    out .Println("<p> Thanks ("+email+")</p>");
    ^
    GreetingServlet.java:34: cannot resolve symbol
    symbol : method Println (java.lang.String)
    location: class java.io.PrintWriter
    out .Println("<p> -The Pro Java Team.</p>");
    ^
    GreetingServlet.java:35: cannot resolve symbol
    symbol : method Println (java.lang.String)
    location: class java.io.PrintWriter
    out .Println("</BODY>");
    ^
    GreetingServlet.java:36: cannot resolve symbol
    symbol : method Println (java.lang.String)
    location: class java.io.PrintWriter
    out .Println("</HTML>");
    ^
    Source Code:
    import javax.servlet.* ;
    import javax.servlet.http.* ;
    import java.io.* ;
    import java.util.* ;
    public class GreetingServlet extends HttpServlet{
    protected void doPost (HttpServletRequest request,
                   HttpServletResponse response)
                        throws ServletException, IOException {
         String name = request.getParameter ("name");
         String email = request.getParameter ("email");
         String message = null;
         GregorianCalendar calendar = new GregorianCalendar();
         if (calendar.get(Calendar.AM_PM) == Calendar.AM) {
              message =" Good Morning";
         else {
              message = " Good Afternoon";
         response.setContentType("text/html");
         PrintWriter out = response.getWriter();
         out .println("<HTML>");
         out .Println("<BODY>");
         out .Println("<p>"+message +","+name+"</p>");
         out .Println("<p> Thanks ("+email+")</p>");
         out .Println("<p> -The Pro Java Team.</p>");
         out .Println("</BODY>");
         out .Println("</HTML>");
         out .close();
    Thanks in Advance
    Please its an urjent.
    Hoping to get the solution soon from cream like you in Programming.

    hi
    it could be you have caps P.
    try:
    "println" instead of "Println".

  • Problem while compiling JSP in FORTE

    Hello Friends,
    I am using Fore for Java 4 Community Edition, I have created a web module. I am using internal tomcat 4.0 server. When I request for a JSP which has a bean or a class file stored in the WEB-INF\classes folder either using useBean tag or if try to create an object of that class, I get compilation error as forte is not including those classes in its classpath. But when I deploy the same application on external tomcat, it works fine. Even after I mount the classes folder in the project, it doesn't solve the purpose. Please help me to get rid of this problem. My directory structure is as follows.
    root - jsp and html files
    root\WEB-INF\web.xml
    root\WEB-INF\classes - all class files
    root\WEB-INF\lib - lib jars

    I am also working on Forte. Forte has an inbuilt Tomcat. You dont need to copy any files to any where in the file mount system. You need to specify the External / Internal Browser settings, So that when you try to execute it, the .jsp file can be displayed in the browser. I havent faced any problem as you said.
    Uma
    http://www.javagalaxy.com

  • Problem while compile ffdshow

    Hi dears:
       While I compile the project ffdshow which downloaded from the www.SourceForge.net, I receive the message like that:
    Assembling .\src\xvid\image\x86_asm\yv12_to_yuyv_mmx.asm
    Invalid keyboard code specified
    nasm: fatal: unable to open input file `.\src\xvid\image\x86_asm\yv12_to_yuyv_mmx.asm'
    Error executing c:\windows\system32\cmd.exe.
    ffdshow.ax - 1 error(s), 0 warning(s)
    I don't know how to solve it , could anyone tell me why? and the address of this project is http://heanet.dl.sourceforge.net/sourceforge/ffdshow/ffdshow-20020617-src.zip, I use vc 6.0 in winxp.
    Thanks.
                                                                                                                                   yicship
    Message Edited by yicship on 07-22-2005 12:38 AM
    Message Edited by yicship on 07-22-2005 12:40 AM

    Yicship,
    Are you attempting to use this project in Measurement Studio?  This discussion forum is for National Instrument's Measurement Studio applications.  If you are having trouble with this project, I suggest you search for information on SourceForge.Net.  You may get better results posting on a general purpose Visual Studio forum.
    Regards,
    Tyler T.

  • Problems while compiling a project that uses Database Adapter

    Hi,
    I am working on a small WebService that uses the Database Adapter to connect with the Oracle-Lite database. The process is a synchronous process which has client and DatabaseService as the partner link. The goal of this project is to get two inputs from the user and send it over to the DatabaseService for it to select the rows from the table based on the inputs sent. The process activity has an invoke function which had two varibles Invoke_1_inputVarible and Invoke_1_outputVarible. I have included the *.xds that contains the database schema. When I compile the project i get the following error
    Error(38): [Error ORABPEL-10035]: wrong messageType [Description]: in line 38 of "D:\OraBPELPM_2\integration\jdev\jdev\mywork\Workspace1\Login\Login.bpel", messageType "{http://xmlns.oracle.com/pcbpel/adapter/db/ds/}EmployeeRole_msg" of variable "Invoke_1_dsSelect_InputVariable" does not match the expected messageType "{http://xmlns.oracle.com/pcbpel/adapter/db/ds/}dsSelect_inparameters" in <invoke>. [Potential fix]: make sure the correct variable is used in invoke.
    My question is how do I assign correct messageType for the variables.
    XSD File:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Login" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/Login" elementFormDefault="unqualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="EmployeeRoleCollection" type="EmployeeRoleCollection"/>
    <xs:element name="EmployeeRole" type="EmployeeRole"/>
    <xs:complexType name="EmployeeRoleCollection">
    <xs:sequence>
    <xs:element name="EmployeeRole" type="EmployeeRole" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EmployeeRole">
    <xs:sequence>
    <xs:element name="empid" type="xs:decimal" minOccurs="0" nillable="true"/>
    <xs:element name="password" type="xs:string" minOccurs="0" nillable="true"/>
    <xs:element name="role" type="xs:string" minOccurs="0" nillable="true"/>
    <xs:element name="uid" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="findAllInputParameters" type="findAll"/>
    <xs:complexType name="findAll">
    <xs:sequence/>
    </xs:complexType>
    <xs:element name="dsSelectInputParameters" type="dsSelect"/>
    <xs:complexType name="dsSelect">
    <xs:sequence/>
    </xs:complexType>
    </xs:schema>
    DatabaseService.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Login"
    schemaLocation="EmployeeRole_table.xsd"/>
    </schema>
    </types>
    <message name="EmployeeRoleCollection_msg">
    <part name="EmployeeRoleCollection" element="top:EmployeeRoleCollection"/>
    </message>
    <message name="dsSelect_inparameters">
    <part name="dsSelect_inparameters" element="top:dsSelectInputParameters"/>
    </message>
    <message name="EmployeeRole_msg">
    <part name="EmployeeRole" element="top:EmployeeRole"/>
    </message>
    <portType name="ds_ptt">
    <operation name="dsSelect">
    <input message="tns:dsSelect_inparameters"/>
    <output message="tns:EmployeeRoleCollection_msg"/>
    </operation>
    <operation name="queryByExample">
    <input message="tns:EmployeeRole_msg"/>
    <output message="tns:EmployeeRoleCollection_msg"/>
    </operation>
    </portType>
    <binding name="ds_binding" type="tns:ds_ptt">
    </binding>
    <service name="ds">
    <port name="ds_pt" binding="tns:ds_binding">
    <jca:address location="eis/DB/BPELSamples"
    />
    </port>
    </service>
    </definitions>
    <b>Login.bpel</b>
    <process name="Login" targetNamespace="http://xmlns.oracle.com/Login" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/ds/" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/top/Login" xmlns:client="http://xmlns.oracle.com/Login" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="client:Login" myRole="LoginProvider"/>
    <partnerLink name="PartnerLink_1" partnerRole="ds_role" partnerLinkType="ns1:ds_plt"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable" messageType="client:LoginRequestMessage"/>
    <variable name="outputVariable" messageType="client:LoginResponseMessage"/>
    <variable name="Invoke_1_dsSelect_InputVariable" messageType="ns1:EmployeeRole_msg"/>
    <variable name="Invoke_1_dsSelect_OutputVariable" messageType="ns1:EmployeeRoleCollection_msg"/>
    </variables>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="client" portType="client:Login" operation="process" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"/>
    <to variable="Invoke_1_dsSelect_InputVariable" query="/ns2:EmployeeRole"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="PartnerLink_1" portType="ns1:ds_ptt" operation="dsSelect" inputVariable="Invoke_1_dsSelect_InputVariable" outputVariable="Invoke_1_dsSelect_OutputVariable"/>
    <assign name="Assign_2">
    <copy>
    <from variable="Invoke_1_dsSelect_OutputVariable" part="EmployeeRoleCollection"/>
    <to variable="outputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="client" portType="client:Login" operation="process" variable="outputVariable"/>
    </sequence>
    </process>
    Thanks,
    Niv

    Help! SOS....
    Niv

  • Unchecked problem while compiling

    When compiling, I get a non-fatal warning, 'unchecked', what ever that means. It is the command flag Xlint-unchecked or something.
    The code is a static hashtable which I am statically putting elements into:
    public static Hashtable variables = new Hashtable();
    static{
      variables.put("###",...);
      //another 30 lines or so of the same...
    }1. What does unchecked mean?
    2. Why does the Hashtable give me this warning?
    3. How can it be fixed?
    Thanks

    This all has to do with the addition of generics to Java 5. Generics allow the specification of data types in the code so that errors (for instance, placing a String value in a hashtable intended to hold Integers) can be detected at compile time rather than run time.
    You are compiling some code that doesn't specify the data type.
    Add the following to the javac option to see the details of the warning. (See the javac documentation.)
    -Xlint:unchecked
    Give more detail for unchecked conversion warnings that are mandated by the Java Language Specification.
    Refer to this for what to do to fix it:
    http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html

  • [SOLVED] Strange error while compiling packages via AUR

    I've been facing this error while compiling packages via AUR. I'm also posting the output of my /etc/makepkg.conf
    Error
    ==> Starting build()...
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether cc supports -O2... yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for GSTREAMER... yes
    checking for GSTREAMER_GTK... yes
    checking for XOpenDisplay in -lX11... yes
    checking for ncursesw5-config... /usr/bin/ncursesw5-config
    checking for initscr in -lncurses... yes
    checking whether gcc supports -Wall... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating docs/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    fatal: Not a git repository (or any of the parent directories): .git
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/yaourt-tmp-hellknight/aur-gst123/src/gst123-0.2.0/build-aux/missing --run aclocal-1.11 -Wno-portability
    sh: autom4te: command not found
    aclocal-1.11: autom4te failed with exit status: 127
    make: *** [aclocal.m4] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build gst123.
    ==> Restart building gst123 ? [y/N]
    ==> -------------------------------
    ==>
    /etc/makepkg.conf
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=amdfam10 -mtune=generic -O2 -pipe"
    CXXFLAGS="${CFLAGS}"
    LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j8"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries in STRIP_DIRS
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    OPTIONS=(strip docs libtool emptydirs zipman purge)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Directories to be searched for the strip option (if strip is specified)
    STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Last edited by tarun.hellknight (2011-04-12 15:45:26)

    That's strange... it wasn't installed.. although I had never,ever faced a problem while compiling packages via AUR.. maybe, I should be careful when uninstalling orphans.. thanks for the help..

  • Error while Compiling Stored proc

    I am having problem while compiling stored proc.It gives the following error
    "Error while trying to retrieve text for error - ORA-03113"
    I have my SQL file in which i am adding the input parameters (aroung 100 parameters). Till 53 parameters i added it created the procedure now after that i am adding the parameteres one by one but its giving the same error.
    null

    Hi Minish,
    Whatever you wrote in crontab is fine. But we can call a stored procedure from Shell Script provide the shell script must have a sql file which contain the procedure to be excuted.
    Follow the things...
    Assume that,
    1. you have file called load.sql
    it contains...
    load_data;
    2. your shell script must have this code
    . /home/nimish/.profile
    sqlplus scott/tiger@orcl_bk load.sql
    *** make sure that sql file should have executable permissions
    Good Luck
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Nimish Buch:
    I want to run a stored procedure as an end of day process. I wrote a small unix shell script to run the procedure from a sql session, similar to following.
    . /home/nimish/.profile
    sqlplus scott/tiger@orcl_bk < execute load_data;
    If I run this script manually, it runs fine. I get the following errors when I attempt to run it as a cron job.
    Message file sp1.msb not found
    I have checked sp1us.msb does exist in ORACLE_HOME/sqlplus/mesg directory. I even tried giving it's path in PATH variable.
    Any help with this will be appreciated.
    Thanks a lot.
    Nimish<HR></BLOCKQUOTE>
    null

  • Error while compile .Java to .class

    I am new in java card. I have some problem when compile java card applet.
    1. I installed j2sdk1.4.2_07 and java_card_kit- 2_2_2 to build a sample java card. I set the environment as:
    @echo off
    set JC_HOME=C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2
    set JAVA_HOME=c:\j2sdk1.4.2_07
    set PATH=.;%JC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
    I created a java applet and saved in C\STCard, and I use windows command to compile, the command is:
    c:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples>javac -g -classpath c:\STCard;..\lib\api.jar;..lib\installer.jar c:\STCard\*.java
    but the error is: "cannot access javacard.framework.APDU"
    What am I wrong?
    2. I use eclipse 3.3.2, eclipse jcde 0.1, java_card_kit-2_2_2, jdk1.6.0 to compile java card applet. The compilation from .java to .class was no problem, but from the .class to .cap has problem:
    java com.sun.javacard.converter.Converter -config .\converter2.opt
    error: stcard.STCard: unsupported class file format of version 50.0.
    What should I do to convert from .class to .cap?
    Thx all

    I have a typically problem , I am a student and learning core java am just a beggineer in java,i have sucessfully installed my JavaEE1.5 software on my computer but have got a problem while compiling my Java programs ,while passing the commands in my command prompt i am encounteering a problem ,am geeting an error message in my command prompt" 'javac' is not recoginized as an internal or external command ,operable program or batch file".i had also tried my own software cd of JavaEE1.5 version and installed at others computers it is running sucessfully but can i know Why it is not geeting in to my Pc & giving compilation error while compiling my java programs. so kindly sujjest me my remedy of my problem.

  • Having problem while spicifing path

    Hai,
    Now I learning JSP. Could you tell me how to set path while running java class file. I have no problem while compiling.

    Your path and "running" a Java file have nothing to do with JSP.
    In any case, you set your path the same way you do for everything else
    PATH=%PATH%;"C:\Full Path\To Directory\Containing\Java"Edit: On windoof, of course, which I assume you're using.

  • Problem compiling in Linux using ant

    Hi,
    I have a problem using ant in Linux.
    When I build my application using ant in Windows it works fine, but when I try to build the same application with ant in Linux it gives me the following exception:
    /identifier/MidiReader.java:5: error: Class or interface `javax.sound.midi.Sequence' not found in import.
    I have already checked and the 'javax.sound.midi.Sequence' exists in import.
    Can anybody help me?
    Regards,
    David

    In your javac task (in Ant), you need to explicitly include any external JAR's required for compilation (see ant.apache.org's docs for info). Importing them in a Java source file does not tell Ant where to locate the JAR for linking.
    - Saish
    "My karma ran over your dogma." - Anon

Maybe you are looking for

  • What is the difference between Vendor Document and Vendor Invoice

    Hi Gurus, Can anyone please explain me the difference between Vendor Document (KA) and the Venodor Invoice(KR). Thanks in advance. Regards, Dev Mahedra

  • Validation on currency

    hiii i have a field of 18char where i input a currency value. This field is used to be put in a field of currency 9 and 2DP.  if ever a user put more that is expected a dump of overflow will occur .  i was thinking of checking the STRLEN to be not mo

  • Problem with HTMLLoader

    I'm loading an external swf with HTMLLoader to open it in a new window from an Air application. But it generates a blank space of 28 pixels above the swf loaded in the new window. How could I remove that blank space?

  • Rendezvous and 10.5

    After upgrading to 10.5.6 I can't run Autopage. I get the following message: Haven't yet located Autopage pagination server via Rendezvous - please try again. [10328]." Does anyone have an idea as to what's going on? Do I have to go back to 10.5.0?

  • OPC version of Eurotherm iTools, How the Eurotherm 2604 can be controlled with Datasocket connections

    Hi All, As I got some of old postings about using OPC for interfacing Eurotherm 2604 in LabVIEW. I believe there may be lot of ways to do that. If some body can help to post some examples, that would be great help. Thanks.