Compiling PBP on linux

Hi all,
I wanted to use PBP in Linux, unfortunately I could not find the binaries. So, I am trying to get a linux build for PBP. I downloaded the source from the sun website but I get compile errors that look very weird.
<snip>
../../src/share/classes/java/io/ObjectInputStream.java:2038: cannot find symbol
symbol : method initCause(java.lang.ClassNotFoundException)
location: class java.lang.NoClassDefFoundError
int off = getFieldOffset(name, Object.class);
^
Fatal Error: Unable to find method initCause
make: *** [.compile.btclasses] Error 3
</snip>
Can anybody help me out with this? or the better solution would be to point me to some binaries.
Any help is welcome,

Hi all,
I wanted to use PBP in Linux, unfortunately I could not find the binaries. So, I am trying to get a linux build for PBP. I downloaded the source from the sun website but I get compile errors that look very weird.
<snip>
../../src/share/classes/java/io/ObjectInputStream.java:2038: cannot find symbol
symbol : method initCause(java.lang.ClassNotFoundException)
location: class java.lang.NoClassDefFoundError
int off = getFieldOffset(name, Object.class);
^
Fatal Error: Unable to find method initCause
make: *** [.compile.btclasses] Error 3
</snip>
Can anybody help me out with this? or the better solution would be to point me to some binaries.
Any help is welcome,

