"Error running javac.exe compiler" when using ant to compile Eclipse plugin

Hi
I encounter an error "Error running C:\jdk1.5.0_06\bin\javac.exe compiler" when building my project using ant1.7.
My project has 10 eclipse plugins, and each plugin is compiled by invoking following ant target
<!-- ===================================================================
Compile specified plugin
     target parameters:
          param.plugin.dir: the plugin directory
          param.plugin.targetJarFile: the name of jar file for the given plugin
          param.plugin.src.dir: the folder name of source codes. Note: it is relative path name
          param.fork: indicate if another process is forked to run javac
=================================================================== -->
<target name="compilePlugin">
     <!-- Prepare compile environment -->
     <!-- Delete obsolete build folder -->
     <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
     <!-- Delete obsolete jar file -->
     <delete file="${param.plugin.dir}/${param.plugin.targetJarFile}" quiet="true"/>
     <mkdir dir="${param.plugin.dir}/${build.dir}"/>
     <!-- Compile source codes -->
     <javac      srcdir="${param.plugin.dir}/${param.plugin.src.dir}"
               destdir="${param.plugin.dir}/${build.dir}"
               failonerror="${javacFailOnError}"
               verbose="${javacVerbose}"
               debug="${javacDebugInfo}"
               deprecation="${javacDeprecation}"
          optimize="${javacOptimize}"
               source="${javacSource}"
               target="${javacTarget}"     
               fork="${param.fork}" memoryInitialSize="256m" memoryMaximumSize="512m">
          <classpath refid="compile.classpath" />
     </javac>
     <!-- Create plugin jar file -->
     <copy todir="${param.plugin.dir}/${build.dir}" failonerror="true">
          <fileset dir="${param.plugin.dir}/${param.plugin.src.dir}" excludes="**/*.java, **/package.htm*" />
     </copy>
     <jar jarfile="${param.plugin.dir}/${param.plugin.targetJarFile}" basedir="${param.plugin.dir}/${build.dir}"/>
     <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
</target>
Since each of first 9 plugins contains less than 500 java source files, we always set "param.fork" to false when invoking this ant target.
For the 10th plugin, it has about 1000 source files. If we set "param.fork" to false, we will get the error "Error running javac.exe compiler". So we have to set "param.fork" to true when compiling it. This week, this plugin contains about 1250 files and we get the same error again when compiling it. I tried to increase the "memoryMaximumSize" to "768", but still couldn't get through it.
BTW, There are about 150 jar files in our classpath for compiling plugins. Do many jar files cause this problem?
Any help is highly appreciated.
Many thanks
Oceanman

I encountered a very similar error and I was able to resolve it by removing the following parameters from the javac task:
fork="${param.fork}"
memoryInitialSize="256m"
memoryMaximumSize="512m"My values were not the same as yours, before I removed them, the values were set to:
fork="true"
memoryInitialSize="256m"
memoryMaximumSize="256m" Not sure why this fixed my problem but it did. I was using Ant 1.7 and Java 1.6_07 hope this helps.

