Compiled libraries

We are using a framework that consists of a set of project plans. These are
bundled into a library distribution, distributed as compiled (Compaq Tru64
Unix and Windows NT) and are used by other developers who import them into
their repositories.
They will create applications by subclassing one of the classes in the
library: the library contains a class X and the application built upon the
library uses a service object based on class Y which is a subclass of X.
Meanwhile, development on the framework can continue independently and new
compatible library versions (same _cl level) are released later. The
installed applications pick up the new libraries without the need to
redistribute those applications also ("upwards compatible").
Compatible means: only new classes can be added, only new methods and
attributes can be added, code within existing methods can be modified. No
deletion or signature change of existing classs/attributes/methods are
allowed since this would require
We found a bizarre problem recently.
By adding a single method to a class in the library upon which an
application is subclassed after installation of the library the applications
produce segmentation errors and are killed. We reduced the method to being a
simple "return" and not being called by anything within the framework: a
completely harmless method.
It appears that not always one is allowed to add methods to classes in
libraries - as if some pointers get shifted and mis-direct applications to
spots where only a segmentation error is appropriate in response.
Anyone ever seen this behaviour and, more importantly, know a way to work
around it or better still, to prevent it from happening?
Note that the error only occurs in compiled libraries and applications - not
when running interpreted (they work fine, but are too slow).
Theo de Klerk
Architecture & Application Integration
Professional Services
Compaq Computer Corp. - the Netherlands

We are using a framework that consists of a set of project plans. These are
bundled into a library distribution, distributed as compiled (Compaq Tru64
Unix and Windows NT) and are used by other developers who import them into
their repositories.
They will create applications by subclassing one of the classes in the
library: the library contains a class X and the application built upon the
library uses a service object based on class Y which is a subclass of X.
Meanwhile, development on the framework can continue independently and new
compatible library versions (same _cl level) are released later. The
installed applications pick up the new libraries without the need to
redistribute those applications also ("upwards compatible").
Compatible means: only new classes can be added, only new methods and
attributes can be added, code within existing methods can be modified. No
deletion or signature change of existing classs/attributes/methods are
allowed since this would require
We found a bizarre problem recently.
By adding a single method to a class in the library upon which an
application is subclassed after installation of the library the applications
produce segmentation errors and are killed. We reduced the method to being a
simple "return" and not being called by anything within the framework: a
completely harmless method.
It appears that not always one is allowed to add methods to classes in
libraries - as if some pointers get shifted and mis-direct applications to
spots where only a segmentation error is appropriate in response.
Anyone ever seen this behaviour and, more importantly, know a way to work
around it or better still, to prevent it from happening?
Note that the error only occurs in compiled libraries and applications - not
when running interpreted (they work fine, but are too slow).
Theo de Klerk
Architecture & Application Integration
Professional Services
Compaq Computer Corp. - the Netherlands