Similar Messages

  • How to compile form in linux server

    Hi All:
    Any one can say how to compile form in linux server using form builder fmb.

    If you are talking about forms 10g then here is the method
    1) run x windows interface on your machine
    2) login to linux server
    $ export DISPLAY=<IP address of machine>:0.0
    $ frmcmp.sh module_type=form module=myform.fmb userid=user/password@connectstring compile_all=yes
    Regards
    Anuj

  • Compiling an old linux code on a new mac

    Hello,
    I am trying to compile an old Linux program on my new macbook pro (Intel + 10.6). The program uses a mix of fortran and c source codes. On the Linux environment where it works I have gcc(f77) 3.2.3 installed.
    The only external library called for in the Makefile is libg2c, which as far as I can tell comes with gcc 3 but not any longer in gcc 4. This means that the original Makefile, which works on a Linux environment with gcc 3.2.3 does not work on my Mac.
    For sure I need some g2c-like library because the system is mixing Fortran and C code, and doesn't compile if I just remove -lg2c from the Makefile, the compiling crashes.
    I have tried to install libf2c from Fink but it doesn't seem compatible with gfortran created code.
    Now I'm a bit lost. Can someone offer some help?

    atticus_pf wrote:
    You keep saying gcc4.4 is bad.
    There is nothing inherently wrong with gcc4.4. I just don't trust anything that comes from the Mac "ports" packages. Why would I need to "port" something to MacOS X if it build fine from a tarball? More importantly, why would I use a version newer than what Apple ships with the OS? MacOS X is not Linux. Those newer versions have not been tested and MacOS X and MacOS X is fundamentally different from any OS that those versions have been tested on. If you want to test new software on Mac OS X, that's great. Just get the original code and build it yourself instead of going through a 3rd party who may or may not know what they are doing. Every time I see a problem here in Apple Discussions with someone who can't build an open-source software package on MacOS X, some "ports" package has been installed. Every Time.
    What is the best version to use? I have gcc in /usr/bin which is gcc 4.2.1 - I think this is the apple version. ... I just want to use what is best and most reliable.
    That would be the one Apple build the OS with. Even then, gcc 4.2.1 is still a bit flaky on MacOS X. Apple may never use gcc 4.4. It is moving towards Clang for future development.
    gcc -framework Carbon -arch i386 -m64 -g -I/Users/jpfaendt/Modeling/parest/ddasac/software/include -O2 -o parest ./model.o jacobian.o bsub.o -L/Users/jpfaendt/Modeling/parest/ddasac/software -L/Users/jpfaendt/Modeling/parest/ddasac/software/myUtil -L/Users/jpfaendt/Modeling/parest/ddasac/software/lib -L/sw/lib/gcc4.4/lib -lm -lliqparest -ldassl -lgregpack -lgfortran -lUtil -L/sw/lib/gcc4.4/lib/
    Undefined symbols:
    "_Delete", referenced from:
    _ModelODEs in model.o
    sorry for the messy paste, it's an ugly makefile (although it works in linux). You can see I'm including libraries that I myself compiled (libliqparest, libdassl, libgregpack, libUtil are all compiled in this code).
    But what is that "-m64" doing there? That is not a good flag to use even in the best of times. It really isn't appropriate with "-arch i386". Add to that the fact that Carbon isn't 32-bit and you've got a mess-o-problems.
    The first function that has a problem above (_Delete) is defined in a c program that is compiled as part of libUtil.a. This library just has a bunch of house-made functions for vector handling, etc. The code could be probably be overhauled to not need this anymore but I don't have the energy to do it.
    I really think these are old relics of a MacOS port back when you needed such "ports" because MacOS (note the absence of "X") didn't have such things as open(), malloc(), and free().
    You have the source to libUtil.a, so it would be worthwhile to look at it and see if my hypothesis is correct. You may be able to fix it with just a compiler flag and have it use the POSIX code instead of the MacOS Carbon routines. Then, hopefully, you can get rid of Carbon altogether and build a true 64-bit executable.
    In any case, I'm now suspecting my compiler configuration, etc for causing the problems. What is the best solution for having the fink gcc-4 installed and apples gcc installed? I guess I have to reconcile this somehow with the gfortran that is in /sw/bin.
    You could also download a better version of gfortran that installs into /usr/local, where it is supposed to be.

  • CDC compilation problems on linux

    Hi,
    I am trying to compile CDC on linux. My machine is Redhat 9, I am using
    gcc 3.2.2. My java compiler is 1.3.1 (as specified in cdc docs).
    [sharath@DTV2 linux-i686]$ java -version
    java version "1.3.1_15"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_15-b01)
    Java HotSpot(TM) Client VM (build 1.3.1_15-b01, mixed mode)
    [sharath@DTV2 linux-i686]$ gcc --version
    gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
    Copyright (C) 2002 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    [sharath@DTV2 linux-i686]$ make CVM_DEBUG=true CVM_JAVABIN=/usr/local/jdk1.3.1_15/bin
    ... mkdir ../../build/linux-i687/generated/javavm/runtime
    touch ../../build/linux-i686/generated/empty.mk
    ... mkdir ../../build/linux-i686/generated/flags
    Flag CVM_SYMBOLS changed. Cleaning up.
    Flag CVM_OPTIMIZED changed. Cleaning up.
    Flag CVM_DEBUG changed. Cleaning up.
    Flag CVM_JAVAC_DEBUG changed. Cleaning up.
    Flag CVM_DEBUG_CLASSINFO changed. Cleaning up.
    Flag CVM_DEBUG_STACKTRACES changed. Cleaning up.
    Flag CVM_DEBUG_DUMPSTACK changed. Cleaning up.
    Flag CVM_DEBUG_ASSERTS changed. Cleaning up.
    Flag CVM_CLASSLOADING changed. Cleaning up.
    Flag CVM_NO_LOSSY_OPCODES changed. Cleaning up.
    Flag CVM_INSTRUCTION_COUNTING changed. Cleaning up.
    Flag CVM_GCCHOICE changed. Cleaning up.
    Flag CVM_NO_CODE_COMPACTION changed. Cleaning up.
    Flag CVM_XRUN changed. Cleaning up.
    Flag CVM_JVMDI changed. Cleaning up.
    Flag CVM_JVMPI changed. Cleaning up.
    Flag CVM_JVMPI_TRACE_INSTRUCTION changed. Cleaning up.
    Flag CVM_CLASSLIB_JCOV changed. Cleaning up.
    Flag CVM_REFLECT changed. Cleaning up.
    Flag CVM_SERIALIZATION changed. Cleaning up.
    Flag CVM_PRELOAD_LIB changed. Cleaning up.
    Flag CVM_PRELOAD_TEST changed. Cleaning up.
    Flag CVM_DYNAMIC_LINKING changed. Cleaning up.
    Flag CVM_TEST_GC changed. Cleaning up.
    Flag CVM_TEST_GENERATION_GC changed. Cleaning up.
    Flag CVM_TIMESTAMPING changed. Cleaning up.
    Flag CVM_TEST_CHAR_STATICINIT changed. Cleaning up.
    Flag CVM_INTERPRETER_LOOP changed. Cleaning up.
    Flag CVM_JIT changed. Cleaning up.
    Flag J2ME_CLASSLIB changed. Cleaning up.
    Flag CVM_CSTACKANALYSIS changed. Cleaning up.
    Flag CVM_TRACE_JIT_BCTOIR changed. Cleaning up.
    Flag CVM_TRACE_JIT_CODEGEN changed. Cleaning up.
    Flag CVM_TRACE_JIT_STATS changed. Cleaning up.
    Flag CVM_TRACE_JIT_STATUS changed. Cleaning up.
    Flag CVM_JIT_COLLECT_STATS changed. Cleaning up.
    Flag CVM_JIT_ESTIMATE_COMPILATION_SPEED changed. Cleaning up.
    Flag CVM_CCM_COLLECT_STATS changed. Cleaning up.
    Flag CVM_JIT_PROFILE changed. Cleaning up.
    Flag OPT_PKGS changed. Cleaning up.
    Flag CVM_PRODUCT_TYPE changed. Cleaning up.
    Flag CVM_LVM changed. Cleaning up.
    ... generating ../../build/linux-i686/generated/javavm/include/build_defs.h
    /*** Definitions generated at build time ***/
    #ifndef BUILDDEFS_H
    #define BUILDDEFS_H
    #define CVM_BUILD_OPTIONS \
         "CVM_SYMBOLS=true\n" \
         "CVM_OPTIMIZED=false\n" \
         "CVM_DEBUG=true\n" \
         "CVM_JAVAC_DEBUG=true\n" \
         "CVM_DEBUG_CLASSINFO=true\n" \
         "CVM_DEBUG_STACKTRACES=true\n" \
         "CVM_DEBUG_DUMPSTACK=true\n" \
         "CVM_DEBUG_ASSERTS=true\n" \
         "CVM_CLASSLOADING=true\n" \
         "CVM_NO_LOSSY_OPCODES=false\n" \
         "CVM_INSTRUCTION_COUNTING=false\n" \
         "CVM_GCCHOICE=generational\n" \
         "CVM_NO_CODE_COMPACTION=false\n" \
         "CVM_XRUN=false\n" \
         "CVM_JVMDI=false\n" \
         "CVM_JVMPI=false\n" \
         "CVM_JVMPI_TRACE_INSTRUCTION=false\n" \
         "CVM_CLASSLIB_JCOV=false\n" \
         "CVM_REFLECT=true\n" \
         "CVM_SERIALIZATION=true\n" \
         "CVM_PRELOAD_LIB=false\n" \
         "CVM_PRELOAD_TEST=false\n" \
         "CVM_DYNAMIC_LINKING=true\n" \
         "CVM_TEST_GC=false\n" \
         "CVM_TEST_GENERATION_GC=false\n" \
         "CVM_TIMESTAMPING=false\n" \
         "CVM_TEST_CHAR_STATICINIT=false\n" \
         "CVM_INTERPRETER_LOOP=Split\n" \
         "CVM_JIT=false\n" \
         "J2ME_CLASSLIB=cdc\n" \
         "CVM_CSTACKANALYSIS=false\n" \
         "CVM_TRACE_JIT_BCTOIR=false\n" \
         "CVM_TRACE_JIT_CODEGEN=false\n" \
         "CVM_TRACE_JIT_STATS=false\n" \
         "CVM_TRACE_JIT_STATUS=false\n" \
         "CVM_JIT_COLLECT_STATS=false\n" \
         "CVM_JIT_ESTIMATE_COMPILATION_SPEED=false\n" \
         "CVM_CCM_COLLECT_STATS=false\n" \
         "CVM_JIT_PROFILE=false\n" \
         "OPT_PKGS=\n" \
         "CVM_PRODUCT_TYPE=standard\n" \
         "CVM_LVM=false\n" \
    #define CVM_PROP_JAVA_VERSION     "J2ME CDC 1.0.1"
    #define CVM_PROP_JAVA_VENDOR     "Sun Microsystems Inc."
    #define CVM_PROP_JAVA_VENDOR_URL     "http://java.sun.com/"
    #define CVM_PROP_JAVA_VENDOR_URL_BUG     "http://java.sun.com/cgi-bin/bugreport.cgi"
    #define CVM_PROP_JAVA_SPEC_NAME     "J2ME CDC API Specification"
    #define CVM_PROP_JAVA_SPEC_VERSION     "1.0a"
    #define CVM_PROP_JAVA_SPEC_VENDOR     "Sun Microsystems Inc."
    #define CVM_PROP_JAVA_CLASS_VERSION     "47.0"
    #define CVM_PROP_JAVA_VM_NAME     "CVM"
    #define CVM_PROP_JAVA_VM_VERSION     "1.0.1-std-b12"
    #define CVM_PROP_JAVA_VM_INFO     "interpreter loop"
    #define CVM_PROP_JAVA_VM_VENDOR     "Sun Microsystems Inc."
    #define CVM_PROP_JAVA_VM_SPEC_NAME     "Java Virtual Machine Specification"
    #define CVM_PROP_JAVA_VM_SPEC_VERSION     "1.0a"
    #define CVM_PROP_JAVA_VM_SPEC_VENDOR     "Sun Microsystems Inc."
    #define CVM_CLASSLIB_JAR_NAME     "cdc.jar"
    #endif /* BUILDDEFS_H */
    ... mkdir ../../build/linux-i686/obj
    ... mkdir ../../build/linux-i686/bin
    ... mkdir ../../build/linux-i686/generated/javavm/runtime/opcodeconsts
    ... mkdir ../../build/linux-i686/generated/jni
    ... mkdir ../../build/linux-i686/generated/cni
    ... mkdir ../../build/linux-i686/generated/offsets
    ... mkdir ../../build/linux-i686/btclasses
    ... mkdir ../../build/linux-i686/testclasses
    ... mkdir ../../build/linux-i686/lib
    ... mkdir ../../build/linux-i686/cdc_classes
    ... mkdir ../../build/linux-i686/lib/security
    ... mkdir ../../build/classes.jcc
    Checking for build-time classes to compile ...
    Compiling build-time classes...
    error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null
    error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null
    Same error messages repeats for over 100 times...
    Please help.
    Thanks in advance,
    Sharath

    Sharath,
    I am new in this field.Want to work in this CDC field.Kindly give me the details of how to compile the code on Linux Platform.Can u mail me details of compilation at [email protected] urgent

  • Compile fail under linux ! oci.h: No such file or directory

    I want to transplant an Win32 OCI program to Linux.When i compile the program under Linux, the gcc returns the error information 'oci.h: No such file or directory '.
    Where can i find the OCI libs and includes under Linux/Unix?

    and I suggest you should use $ORACLE_HOME/rdbms/demo/demo_rdbms.mk to build oci applications. Instructions are there in the same file.

  • Studio 12.4 tarball install can't compile programs on Linux

    Hi,
    I just installed the tarball for 12.4 in /opt. I have previously used Studio 12.3, 12.2, and 12.0.
    Problem #1 command line C and Fortran compilers fail
    The IDE can compile and build an application but the command line compilers (C and Fortran) both fail:
    EDIT: The IDE didn't build the project from existing code either. I was fooled by the fact dmake ran but it actually ignored my makefiles and did nothing. I got no error messages and the executables ran, so I ASSumed everything was ok. It now appears the tollowing error (Problem #2) below affects the IDE and command line tools and nothing works at all.
    user@sys:~/devel/C/hello$ cc -V
    cc: Sun C 5.13 Linux_i386 2014/10/20
    user@sys:~/devel/C/hello$ which cc
    /opt/solarisstudio12.4/bin/cc
    user@sys:~/devel/C/hello$ cc -o hello hello.c
    "hello.c", line 4: internal compiler error: DBGGEN ERROR: FILE="../src/dbg_libdwarf.c", LINE=31, Could not load dwarf library: libdwarf.so : libelf.so.1: cannot open shared object file: No such file or directory [DBG_GEN 5.5.0]
    cc: acomp failed for hello.c
    user@sys:~/devel/C/hello$
    Problem #2 building a project using the wizard:
    Yesterday I was able to get the IDE to build one of my Fortran apps from existing source. Today I tried using the wizard to build a C project from scratch.
    I chose C/C++/Fortran application.
    Next
    It shows CppApplication_1
    Finish
    I expand source files to edit main.c
    after a few seconds I get a popup that says
    Project
    /home/user/SolStudioProjects/CppApplication_1
    metadata was modified in file system and in current session
    Reload the project from disk and
    override current changes to the project settings?
    If I select no I get warning icons on the filename and Studio refuses to open it in edit. If I delete the project from /home/user/SolStudioProjects and start all over again and answer yes instead of no here, the entire project has a warning on it, nothing expands and when I look in the CppApplication_1 folder in /home/user/SolStudioProjects it's completely empty.

    SFV написал(а):
    Because your libelf is not .1 but rather .0.8.
    Linux is a multi-faced beast so we do not dare to support all of its variances.
    Besides the difference in system libraries (that you just hit) various flavours of Linux have rather huge variety in their linker versions/behavior
    which is especially painful for C++ compiler which needs quite a bit of linker magic.
    Anyway, you may get around your particular problem by installing a newer libelf on your system.
    Not that there is any guarantee it will not get broken some other way
    regards,
      Fedor.
    But Libelf 0.8.13 is latest build from http://www.mr511.de/software/english.html
    However RedHat uses Libelf from https://fedorahosted.org/elfutils/

  • Compiling packages in linux

    Hi I have been struggling with this for the last three days. I have tried multiple searches in the forums but cannot make head nor tail of setting the classpath in linux when compiling a package.
    in the following directory "/home/tamtam/Java/Course/Unit4/act4_1"
    I have two classes Greeting.java and Main.java
    Greeting.java compiles successfully and creates Greeting.class
    I cannot compile Main.java which uses the class Greeting.
    Both have package act4_1 as the first line in the code.
    I know I need to set the classpath but have been unable to do so. Where is the starting directory.
    I havenot got a clue where to start.
    I get error message
    Main.java:15: cannot resolve symbol
    symbol : class Greeter
    location: class act4_1.Main
    Greeter greeter = new Greeter();
    Any help would be greatfully appreciated.
    tamtam

    I am completely new to Linux and just started with Java.
    Does anyone know a link to a step by step guide.
    in C++ say I had two files in the same directory "Greetings.cpp" and "Main.cpp" and there coresponding header files. Main.cpp uses an instance of the class Greeting. I would use include "Greeting.cpp" in Main.cpp so that the class Greeting would be available.
    In Java I have two files, Greeting.java and Main.java. Both have package act4_1 at the top of the file.
    Main.java
    package act4_1;
         Activity 4.1
         Main.java
         Runs Greeting.java
    import java.io.*;
    public class Main
         public static void main(String[] args) throws IOException
              Greeter greeter = new Greeter();
              greeter.Run();
    }Greeting.java
    package act4_1;
         Activity 4.1
         Greeter.java.
    import java.io.*;
    public class Greeter {
         public void Run() throws IOException
              System.out.println("Hello from TamTam");
    }How exactly do I get Main.java to accept the class Greeter.
    The path is as above.

  • JDeveloper won't compile project on linux

    I have used jDeveloper on Windows to build BPEL Projects without a problem. However most of the time I work on a linux machine and wanted to install the Development Version of BPEL on it.
    Everyting installed successfully, and jDeveloper loads. However, when I try to complie any BPEL Project I get:
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    validating "/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.bpel" ...
    /tmp/bpelc52374.tmp/BPEL-INF/src/bpel/p0/BPEL_BIN.java:0: Class org.collaxa.thirdparty.dom4j.dom.DOMElement not found in class com.collaxa.cube.xml.dom.CubeDOMElement.
    ^
    1 error
    The same exact workflow compliles and deploys successfully on windows. I've looked at all the classpaths and libraries and cannot find any differences between Windows and Linux installs. I even tried to copy the lib directories from the windows machine to the linux machine incase there was a bad .jar file or class, but still no luck. Is anyone successfully running jDeveloper on Linux and depolying BPEL Projects?
    Thanks,
    Kevin

    On my linux laptop, when I create a new BPEL project, I must add the ORABPEL library to the project. Then I can compile my project. Could this be the issue onyour side?

  • Occi::Number compilation problem in Linux

    Hi,
    I got following error when I complile my application which uses OCCI (Oracle C++ Call Interface) shiped with Oracle 9.2. I added the compiler flag -Dlint .
    When I dont add the compiler flag I dont get following error. My machine is running RedHat linux 7.3
    /usr/bin/g++ -c -I/opt/ora9/product/9.2/rdbms/demo -I/opt/ora9/product/9.2/rdbms/public -I/opt/ora9/product/9.2/plsql/public -I/opt/ora9/product/9.2/network/public myapp.cpp -g -Wall -DLiS -Dlint -DORACLE -I../include -DQT_THREAD_SUPPORT
    In file included from /opt/ora9/product/9.2/rdbms/demo/occi.h:40,
    from ../include/DatabaseSupport.h:17,
    from myapp.cpp:4:
    /opt/ora9/product/9.2/rdbms/demo/occiData.h:374: `oracle::occi::Number::Number (char)' has already been
    declared in `oracle::occi::Number'
    /opt/ora9/product/9.2/rdbms/demo/occiData.h:408: `oracle::occi::Number::operator char () const' has
    already been declared in `oracle::occi::Number'
    If I dont compile my application with -Dlint compiler flag I cant run the application.
    I think this is a bug in occi::Number class
    Any solusion??
    Thanking in advance
    nkran

    Your code is faulty and has to be fixed.
    No compilation problem is present, the compiler correctly barfs.
    As this is not a support forum, kindly keep your non-issues out of this forum.
    Thank you!!!
    Sybrand Bakker
    Senior Oracle DBA

  • Getting java code to compile on unix/linux

    I have been using borland JBuilder to run and compile my java code. Recently i tried moving the code to a linux machine in which i have downloaded the JDK to. My classes only use standard java classes with the exception of a jbcl.jar file which has a class that one of my classes relies on. It turns out when i try to run my class i get error messages because it cant find the jar file. Where should I put this jar file? by the way in my class i use the statement: where jbcl.layout is the class i need.
    import jbcl.layout.*;

    another question. In my class I use the statement
    import jbcl.layout.*;
    so all i need to do is add the jbcl.jar to my class
    path? is my import statement correctIf it compiles in your IDE, then it's correct. You shouldn't have to change anything at all in your source code to use a different compiler or to compile on a different platform. You just have set up the proper environment and parameters--tell it which .java files to compile, which jars or directories to search for classes in (classpath), etc. For IDEs you do that with the Preferences or Options menu item. For command line compilation you do this with command line arguments, config files (a la build.xml for ant), or environment variables (although relying on the CLASSPATH env var is generally a bad idea).

  • Compiler Error on Linux for jni.h, any solution?

    Hi all,
    i am using jni.h file provided by sun to compile my code on linux, but it gives me compile error. though it compiles properly on Windows and AIX.
    what could be the reason?
    jni.h:202: error: expected &apos;)&apos; before &apos;*&apos; token
    jni.h:204: error: expected &apos;;&apos; before &apos;jclass&apos;
    jni.h:1877: error: expected &apos;)&apos; before &apos;*&apos; token
    jni.h:1879: error: expected &apos;;&apos; before &apos;jint&apos;
    and many more !!!

    i am using jni.h file provided by sun to compile my code on linuxAre you sure about that? Check that it isn't the one provided with GNU CLASSPATH. If it is, delete GNU CLASSPATH altogether. It isn't Java, and the incompatibility of jni.h is one of many reasons why not.

  • How do you compile JNI in Linux

    I do JNI well windows using command line facility from Visual Studio but i have never learnt compiling native code for Linux...

    A makefile would probably make the most sense. Here's the docs for the GNU make - http://www.delorie.com/gnu/docs/make/make_toc.html

  • Compile form in Linux

    Hi,
    I developed one custom form using Linux.But, when I want to compile that form using f60gen it gives "-bash: line 36: f60gen: command not found" error message. As per I understand f60gen is not recognised.
    Can any one suggest me how to overcome this problem.My DBA has helpless regarding this matter.(I have f60gen.exe application in my bin directory).
    Thanks,
    Bhujendra

    Hi
    You have to log in as application user (if multi user created - applmgr - user for application tier and oracle -- user for database tier, based on the username you have specified while installation). Set the environment by running the following.
    $ . $APPL_TOP/SIDName_hostname.env
    $APPL_TOP (refers to <sidname>appl directory) will work only after setting the environment.
    After setting the environment navigate to particular directory where you have put fmb and run the f60gen command, it will work.
    Regards
    Senthilrjj

  • Forms compilation Errors under Linux

    Hello,
    I have a main form called Tbdoctrk.fmb.
    This forms compiles and runs perfectly through Oracle 9i iDS.
    When transfering the fmb file under Linux, and attempting to recompile using the f90genm.sh utility, I get the following compilation errors:
    FRM-18108: Failed to load the following objects.
    FRM-30436: Parent window not specified for canvas.View Canvas H_TOOLBAR
    FRM-30041: Position of item places it off of canvas.
    Item: BUTTON_HELP
    Block: VARIABLE
    Form: TBDOCTRK
    FRM: Unable to adjust form for output.
    ====
    I noticed that most of the object that failed to load (1 data block object, 1 canvas and a number of property classes and visual attributes) are contained in a file called TOOLBAR.fmb.
    The TOOLBAR.fmb file compiles without errors under Linux/WIndows + is located in the same folder as the Tbdoctrk.fmb file.
    1) How can I resolve this issue ?
    PT
    PS: I tried renaming the fmb files to upper/lower case without success.

    Hello,
    My main form called Tbdoctrk.fmb in turn calls a form called Pre_bord.fmb in a Program Unit.
    Most but not all Class and Value Attributes are included in a file called toolbar.fmb. I did not find any specific reference to the toolbar.fmb file.
    However, at compile time, I find that those objects are not loaded.
    1) In what part of the main form Tbdoctrk.fmb should I find any such reference to the toolbar.fmb file ?
    2) How should I create those symbolic links under Linux ?
    PT

  • Compiling AXI DMA linux drivers in SDK.

    Hi guys,
    I think I'm doing something wrong and It's making me crazy. I've got:
    Vivado 2015.2 w/ SDK.
    Zynq zc702.
    Tested in Linux 14.04 and Windows 7.
    And I want to use the axi dma drivers in a Linux application so that I downloaded the axidma_test.c example. At first most of the linux libraries threw an error until I linked somehow the libraries I found in the git repository "linux-xlnx/include".
    Then all of the "linux/*.h" libraries are recognized, but a new error appears: fatal error: asm/linkage.h not found. I tried to include this last one but I just made it worse. I cut down the code so that I only have a small snippet, having the same error:
    #include <linux/dma-mapping.h>
    int main() {
        printf("Hello World\n");
        return 0;
    I'm starting to think that I'm making it more difficult than it should be.
    Could anyone give me some advise how to successfully compile that small snippet? I would really appreciate it.
    Regards,
    Leroy
     

    Hello Leroy,
    Hmmm okay I found the one that I was thinking of:
    http://forums.xilinx.com/t5/Embedded-Linux/AXI-DMA-with-Zynq-Running-Linux/m-p/523105#M10658
    There's a presentation there with some code. About halfway down the pdf is an explanation of the software architecture for the AXI DMA linux driver and an explanation of where you need to add your application-specific layers and an example of doing so.
    As far as compiling, you really need two pieces still (bear in mind, I'm a little out of my area of expertise talking about the linux software side, so someone with more knowledge may correct the finer details. This is based on what I've gathered...):
    1) Kernel module to interface from the driver to userspace (for simplicity, you might use UIO for this like the second pdf that linnj posted in that link)
    2) Some application that runs in userspace that communicates with 1 above.
    For 1, you don't use SDK. You build a cross compile environment dependent on your kernel configuration and follow build steps:
    http://www.tldp.org/LDP/lkmpg/2.6/html/x181.html
    For 2, you'd use SDK as you are to build a Linux 'Application' (the word seems to have the connotation of running in userspace).

Maybe you are looking for

  • Error while performing SAP Installation in HA Env on Windows Server 2008

    Hello, I am performing a SAP Installation in HA Environment on Windows Server 2008. I am at the ASCS installation step. As per the guide before installing ASCS there are some activities to be carried out on Failover Cluster Management. I have done al

  • How do I set column width for a table?

    I want to set the same width for all the columns in a particular table. Is there anyway of doing this without having to actually manually adjust each individual column? Thanks

  • Why is the MacBook keyboard black instead of grey?

    A curious question about industrial design. When Apple released the unibody MacBook, why has the keyboard been changed to black instead of the original silver color from the older MacBook Pro models? I personally prefer grey keys a lot more than blac

  • Comparing Quotations

    Hi all,    In Price Comparision list,,,,is it possible to compare the RFQ's considering entire condition types,manual excise & vat values . will the values of the above mentioned condition types, maual excise and VAT can be displayed duing the compar

  • 3.1EA2 index edit display bug

    When editing a table by right-clicking on the table in the Connections window [table->Edit->Indexes], indexes that end in -UK or -FK (because they support unique-key or foreign-key constraints) do not appear in the list of editable indexes. The index