Similar Messages

  • GeoKettle: Error running javac.exe compiler

    Hi,
    I am trying to use GeoKettle exactly as mentioned at
    http://209.85.229.132/search?q=cache:JHfrxCo7y0YJ:forge.osor.eu/docman/view.php/143/250/Kettle_Devel_guide_v0.odt+geokettle+spoon+java+api&cd=2&hl=en&ct=clnk&client=firefox-a
    But when I try to build it, i am getting the following error.
    [javac] Compiling 135 source files to D:\workspace\geokettle\classes-core
    BUILD FAILED
    D:\workspace\geokettle\build.xml:74: Error running javac.exe compiler
    Can anyone guide me please to resolve this problem.
    Best Regards
    Tabbasum

    most likely the javac executable is not on the system path. Try typing 'javac -version' in a command prompt and see what response you get.
    If it is something like 'javac is not a recognized...', locate where the JDK is installed and add its bin subdirectory to the PATH system variable. Restart any command prompt and type javac again.
    You DID have a JDK installed, didn't you?

  • RFE: faster javac compilation using invocation instead of running javac.exe

    Sun's JDK contains the Java compiler in tools.jar.
    Why not use it instead of running javac.exe?
    It should also simplify the code for cross platform compatibility...
    Regards,
    Yaniv Kunda

    I meant that JDev would invoke the compiler from the libs of the project JDK.
    But this is indeed a sort of a hack because the libs are not documented and are sun-specific (a problem with other JDKs).
    Anyway, I was just reading a bit on Java 6 (Mustang) and saw that an API (per JSR-199 : http://jcp.org/en/jsr/detail?id=199) for java compilation is one of its new features!
    This feature is documented in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4164450.
    I guess it would be a feature for a newer major release of JDev, but nevertheless important to mention.
    Regards,
    Yaniv Kunda

  • Error when using ant

    When I use ant to compile, I always get this message:
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application. Chose 'Close' to terminate the application.
    [Close] [Ignore]

    Never mind. I was using an old version of ant (1.3) and I downloaded the newest one (1.5) and it works fine now.

  • Error deploying JDeveloper project using ant-sca-compile.xml

    Hi all, I'm having problems on deploying a JDeveloper project using ant-sca-compile.xml. The output in C:\XXXX\YYYYY\SCA-INF\classes\scac.log is:
    java.lang.NoClassDefFoundError: 4\jdeveloper\////oracle_common
    Caused by: java.lang.ClassNotFoundException: 4\jdeveloper\....oracle_common
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Could not find the main class: 4\jdeveloper\/../oracle_common. Program will exit.
    Exception in thread "main"
    What's missing in wich classpath?
    Regards
    Efren.

    Same composite we were able to deploy successfully without any error, from Monday onward we are experiencing this issue.
    We checked in Installation Guide provided by oracle. Oracle has suggested few memory related changes in ant-sca-compile.xml file.
    Increasing Memory to avoid Compilation Errors
    To avoid out-of-memory errors during compilation of a SOA composite application, you need to
    increase the following memory settings.
    To increase memory settings:
    1. Open the ant-sca-compile.xml file in the SOA_HOME/bin directory.
    2. Under the scac element, increase the following memory settings.
    <jvmarg value="-Xms2048m"/>
    <jvmarg value="-Xmx2048m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    3. For Windows change the following memory settings to.
    <jvmarg value="-Xms1536m"/>
    <jvmarg value="-Xmx1536m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    We did those changes but still experiencing same error. I checked H:\AIASOAProject\AIAReceiptInterface\ReceiptListEbizProvider\SCA-INF\classes\scac.log ; file its showing Could not create the Java virtual machine.
    Regards
    Manish

  • Java Compilation issue -- using ant

    I get the following error when i use ant to compile my java src directory
    Buildfile: build.xml
    [echo] JAVA_HOME-->/usr/jdk/jdk1.5.0_06
    [echo] CLASSPATH-->/usr/jdk/jdk1.5.0_06/jre/lib/rt.jar:/usr/jdk/jdk1.5.0_06/lib/tools.jar:/usr/jdk/jdk1.5.0_06/lib/dt.jar
    [echo] /usr/jdk/jdk1.5.0_06
    init:
    compile:
    [javac] Compiling 1 source file to /tmp/patchtool/classes
    BUILD FAILED
    /tmp/patchtool/build.xml:27: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
    MY build.xml IS......
    <project name="OMC" default="compile" basedir=".">
    <property environment="env" />
    <property name="src.dir" value="./src"/>
    <property name="classes.dir" value="./classes"/>
    <property name="lib.dir" value="${env.JAVA_HOME}/lib"/>
    <property name="build.dir" value="./build/"/>
    <property name="patch.jar" value="patch_c_omcpr000000.jar"/>
    <target name="init">
    <mkdir dir="${classes.dir}"/>
    <mkdir dir="${build.dir}"/>     
    </target>
    <echo message="JAVA_HOME-->${env.JAVA_HOME}"/>
    <echo message="CLASSPATH-->${env.CLASSPATH}"/>
    <echo message="PATH-->${env.PATH}"/>
    <echo message="${env.JAVA_HOME}"/>
    <target name="compile" depends="init">      
         <javac srcdir="${src.dir}"
              destdir="${classes.dir}"
              debug="on"
    deprecation="on"
    optimize="off"
    classpath="${env.CLASSPATH}"
    executable="${env.JAVA_HOME}/bin/javac">
         </javac>
    </target>
    <target name="jarfile" depends="compile">      
    <mkdir dir="${build.dir}"/>
    <jar destfile="${build.dir}/${patch.jar}" basedir="${classes.dir}"/>
    </target>
    <target name="clean">
    <delete dir="${classes.dir}"/>
    <delete dir="${build.dir}"/>
    </target>
    </project>
    .........................................................................................................................................................................................................................

    Once i add fork i get the following error.......
    BUILD FAILED
    /tmp/patchtool/build.xml:15: Error creating temporary file

  • Compile error in C++ 5.8 when using typedef

    Hello all,
    I am new to using Sun Studio 11 C++ 5.8 compiler.
    an error occurs to me when I put this line on my header file
    typedef DWORD int;
    line6: Error: "," expected instead of "int".
    When I replace the line with this line
    typedef DWORD ,;
    then the error disappers.
    I tried compiling it using g++ and I encounter no problems.
    I am using Solaris 10 and I installed patched the C++ 5.8 compiler with patch 121017-10
    I don't know what is causing the problem..
    Please help.
    Thanks in advance.
    Marc Glenn

    You've probably meant
    typedef int DWORD;
    That is, if you wanted to define alias for type int named DWORD.

  • Error Compiling when using RGB Color Corrector and Unsharp Mask

    If I apply the RGB Color Corrector and and Unsharp mask to a clip within a sequence and try to render the sequence or a small portion of the work area I get the Error Compiling: Unknown error.
    This is occurring within a project I have updated to Premiere CS6 from Premiere CS5. 
    I have tried creating a new sequence and importing the same clip and other clips.  Anytime I try to use both the Unsharp Mask and RGB Color Corrector I am unable to render.  I have tried this with Mercury Playback both in hardware and software modes with the same result.
    Has anyone else seen something like this?

    Okay, glad this occurs for others too and I am not experiencing something isolated. The issue here is this shouldn't be happening at all. 
    Premiere CS5 has no problem with this.
    Yeah if I turn off one effect or the other no problem.  Unfortunately it doesn't matter the order I place the effects in I get the same error regardless of which is placed first.
    Nesting does work.  If I create a sequence, apply one or the other to the clip in the sequence then embed the sequence in another sequence and apply the remaining filter to the sequence containing the clip then I can get my color correction and edge definition.  But this is a work around. 
    There seems to a bug here since there were no issues when using RGB Color Corrector and Unsharp Mask simultaneously applied to one clip in CS5.  I doubt there will be a fix for this anytime soon so it looks like I will have to use another method for color correcting or apply RGB color correction to clips already embedded in a sequence as I move forward into solely using CS6.
    (How this can become an issue is that after applying effects and color correction to several clips within a sequence I like to render that entire sequence.  Then this sequence is ebedded in another main sequence and I can add additional effects and transitions and overlays without killing the live playback speed and only have to render smaller amounts of content from additional tracks.  It ends up saving a lot of time after the initial length of rendering.)
    Thanks for the suggestions.

  • Javac.exe  is not using classpath, while java.exe is.

    I'll state the problem, then give my configuration. This does NOT seem to be a duplicate of other problems. I am running Windows NT sp 6a.
    INTRO:
    javac.exe, java.exe in directory E:\v\bin.
    file HelloWorld.java is in directory E:\v\lib\x\y (dir names shortened)
    PROBLEM:
    Once HelloWorld is compiled (and HelloWorld.class is in E:\v\lib\x\y ), I can run the exact command "java HelloWorld" from ANY directory anywhere and it runs and prints Hello World!.(So java.exe seems to be using classpath.)
    However, to compile, the command "javac HelloWorld.java" does not work (say in E:\v). The error message is "cannot read: "HelloWorld.java". I have to provide the full path name for HelloWorld.java, thus: "javac E:\v\lib\x\y\HelloWorld.java". This works, from any directory anywhere. In other words, javac.exe does NOT seem to be using classpath.
    CONFIGURATION:
    CLASSPATH is set to E:\v\lib\x\y in both system and user environment and ALSO through both javac -classpath and java -classpath. (When I run javac -classpath E:\v\lib\x\y, the list of options is not printed out, and I think this means the classpath is supposed to be set. ) I also tried setting sourcepath for javac, but that did not help.
    PATH is set since and the system recognizes the commands "java" and "javac" from any directory anywhere (each brings up the list of options.)
    Any thoughts.

    let's read the documentation first shall we ...
    http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/javac.html
    According to it the command line arguments must be file names. The compiler "cannot read HelloWorld.java" because it simply is not in the current working directory. You need to specify a path to the file. It is only after that, "when compiling a source file", that the classpath or sourcepath setting has any effect.

  • Java.lang.VerifyError when using ant 1.6.2

    In short, I get the VerifyError when deploying my .ear in Weblogic 8.1 SP2. I have nailed down the issue to this:
    I compile all my code using Ant 1.6.2. If I package the code up using ant 1.6.2 I get the VerifyError. If I pacakge the code up using ant 1.4, all is well. Note that when I deploy the 1.6.2 packaged ear file on Windows, all is well also.
    During the ant package target I assembly the war and ear using the core war and ear tasks.
    We are using precompiled JSPs in the war file. It seems that WL8.1 wants to recompile the JSP file. I am not sure why - the ant 1.4 packaged ear does not want to recompile the same JSP.
    The detailed error is:
    Servlet class jsp_servlet._portal.__capitalmarketsoverview for servlet /portal/CapitalMarketsOverview.jsp could not be verified.
    java.lang.VerifyError: (class: jsp_servlet/_portal/__capitalmarketsoverview, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Incompatible object argument for function call.>
    Any help is appreciated,
    Harry Duin

    Hello,
    I could not find an easy way to get the wls version of ant to start using the tasks you mention from ant 1.6.2.
    I tried defining the tasks using taskdef and also adding them to wls ant.jar and updating the deafult.properties file but the ant complained about unexpected elements in the build.xml file where I added the new tags (e.g import)
    If your really up against it you can try adding wls tasks to ant 1.6.2, they are listed here:
    http://e-docs.bea.com/wls/docs81/toolstable/ToolsTable.html#1009580
    Although I could not located exactly which jar they are in. Good luck.
    Cheers
    Hussein Badakhchani
    www.orbism.com

  • Ifweb60.exe crash when using file upload utility

    Hello,
    I have implemented the file upload utility in my own forms. When using the file upload for the first time in my forms session everything works fine. But when i try to start it again (within the same forms session) i get an ifweb60.exe crash on the server and a FRM-92101 error on the forms client
    Did anybody have the same problem before and how can i solve this?
    I am using iAS9i (release 1.0.2.1.0) with forms patch 10 (Jinitiator 1.3.1.9), Oracle server 8.1.7 on Windows NT 4.
    I included the output of my java console
    Thanks,
    Gerton
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\WINNT\Profiles\382
    Proxy Configuration: Manual Configuration
    Proxy: MyProxy
    Proxy Overrides: <local>
    JAR cache enabled
    Location: C:\WINNT\Profiles\382\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://80nte/forms60java/f60all_jinit.jar from JAR cache
    Loading http://80nte/forms60java/UploadClient.jar.sig from JAR cache
    Loading http://80nte/forms60java/ctb_icons.jar from JAR cache
    connectMode=HTTP, native.
    Forms Applet version is : 60819
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Start setProperty
    Start setProperty
    Start setProperty
    Opening connection to http://80nte:80/download/907.doc...
    Copying resource (type: application/msword, modified on: Mon Aug 05 11:45:58 CEST 2002)...
    35840 byte(s) copied...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Start setProperty
    Start setProperty
    Start setProperty
    Client OS is Windows NT
    start RunCMD...: cmd.exe /C C:\TEMP\907.doc
    Opening Word document...
    Document has been released C:\TEMP\907.doc
    FileUploader: LoadFile : Named File
    FileUploader: 907.doc
    FileUploader: Dir>C:\TEMP\
    FileUploader: Named File = C:\TEMP\907.doc exists
    FileUploader: <PERFORM UPLOAD>
    FileUploader: Filesize 35840
    FileUploader: Source file size before encoding 35840 Bytes; (Compressed to 8905 Bytes)
    FileUploader: Size of encoded byte array : 12190 (3 Chunks)
    FileUploader: numchunks is 2
    FileUploader: Chunking : 0:4096
    FileUploader: Dispatch Chunk 1
    FileUploader: Chunking : 4096:8192
    FileUploader: Dispatch Chunk 2
    FileUploader: Chunking : 8192:12190
    FileUploader: Dispatch Chunk 3
    FileUploader: </PERFORM UPLOAD>
    Start setProperty
    Start setProperty
    Start setProperty
    Start setProperty
    Opening connection to http://80nte:80/download/907.doc...
    Copying resource (type: application/msword, modified on: Mon Aug 05 11:46:41 CEST 2002)...
    35840 byte(s) copied...
    Start setProperty
    Onbekende setProperty...
    Start setProperty
    Start setProperty
    Start setProperty
    Start setProperty
    Client OS is Windows NT
    start RunCMD...: cmd.exe /C C:\TEMP\907.doc
    Opening Word document...
    Opening Word document...
    Document has been released C:\TEMP\907.doc
    FileUploader: LoadFile : Named File
    FileUploader: 907.doc
    FileUploader: Dir>C:\TEMP\
    FileUploader: Named File = C:\TEMP\907.doc exists
    FileUploader: <PERFORM UPLOAD>
    FileUploader: Filesize 35840
    FileUploader: Source file size before encoding 35840 Bytes; (Compressed to 8917 Bytes)
    FileUploader: Size of encoded byte array : 12206 (3 Chunks)
    FileUploader: numchunks is 2
    FileUploader: Chunking : 0:4096
    FileUploader: Dispatch Chunk 1
    FileUploader: Chunking : 4096:8192
    FileUploader: Dispatch Chunk 2
    FileUploader: Chunking : 8192:12206
    FileUploader: Dispatch Chunk 3
    FileUploader: </PERFORM UPLOAD>
    oracle.forms.net.ConnectionException: Forms session <7> aborted: unable to communicate with runtime process.
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
         at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
         at oracle.forms.net.HTTPNStream.flush(Unknown Source)
         at java.io.DataOutputStream.flush(Unknown Source)
         at oracle.forms.net.StreamMessageWriter.run(Unknown Source)

    Problem is solved!

  • Problem in running javac.exe

    Hi
    I'm using Windows 2000 server.
    I installed Java 2 sdk in directory c:\jdk1.2.2. After this I added
    c:\jdk1.2.2\bin in the path environment variable using Control Panel ,System Utility.
    Then I opened the command prompt (Start ,Run ) and typed command in the box:-
    Steps:
    1.Start ->Run
    2. Typed command in the box
    Now when I tried c:\> javac Hello.java it gave the foll. error:-
    javac is not an internal or external command.
    But when I tried to run javac using cmd instead of command in the start->run box it works fine
    1.Start ->Run
    2. Typed cmd in the box . Now javac Hello.java worked .
    My Question is why it works with cmd and why not with command
    Please help

    cmd is the win2k console. it carries all system settings from wn2k. command is a dos box. it wont have the path settings u did for java

  • Compiling problem when using ansi c compiler on solaris 11

    Hello
    I'm using solaris 11 on sparc T4 server.
    I was trying to generate tpch benchmark data set on the server. I downloaded the tpch files from http://www.tpc.org/tpch/default.asp website. There's a makefile that is used to compile the data generation program. In the makefile, there's a line that specifies which compiler to use. After searching the web, I think it might be "cc" on solaris. so I installed oracle solaris studio 12.3, gcc-3, gcc-45 and set the environment variable:
    export PATH=$ORACLE_HOME/bin:$ORACLE_BASE/oracle_solaris_studio/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/bin:$PATH
    export MANPATH=$ORACLE_BASE/oracle_solaris_studio/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/man:$MANPATH
    -bash-4.1$ which cc
    /export/home/oracle/oracle_solaris_studio/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/bin/cc
    when I run $make, I got the following error. Do you know what the problem might be? Am I using the correct compiler?
    Thank you very much. I appreciate any help.
    -bash-4.1$ make
    cc -g -DDBNAME=\"dss\" -DSUN -DORACLE -DTPCH -DRNG_TEST -D_FILE_OFFSET_BITS=64 -c build.c
    "build.c", line 35: cannot find include file: <stdio.h>
    "build.c", line 36: cannot find include file: <string.h>
    "build.c", line 38: cannot find include file: <sys/types.h>
    "build.c", line 41: cannot find include file: <unistd.h>
    "/usr/include/iso/math_iso.h", line 13: cannot find include file: <sys/feature_tests.h>
    "/usr/include/iso/math_c99.h", line 12: cannot find include file: <sys/feature_tests.h>
    "/usr/include/floatingpoint.h", line 39: cannot find include file: <stdio_tag.h>
    "/usr/include/floatingpoint.h", line 45: syntax error before or at: FILE
    "/usr/include/floatingpoint.h", line 164: syntax error before or at: FILE
    "dss.h", line 84: cannot find include file: <stdio.h>
    "dss.h", line 85: cannot find include file: <stdlib.h>
    "dss.h", line 210: warning: old-style declaration or incorrect type for: FILE
    "dss.h", line 210: syntax error before or at: *
    "dss.h", line 210: warning: old-style declaration or incorrect type for: tbl_open
    "dss.h", line 471: syntax error before or at: FILE
    "dss.h", line 471: warning: undefined or missing type for: FILE
    "dss.h", line 471: warning: undefined or missing type for: void
    "dss.h", line 471: warning: undefined or missing type for: int
    "dss.h", line 471: warning: undefined or missing type for: int
    "build.c", line 89: warning: implicit function declaration: sprintf
    "build.c", line 115: warning: implicit function declaration: strlen
    "build.c", line 160: undefined symbol: NULL
    "build.c", line 160: warning: improper pointer/integer combination: op "="
    "build.c", line 160: non-constant initializer: op "NAME"
    "build.c", line 172: warning: improper pointer/integer combination: op "=="
    "build.c", line 189: warning: implicit function declaration: strcpy
    "build.c", line 348: warning: implicit function declaration: memcpy
    "build.c", line 368: undefined symbol: NULL
    "build.c", line 368: warning: improper pointer/integer combination: op "="
    "build.c", line 368: non-constant initializer: op "NAME"
    cc: acomp failed for build.c
    *** Error code 2
    make: Fatal error: Command failed for target `build.o'

    Thank you very much for your reply.
    system/header is not installed on the server, but when I tried to install it , I got an error that said there was a conflict. How should I solve this?
    -bash-4.1$ sudo pkg install system/header
    Creating Plan /
    pkg install: No matching version of system/header can be installed:
    Reject: pkg://solaris/system/[email protected],5.11-0.175.0.0.0.2.1:20111019T073158Z
    Reason: This version is excluded by installed incorporation pkg://solaris/consolidation/osnet/[email protected],5.11-0.175.0.4.0.5.1:20120206T225911Z
    -bash-4.1$ sudo pkg install pkg:/system/header
    Creating Plan /
    pkg install: No matching version of system/header can be installed:
    Reject: pkg://solaris/system/[email protected],5.11-0.175.0.0.0.2.1:20111019T073158Z
    Reason: This version is excluded by installed incorporation pkg://solaris/consolidation/osnet/[email protected],5.11-0.175.0.4.0.5.1:20120206T225911Z

  • "Server Busy" error in Crystal Reports XI when using date picker

    Hi,
    I have come across an issue whereby I get a error pop up when using the date picker to select a date parameter as I run a report from within Crystal Report XI on a particular PC. While I am able to type in the date using the yyyy-mm-dd format, selecting the date picker displays an error message titled "Server Error" stating that the program is not responding and giving options "Switch To" and "Retry". Selecting either button displays the same error message and need to kill the application from the Task Manager to restart.
    I have run the same report from other PCs (including using the date picker to pick a date parameter) without the error popping up. All of the PCs have the same version of the application.
    Has anyone come across this and how were you able to resolve it?

    yes test is a formula that i used to calculate a difference
    that should work, but i would put () around the
    (if(remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)>0 and
    remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)<1) then
    truncate(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}))+1
    else ({ztrptActVol.CPT}*{tlkpBblMileage.CPT})
    rounding in crystal is a pain in the &&

  • Error in begining a session when using UTF16 mode in OCIEnvNlsCtreate

    I wrote this code :
    OCIEnv* envhp;
    OCIError* errhp;
    OCIServer* srvhp;
    OCISvcCtx* svchp;
    OCISession* usrhp;
    envhp = (OCIEnv *) 0;
    errhp = (OCIError *) 0;
    srvhp = (OCIServer *) 0;
    svchp = (OCISvcCtx *) 0;
    usrhp = (OCISession *) 0;
    int mode = OCI_DEFAULT;
    char* dblink=/* DBLINK */;
         sword status;
    OCIEnvNlsCreate ( &envhp, (ub4) mode, (dvoid *)0,(dvoid*(*)(dvoid ctxp, size_t size))0,(dvoid(*)(dvoid ctxp, dvoid memptr, size_t newsize))0,(dvoid (*)(dvoid ctxp, dvoid memptr))0,(size_t)0, (void **)0, (ub2)OCI_UTF16ID, (ub2)OCI_UTF16ID);
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&errhp, (ub4)OCI_HTYPE_ERROR,(size_t)0, (dvoid**)0);
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&srvhp, (ub4)OCI_HTYPE_SERVER,(size_t)0, (dvoid**)0);
    status = OCIServerAttach(srvhp, errhp, (text*)dblink,(sb4)strlen(dblink), (ub4)OCI_DEFAULT);
    if (status != OCI_SUCCESS)
    return 0;
    char username = /username*/;
    char password = /password*/;
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&svchp, (ub4)OCI_HTYPE_SVCCTX,(size_t)0, (dvoid**)0);
    OCIAttrSet((dvoid*)svchp, (ub4)OCI_HTYPE_SVCCTX, (dvoid*)srvhp, (ub4)0,(ub4)OCI_ATTR_SERVER, errhp);
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&usrhp, (ub4)OCI_HTYPE_SESSION,(size_t)0, (dvoid**)0);
    OCIAttrSet((dvoid*)usrhp, (ub4)OCI_HTYPE_SESSION, (dvoid*)username,(ub4)strlen(username), (ub4)OCI_ATTR_USERNAME, errhp);
    OCIAttrSet((dvoid*)usrhp, (ub4)OCI_HTYPE_SESSION, (dvoid*)password,(ub4)strlen(password), (ub4)OCI_ATTR_PASSWORD, errhp);
    status = OCISessionBegin(svchp, errhp, usrhp, OCI_CRED_RDBMS, (ub4)OCI_DEFAULT);
    When I use OCI_UTF16ID in OCIEnvNlsCreate it gives me an error in OCISessionBegin. But when I use 871(utf8) instead it works properly. Why does this happen? How can I work whit OCI_UTF16ID?

    Re: OCIObjectSetAttr() and UTF16 environnement might be of interest, even though it's a little different. Still relates to UTF16 though. --DD                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Airport Extreme Not Consistently Assigning DHCP

    I am using a relatively new (within the last year) Airport Extreme as the primary router on my home network.  Connected directly to the router is a GigE switch, an AT&T Microcell, and another router - an Aruba RAP which creates a secure VPN for my ho

  • FCP "Export - QuickTime Movie" gamma shift

    Above is an example of what happens when I do a direct export in Final Cut Pro, using the Export -> QuickTime Movie function.  As you can see, the image is significantly brighter and the colors are a little more washed out (this image isn't particula

  • How do I file a complaint in regards to regular service.

    I moved to a new house on April 25th, I started opening tickets with Verizon on April 10th to have my service transferred. I was told a Service Availablity needed to be done. I never heard back from anyone. I called again on the 14th, I opened yet an

  • Selecting all objects at once to move over in Timeline

    Is there a way in Motion to select objects in a timeline to the right of a particular object, all at once in order to push them over to make room for an insert. (Like you can in FCP)?

  • Get image of element

    Hi, I'm working on SAP SDK development. I succeeded to get list of documents, reports, elements... but I don't know how to get the src of the image of an element... I think about "div bid[" ... but I don't know more. Please, can you tell me which url