Similar Messages

  • Suggestions for compiling libraries on Leopard

    I'm finding it a real difficulty to get a couple of things I use for development up and running, and either my Google skills are failing me or people aren't asking this question:
    What is the best set of command line options to enter to allow for compilation as an x86_64 binary? I have a mac pro, but by default everything I've built so far compiles as an i386 file and won't run.
    I've tried the following line leading up to a configure shell command (very common in open source projects) with mixed results:
    CFLAGS='-arch x86_64 -DCPU=\"x86_64\" -Wc,-m64' LDFLAGS='-arch x86_64' ./configure
    Does anyone have any other ideas or better yet, something that works 100% of the time.
    TIA.
    Jason

    Not all open-source projects are as well "configure"-ed as others. I haven't yet done anything with x86_64, but I have had good success with the following aliases:
    alias uconfigure='env CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" ./configure --disable-dependency-tracking'
    alias uconfigurelib='env CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" ./configure --prefix=/Programming/Libraries --disable-dependency-tracking'
    alias umake='env CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" make'
    Some caveats. These aliases are probably overkill and are doing the same thing redundantly over, and over again. But some of the projects I have had to compile just weren't done correctly and I really had to work on them to get UB versions. Also, I have done very little with Leopard and nothing with x86_64. Finally, the uconfigurelib alias is so I can install libraries in a non-standard location, out of the path, and test including dynamic libraries inside an application bundle.
    None of these aliases will work for every project. In some cases, they could screw something up badly. In particular, if an application/library uses #defines to do byte-swapping, or even does any byte swapping, you'll have additional work to do. Also, if the software wants to access installed data in the "--prefix" path, then uconfigurelib will not work properly.
    So no, these are not 100% guaranteed, but they are a good start and have worked fine on several projects.

  • ProC compiler libraries

    Does anyone know what the ProC library's dependencies are? Or
    know where they are documented? I may be wrong, but it appears
    that if you use one library like libcore4.a then it needs some
    other library during linking. We were using our own makefiles for
    Oracle7.x, but the libraries are different for Oracle8. Thanks.
    null

    Erik Nielsen (guest) wrote:
    : I've had to use:
    : -lsql -lcore4 -lnlsrtl3 -lgeneric -lcommon -lnetwork -lncr \
    : -lcore4 -lnlsrtl3 -lm -lclntsh -lndwzp -lwrcpi
    : To compile with proc. Hope this helps... I think some of these
    : libraries are oas libs, and I don't know why it should be that
    : way, but this worked. It's been pretty much trial and error
    for
    : me.
    : Erik
    : Harvey Berenberg (guest) wrote:
    : : Does anyone know what the ProC library's dependencies are?
    Or
    : : know where they are documented? I may be wrong, but it
    appears
    : : that if you use one library like libcore4.a then it needs
    some
    : : other library during linking. We were using our own makefiles
    : for
    : : Oracle7.x, but the libraries are different for Oracle8.
    Thanks.
    Your best bet may be to look at the demo_proc.mk file found in
    ${ORACLE_HOME}/precomp/demo/proc. I tend to use this makefile
    for all of my project to save time, it works, why sould I
    rewrite it?
    Alan.
    null

  • 11G compiling libraries (.pll)

    I am trying to compile a library in 11G within Forms Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 . I am receiving the following error message "frm-91507 : Internal Error: Unable to generate library. ". Any ideas? Thanks.
    Jaffee

    Jaffee2 wrote:
    I am trying to compile a library in 11G within Forms Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 . I am receiving the following error message "frm-91507 : Internal Error: Unable to generate library. ". Any ideas? Thanks.
    JaffeeWhat do you mean with copiling a pll within a database???
    pll is a forms client library that can only be compiled within forms. And there, modules are upward but nor downward comatible.

  • Question about creating libraries in Forte'

    I'm looking into creating compiled libraries in Forte' to create a
    "plug-and-play" interface among different implementation products. This
    would allow us the ability to remove one library and upgrade it with
    another assuming that the interfaces were the same. I'm using the
    AddProjToLib to create a "super library" and am setting all of the
    components as compiled. I am able to make the application distribution
    with no problem. The problems that I am having are two-fold:
    1) First auto-compile services cannot handle this "super project"
    correctly. Don't get me wrong I HATE autocompile services but I decided to
    give it a shot and see what happened. With that avenue gone, I went to
    fcompile the individual libraries...these have to be done by supplier plan
    order which is no big deal. The problem I ran into was that Forte' lower
    cases all of the directory names, but the linker expected in some cases
    that the directories would have some uppercase letters. The general rule
    of thumb I found was that the directory name has to match the library name
    generated. Forte' generated the library name with the proper letters
    uppercase, but failed to do this to the directory structure. Obviously
    this makes automating library creation a little more painful. This really
    isn't a show stopper just a point I'd like to bring up in case and Forte'
    people actually read these threads.
    2) The major road block I ran into is the fact the Forte' statically
    stores the full path of the libraries it is using during link/compilation
    in the generated shared library. Forte's solution of just creating
    symlinks (solution I found from their Technical Notes) is appalling at best
    and does not support having multiple versions of libraries built from a
    single installation running on the same machine (Unless you do simulated
    environments to create a pseudo-new area...but I don't want to get into
    that). Currently we are doing something extremely hoaky to solve this
    problem with the few libraries that we have, but if we move to a more large
    scale library solution this will not work.
    I would love to hear any comments or suggestions about any of this. It is
    sad that Forte' does not implement such a basic concept as SHLIB_PATH in
    their shared libraries. By not doing this, it makes compiled libraries a
    major hassle and potentially a waste of time.
    Thanks for any comments that you might have in advance,
    Scott Francis
    Security First Technologies
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    I'm looking into creating compiled libraries in Forte' to create a
    "plug-and-play" interface among different implementation products. This
    would allow us the ability to remove one library and upgrade it with
    another assuming that the interfaces were the same. I'm using the
    AddProjToLib to create a "super library" and am setting all of the
    components as compiled. I am able to make the application distribution
    with no problem. The problems that I am having are two-fold:
    1) First auto-compile services cannot handle this "super project"
    correctly. Don't get me wrong I HATE autocompile services but I decided to
    give it a shot and see what happened. With that avenue gone, I went to
    fcompile the individual libraries...these have to be done by supplier plan
    order which is no big deal. The problem I ran into was that Forte' lower
    cases all of the directory names, but the linker expected in some cases
    that the directories would have some uppercase letters. The general rule
    of thumb I found was that the directory name has to match the library name
    generated. Forte' generated the library name with the proper letters
    uppercase, but failed to do this to the directory structure. Obviously
    this makes automating library creation a little more painful. This really
    isn't a show stopper just a point I'd like to bring up in case and Forte'
    people actually read these threads.
    2) The major road block I ran into is the fact the Forte' statically
    stores the full path of the libraries it is using during link/compilation
    in the generated shared library. Forte's solution of just creating
    symlinks (solution I found from their Technical Notes) is appalling at best
    and does not support having multiple versions of libraries built from a
    single installation running on the same machine (Unless you do simulated
    environments to create a pseudo-new area...but I don't want to get into
    that). Currently we are doing something extremely hoaky to solve this
    problem with the few libraries that we have, but if we move to a more large
    scale library solution this will not work.
    I would love to hear any comments or suggestions about any of this. It is
    sad that Forte' does not implement such a basic concept as SHLIB_PATH in
    their shared libraries. By not doing this, it makes compiled libraries a
    major hassle and potentially a waste of time.
    Thanks for any comments that you might have in advance,
    Scott Francis
    Security First Technologies
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Error FRM-30312 while compiling a custom pll library on forms 11g weblogic

    hi,
    this is my case:
    Im trying to upgrade a forms 10g application to 11g, using FORMS 11g v11.1.1.3 and WEBLOGIC server v10.3.3.
    Forms files compiled correctly, also webutil.pll was correctly compiled.
    but if I try to compile my custom pll I can see the error...
    when I run application, this erros msg appears:
    FRM-40735: ON-ERROR trig raised unhandled exception ORA-06508
    I have this script to compile .pll files (libraries):
    +#SCRIPT TO COMPILE LIBRARIES+
    export ORACLE_INSTANCE=/opt/oracle/Middleware/asinst_1
    export ORACLE_HOME=/opt/oracle/Middleware/as_1
    export ORACLE_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export FORMS_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    export FORMS_DEFAULTFONT="Lucida.9"
    for i in `ls *.pll`
    do
    echo Compiling: $i ....
    file=$i
    +$ORACLE_INSTANCE/bin/frmcmp.sh Module=$i Userid=user/pwd@db Module_Type=LIBRARY Batch=YES+
    done
    But this error is shown:
    Compilation errors on RP2RRO:
    PL/SQL ERROR 201 at line 106, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 106, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 123, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 123, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 153, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 153, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 169, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 169, column 8
    Statement ignored
    Failed to generate library.
    FRM-30312: Failed to compile the library.
    I tried finding the string on the source code and delete or replace, but the only strings remainding are for example "RP2RRO_RUN_PRODUCT()", It looks like compiler finds the string within the entire word.
    I need help.

    InoL, Thank you very much.
    I know rp2rro.pll was there, and I compiled it successfully, and place it to the correct folder.
    but I did not know that my custom pll had the rp2rro as a program unit.
    I solve this problem replacing the code inside my custom library with the rp2rro.pll code that comes with forms 11g
    THANKS again.

  • UnsatisfiedLinkError: Can't find dependent libraries

    Hello,
    Am currently developing an application based on JNI. I have, after linking required libraries in c and compiling it, created a dll file 'hidapi.dll', which i load in java program via System.loadLibrary("hidapi") and compile it. When i run it in my machine (after of course, putting the dll file in System32 folder - Am using Wn 7 for your info.. ), the code runs perfectly fine. So far so good.
    But when i put the dll file in another machine the dll file is not getting loaded... My code gives an exception java.lang.UnsatisfiedLinkError: C:\Windows\System32\hidapi.dll: Can't find dependent libraries... When i tried to have the verbose messages through -verbose:jni , I get the following message.
    [Dynamic-linking native method java.io.FileOutputStream.writeBytes ... JNI]
    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Window
    s\System32\hidapi.dll: Can't find dependent libraries
    [Dynamic-linking native method java.lang.Throwable.getStackTraceDepth ... JNI]
    [Dynamic-linking native method java.lang.Throwable.getStackTraceElement ... JNI]
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)[Dynamic-linking native method sun.awt.windows.WComponentPeer.nativeHandleEvent ... JNI]
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at hidsignalapi.UsbPctoolJni.<clinit>(UsbPctoolJni.java:46)
    hidsignalapi.UsbPctoolJni is the class where i load the dll file, and line 46 is exactly the line where i wrote 'System.loadLibrary("hidapi");'
    I saw in a few forums to ensure the class names are correct... But if that is the case, it must not run in my system too right? The only linked files are jni.h and a custom library hidapi.h. Should the hidapi.h too must be put in classpath? Has any body has any idea about this..?
    Thanks,
    Sreram

    It is technically possible to create a C/C++ application without using compiler libraries but it that is an esoteric subject that has nothing to do with anything you might be doing with JNI.That is exactly, being a java programmer, where am stuck.
    I am rather certain that the missing component, hidapi.dll, has nothing to do with C/C++ compiler libraries. Yes. I, in my Java code, am loading the hidapi.dll dynamically, to perform some communication with the USB device, which is a JNI C dll, I created using VS2010 and the C code uses the static library setupapi.lib (for communicating directly with the OS).
    And unless you have a static library for that, which is not the same as the dll, there is no way you are going to link to that statically.I have MS SDK V7.0A pre-installed (along with Visual Studio - VS2010) in my system which has the library. So it works in my System (Windows 7). Problem arises only when i try to run the same code in another system, which has no VS.
    Realistically what it really comes done to is that you must understand what dependencies your own application has first before you explore the options for delivering it.That is exactly what i am trying to do here.
    Now i have a few questions here.
    One: Do i need to install SDK in every system for the static linking and in tun my code to work? Or will it suffice if i put the setupapi.lib in path? Or should i convert the static linking to dynamic linking? (I realize i am asking more of C related questions in a Java forum, but I am sure your answers will help me in creating a working code.)
    Two: After pathetically failing to create a working dll with VS2010, I tried to compile the code using Mingw gcc compiler and my code (C & JNI code) compiles successfully, but I do not know how to create a dll file by properly linking with the library files.
    After compiling the code with the -c option, creating hid.o for the hid class and hidapi_wrap.o for the JNI wrapper, I tried to create a dll with the following command.
    D:\Sreram>gcc -Wl,-kill-at -o hidapi.dll hidapi_wrap.o hid.o
    hid.o: In function `hid_enumerate':
    D:\Sreram/hid.c:286: undefined reference to `_imp__SetupDiGetClassDevsA@16'
    D:\Sreram/hid.c:295: undefined reference to `_imp__SetupDiEnumDeviceInterfaces@20'
    D:\Sreram/hid.c:310: undefined reference to `_imp__SetupDiGetDeviceInterfaceDetailA@24'
    D:\Sreram/hid.c:324: undefined reference to `_imp__SetupDiGetDeviceInterfaceDetailA@24'
    D:\Sreram/hid.c:463: undefined reference to `_imp__SetupDiDestroyDeviceInfoList@4'
    c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../libmingw32.a(main.o): In function `main':
    C:\MinGW\msys\1.0\src\mingwrt/../mingw/main.c:73: undefined reference to `WinMain@16'
    collect2: ld returned 1 exit status
    Obvious that the linker has no clue about these functions which are defined in external library 'Setupapi.lib' & setupapi.dll and hence I tried linking the file by adding the command '-lsetupapi.lib' (without 's), '-llibsetupapi.a' and -l'setupapi.dll' in vain. The compiler says
    c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -llibsetupapi.a (with whatever linker option i give)
    collect2: ld returned 1 exit status
    What am i doing wrong here?
    And three: Even if i succeed in creating a working dll, will it work in other Windows operating systems - I know i had to create a separate library file (.so) in linux and whatever in mac - like Windows XP, Windows Server 2003, etc.?
    Thanks for your patient replies and excuse me for such a long reply.
    Sreram

  • Compilation problem in Forms 10g

    Currently we are upgrading from 6i to 10g forms
    we have 2 forms which we will complie partially in 10g and the form gets closed as a corrupted file.
    The same form when complied in 6i works fine.
    What can be the possible problem.
    Please help
    Thanks
    Yaaminy
    480-262-7881

    hi
    create a batch file of the following commands and compile them i hope it helps u.
    @ECHO OFF
    cls
    Echo compiling libraries 10g ....
    for %%f IN (*.pll) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
    ECHO libraries compilation complete
    ECHO ----------------------------------
    Echo compiling menus 10g ....
    for %%f IN (*.mmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
    ECHO menus compilation complete
    ECHO ----------------------------------
    Echo compiling forms 10g ....
    for %%f IN (*.fmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    ECHO form compilation complete
    ECHO ----------------------------------
    ECHO Form Compilation completesarah

  • Flash Builder 4.7 frequent compiler issues/restarts

    Basically Flash Builder 4.7 on Mac OSX 10.7.5 is unusable. Very frustrating.  Constant compiler issues that require frequent cleaning, closing of projects, restarts of FB, and even re-installs.  I've seen none of these issues on FB 4.6 with the same projects/code.
    The most common visible compiler errors are these two that randomly appear:
    1) An internal build error has occurred
    2) classes must not be nested
    I tried increasing memory as some have suggested, but this has no effect.
    It takes me 100 times longer to code now becuase every tiny code change cuases these errors.  Crazy!
    Before I revert back to FB 4.6, any suggestions? 
    Thanks,
    Don

    Hi!
    Close any unneeded projects in workspace.
    You can also split your large project to few libraries compiled into SWC. After compiling libraries, if not need to change often, close their projects. When such projects are closed main project compiling with just use of SWC libraries usually takes much less resources.

  • Trouble compiling a library

    Hi folks, I'm experiencing a trouble using forms & reports on two different platforms: Win XP Prof. SP2 for development and SuSe Ent. 9 Linux for deployment.
    I've inherited from another person an application with some forms, some reports and two libraries (one attached to the forms annd the other attacched to the reports).
    I've modified a function in the library attacched to the reports. It compiles ok on XP.
    Moved the library (.pll file) to Suse I tried to compile with:
    #!/bin/sh
    PATH_SAVE=$PWD
    ORACLE_HOME=/opt/oracle/app/oracle/product/frs10.1.2
    export ORACLE_HOME
    FORMS_PATH=/opt/csa/sw/webapp/FORMS:/opt/csa/sw/webapp/CSA_LIBS
    export FORMS_PATH
    REPORTS_PATH=/opt/csa/sw/webapp/REPORTS:/opt/csa/sw/webapp/CSA_LIBS
    export REPORTS_PATH
    TNS_ADMIN=$ORACLE_HOME/network/admin
    export TNS_ADMIN
    TWO_TASK=csa_v30/csa_v30@csa5i009
    export TWO_TASK
    ORACLE_SID=csa5i009
    export ORACLE_SID
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/lib
    export LD_LIBRARY_PATH
    ORACLE_TERM=vt220
    export ORACLE_TERM
    # COMPILE LIBRARIES
    cd /opt/csa/sw/webapp/CSA_LIBS
    $ORACLE_HOME/bin/frmcmp_batch module=LIB_CSA_FORMS.pll userid=csa_v30/csa_v30@csa5i009 module_type=LIBRARY compile_all=YES logon=YES batch=YES
    # COMPILE FORMS and MENUS
    cd /opt/csa/sw/webapp/FORMS
    for file in *.fmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=FORM compile_all=YES logon=YES batch=YES
    done
    for file in *.mmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=MENU compile_all=YES logon=YES batch=YES
    done
    cd $PATH_SAVE
    unset PATH_SAVE
    and obtained:
    PL/SQL ERROR 201 at line 58, coloumn 5
    identifier 'SRW.SET_FOREGROUND_FILL COLOR' must be declared
    FRM-30312: Failed to compile the library
    Some useful data:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production
    And:
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    Oracle Procedure Builder 10.1.2.0.2
    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
    Oracle CORE     10.1.0.4.0     Production
    Oracle Tools Integration Services 10.1.2.0.2
    Oracle Tools Common Area 10.1.2.0.2
    Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
    Resource Object Store 10.1.2.0.2
    Oracle Help 10.1.2.0.2
    Oracle Sqlmgr 10.1.2.0.2
    Oracle Query Builder 10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 10.1.2.0.2
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    Oracle Virtual Graphics System 10.1.2.0.2
    Oracle Image 10.1.2.0.2
    Oracle Multimedia Widget 10.1.2.0.2
    Oracle Tools GUI Utilities 10.1.2.0.2
    Any advice will be welcome
    Thanx
    Rob

    This package currently compiles fine with the latest gcc (at least last time I checked), but still I'm having trouble making a package for it because I don't know how to get it to install to a custom location like the $startdir/pkg directory.

  • Compilation Errors "skipp incompatible" installing oracle 10g on linux 64z9

    Hello Friends,
    I have errors while installing Oracle 10g 10.2.0 for z9 Systems on a IBM Z/OS System with a SLES 10 Linux for z9 (64bit System).
    The Problem:
    Some programs of oracle cause errors while compiling libraries.
    The Error:
    ------------ With LD_LIBRARY_PATH set to $ORACLE_HOME/lib (which contains 64bit libs) -------------------
    (13:54) [oracle@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/bin
    [b]> ./genclntsh
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so when searching for -ldl
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libm.so when searching for -lm
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libnsl.so when searching for -lnsl
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/librt.so when searching for -lrt
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/libclient10.a(obindps.o): relocation R_390_PC32 against `ocibndps' can not be used when making a shared object; recompile with -fPIC
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: final link failed: Bad value
    collect2: ld gab 1 als Ende-Status zurück
    genclntsh: Failed to link libclntsh.so.10.1
    ------------ With LD_LIBRARY_PATH set to $ORACLE_HOME/lib32 (which contains 32bit libs) ------------------
    (13:54) [oracle@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/bin
    export LD_LIBRARY_PATH=/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32(13:54) [oracle@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/bin
    ./genclntsh/usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so when searching for -ldl
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libm.so when searching for -lm
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libnsl.so when searching for -lnsl
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/librt.so when searching for -lrt
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/libclient10.a(obindps.o): relocation R_390_PC32 against `ocibndps' can not be used when making a shared object; recompile with -fPIC
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: final link failed: Bad value
    collect2: ld gab 1 als Ende-Status zurück
    genclntsh: Failed to link libclntsh.so.10.1
    (13:54) [oracle@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/bin
    Questions:
    1) LD_LIBRARY_PATH doesn´t change any behavior of oracle - means the lib-path used stays on the 64bit directory. WHY?
    2) All necessary packages are installed (checked with Oracle Admin Docu!). All other devel and lib and compile and stuff packages are installed as 64 and 32 bit version. OK Nearly every f*#(#*_ package which has something to do with compilation and make processes is installed. COULD SOMETHING BE STILL MISSING?
    3) What do I have to change to get compilation with 32bit?
    4) Is it reasonable to compile with 32bit ? I think it isn´t.
    4) This is a S390 System so are there any special libs or patches to install for Oracle?
    5) Where are the 64bit libs for oracle ??????? (See below)
    What I found out:
    The libraries in $ORACLE_HOME/lib and ../lib32 are both 32 bit .... ????? WHY? Not wondering its incompatible.
    (13:56) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    find /ASLing01/opt/apps/oracle10g/app/oracle -name "libdl*"/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl-2.3.2-stub.so
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so.2
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl-2.3.2-stub.so
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so.2
    (14:37) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    file /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    (14:39) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    file /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    (14:40) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    file /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl-2.3.2-stub.so/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl-2.3.2-stub.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    (14:40) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    file /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so.2/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    (14:40) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle[ i]
    Libraries are loaded from system as follows:
    [i](14:37) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    ldconfig -p|grep -i libnsllibnsl.so.1 (libc6,64bit, OS ABI: Linux 2.6.4) => /lib64/libnsl.so.1
    libnsl.so.1 (libc6, OS ABI: Linux 2.6.4) => /lib/libnsl.so.1
    libnsl.so (libc6,64bit, OS ABI: Linux 2.6.4) => /usr/lib64/libnsl.so
    libnsl.so (libc6, OS ABI: Linux 2.6.4) => /usr/lib/libnsl.so
    ldconfig -p|grep -i libdllibdl.so.2 (libc6,64bit, OS ABI: Linux 2.6.4) => /lib64/libdl.so.2
    libdl.so.2 (libc6, OS ABI: Linux 2.6.4) => /lib/libdl.so.2
    libdl.so (libc6,64bit, OS ABI: Linux 2.6.4) => /usr/lib64/libdl.so
    libdl.so (libc6, OS ABI: Linux 2.6.4) => /usr/lib/libdl.so
    Thanks for help!
    Markus
    Message was edited by:
    user579884

    Not very helpful, but SLES10 is NOT certified on this platform, only SLES9.
    Werner

  • Static Libraries

    I am trying to compile a jsoncpp into a static libraray (libjson.a) using the ar command.
    I am using "ar rvs libjson.a json.o" after compiling the library into json.o.
    I then try to compile another libary and include a static reference to the libjson.a file (using -ljson) and I receive the following error:
    error: json: no archive symbol table (run ranlib)
    Before I spend too much time tracking this down, I was wondering if I was on the right path here.  Is static linking allowed with flascc?  Should I be using SWC files instead for compiling libraries?  Should I simplify matters by simply compiling the json libary into my project by just including the cpp files?
    Thank you!
    Robert

    You're definitely on the right path. Flascc allows *only* static linking, so the approach is correct.
    I've had exactly the same error message before, but I can't remember the cause Probably ar parameters? I use "ar rcs" in my scripts.

  • How to compile forms 6i in Linux

    Hi Friends,
    In windows I just open a form buider gui and click compile.
    how do I compile forms in linux?
    Thanks a lot

    hi
    try the following command.
    @ECHO OFF
    cls
    Echo compiling libraries 10g ....
    for %%f IN (*.pll) do frmcmp.sh userid=User_name/pass@orcl module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
    ECHO libraries compilation complete
    ECHO ----------------------------------
    Echo compiling menus 10g ....
    for %%f IN (*.mmb) do frmcmp.sh userid=User_name/pass@orcl module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
    ECHO menus compilation complete
    ECHO ----------------------------------
    Echo compiling forms 10g ....
    for %%f IN (*.fmb) do frmcmp.sh userid=User_name/pass@orcl module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    ECHO form compilation complete
    ECHO ----------------------------------
    ECHO Form Compilation completei hope it will help u.
    sarah

  • Compile forms and reports in linux os

    hi,
    i like to know how to compile forms and reports in linux os?
    please provide me the commands for compiling of forms and reports.
    Regards
    Ravikumar.A

    hi
    i do not know u r form version but the following command is for Forms [32 Bit] Version 10.1.2.0.2 (Production)
    try this.
    @ECHO OFF
    cls
    Echo compiling libraries 10g ....
    for %%f IN (*.pll) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
    ECHO libraries compilation complete
    ECHO ----------------------------------
    Echo compiling menus 10g ....
    for %%f IN (*.mmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
    ECHO menus compilation complete
    ECHO ----------------------------------
    Echo compiling forms 10g ....
    for %%f IN (*.fmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    ECHO form compilation complete
    ECHO ----------------------------------
    ECHO Form Compilation completefor linux i think its frmcmp.sh just make changes here.
    sarah

  • How to solve "No working C compiler found"

    I came across this problem while compiling libraries which ffmpeg needs. I have already installed Xcode 5.1.1, and use OS X 10.9.4.
    btw, I got this error at make -j 2 && make install step
    svn co https://svn.code.sf.net/p/xavs/code/ xavs
    ./configure --prefix=${TARGET} --disable-asm
    make -j 2 && make install
    Could anyone help me with this? thanks in advance

    Did you install the command line tools? If not and you are compiling this outside of Xcode you need to.
    You can use
    Xcode-select --install
    from the command line

Maybe you are looking for

  • ITunes displaying error message when trying to copy songs to iPod

    I've been having intermittent problems with my iTunes/iPod setup since about the time I got an iPhone 3G. The problems were with syncing or not mounting correctly. I'm still having the mounting issues but I'm no longer able to sync my contacts at all

  • Attachment missing in back end for purchase order

    Hi all, We are using SRM 5.0 SP10 extended classic scenario. I have created a shopping cart with attachment. A local purchase order has been successfully created and i can find the attachment in it. When i check in the backend the purchase order does

  • Itunes 6 error

    Hi guys. I have recently upgraded to itunes 6, installed it and quicktime 7.0.3. When i try and run itunes the following error message occurs: "Quicktime version 7.0.2 is installed, Itunes requires Quicktime 7.0.3 or later. Please re-install Itunes."

  • Just upgraded to new iTunes, downloaded shows, will not play.

    I just upgraded to the newest itunes last night, and today I downloaded three episodes of Lost. They will not play. It says time is elapsing, but there is no sound or video, just a gray screen. Does anyone have any idea why?

  • PB G3 Pismo-Stalls, Hard Disk Disappears

    [NOTE - This message originally posted in Older Hardware discussion group. One response appears at end of original message.] PB G3 firewire (Pismo) OS 10.4.2 Fastmac G4 550 processor 576 mb RAM Western Digital 60 MB HD (replacing Toshiba 40 mb HD tha