Linking 64 bit objects with 32 bit library(.so)

Can we link x86 64 bit objects(*.o and *.a) with x86/32 bit i.e. ELFCLASS32 library (.so)?
I tried to do this but snagged in errors -
cc -fast -xarch=amd64 -o ABC a64_1.o a64_2.o L164.a -l32bitlib
ld: fatal: file lib32bitlib.so: wrong ELF class: ELFCLASS32
Is any workaround available to solve this issue?

You cannot mix 32-bit and 64-bit code in the same program. The entire program, including shared libraries that are linked, must all be 32-bit or all 64-bit. This rule applies on Solaris and Linux, on all platforms.

Similar Messages

  • Link a "Smart Object" with his Mask - possible?

    Hello -
    Is there a way to link a smart object and his mask?
    It's really annoying, because, when I move my smart object, his mask doesn't follow!
    Thank you, have a nice end of day
    - Dimitri

    At this time, Smart Objects can't have masks linked to them. So place your smart object in a group by itself, then create a mask for the group.

  • Linking of SRM OBN with Custom SRM POWL WDA application

    Hi All,
    We have our Producer portal with version 7.0 sp14 and Consumer with version 7.4 sp05.
    We have "Check Status" a SRM Standard POWL application integrated in portal and all the Navigation OBNs are working fine with it.
    our ABAP team developed a custom POWL application only for Buyers to show the shopping carts.
    We have successfully integrated the POWL application in SRM portal.
    we have added the iView to Role and added the navigation folder with all BO objects for OBN.
    however when we assign the role to user, we are getting Portal Runtime Error.
    Please help us on how to link OBN Business Objects with Custom POWL application.
    Thanks in advance.
    Regards,
    Vijay.

    Hi Vijay,
    Your portal versions are not compatible. Please check note 1295662 - 'Interoperability between 2 portals in FPN environment' where you will see that in order to setup a federation between a 7.4 portal and 7.00, the 7.00 system must be on at least SP25.
    Thanks and regards,
    Lorraine

  • 64 bit library load issue: Can't load AMD 64-bit .so on a AMD 64-bit platfo

    I get the folowing error when calling load/loadLibrary:
    Can't load AMD 64-bit .so on a AMD 64-bit platform
    I am hoping someone has a clue about this.
    uname -a
    Linux GeorgeNSuSe 2.6.8-24.25-default #1 Thu Aug 24 09:57:32 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
    java -version
    java version "1.5.0_11"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_11-b03, mixed mode)
    Makefile for library:
    ieldex.so: BitSet.o
    ld -Map libyieldex.map -shared -o libyieldex.so BitSet.o
    BitSet.o: BitSet.cpp
    gcc -ansi -Wall -fPIC -save-temps -march=k8 -m64 -I/usr/java/jdk1.5.0_11/include/linux -I/usr/java/jdk1.5.0_11/include/ -c -o BitSet.o BitSet.cpp
    java command:
    /usr/java/jdk1.5.0_11/jre/bin/java -server -d64 -classpath yieldex.jar com.yieldex.BitSet
    Thanks!
    George

    ok. I was able to resolve this.
    When I used JDK 5.0 u12 , I ran into this weird cryptic error
    Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: libsetupSDKJNI.so: Can't load AMD 64-bit .so on a AMD 64-bit platform
    Now, replacing JDK 5.0 with JDK 6, gives a more useful error
    Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: libsetupSDKJNI.so: undefined symbol: __gxx_personality_v0
    Good. this at least tells me that there is some problem with my native library. So, after some googlng , I recompiled my native library with 'g++' and added -lstdc++ as dependency.
    this finally solved my problem.
    hope this helps some one.

  • 16 bit library

    I have a 16 bit library, compiled with Borland C/C++, for a data adquisition
    card. I want to use it with Labwindows/CVI. Can I use it with Labwindows/CVI
    4.0.1 wich have a 32 bits compiler? if i had to use a 16 bits compiler,
    which version of CVI i have to use?
    Thanks a lot.

    Thanks Fernando but the library I want to use is a static library.
    "Fernando" escribió en el mensaje
    news:[email protected]..
    >
    > From Labwindows/CVI Programmer Reference Manual: LabWindows/CVI for
    windows95
    > and NT does not load 16-bit DLLs. If you want to do so, you must obtain
    > a 32-to-16-bit thunking DLL and a 32-bit DLL import library.
    >
    > "Emilio J. Góngora" wrote:
    > >I have a 16 bit library, compiled with Borland C/C++, for a data
    adquisition>card.
    > I want to use it with Labwindows/CVI. Can I use it with
    Labwindows/CVI>4.0.1
    > wich have a 32 bits compiler? if i had to use a 16 bits compiler,>which
    version
    > of CVI i have to use?>>Thanks a lot.>>

  • Linking smart objects with it's layer mask

    ther must be a way to link smart objects with it's layer mask without having to rasterize....isn't there?

    You're pre-CS4 right?
    1) Upgrade to CS4
    2) Put SO in a group, link mask to group
    3) ...
    4) Profit!

  • Problem with the math library functions

    Hi,
    I encountered a problem related to some functions provided by math library on sun. I narrowed it down to the following test program:
    ========================================================
    #include<stdio.h>
    #include<math.h>
    void pow_res()
    double x = 10.0;
    double y = 2.5;
    printf("pow(%.2e, %.2e):%.20e\n", x, y, pow(10.0, 2.5));
    void cos_res()
    double x = -6.433230338433114370e-02;
    printf("x:%.20e cos(x):%.20e\n", x, cos(x));
    int main()
    pow_res();
    cos_res();
    return 0;
    ========================================================
    The above test program has to be linked with any math library. It is �libm� for amd64/linux, but for sparc we have choice between �libm� and �libmopt�. I am compiling above program with "cc <test_program.c> <-lm/-lmopt>" command.
    On sparc, if the above test program is getting linked with �-lm" then it gives same results for the �cos� on both amd64 and sparc, but gives different results (16th decimal digit onward) for �pow�. If it is getting linked with �-lmopt� then it gives same result for the �pow� on both the platforms, but gives different results for �cos�. Linux results match with the amd64 results.
    The �Numerical Computation Guide� provided by SUN (ftp://docs-pdf.sun.com/802-5692/802-5692.pdf page 40, table 2.10 ) says that you can trust only 15-17 decimal digits for double calculation. But here the requirement is to match the sparc results exactly with the amd64/linux or at least match the result till 20th decimal digit. I guess it is something to do with the FPU setting either through compiler options or code. I tried many different compiler options, like -fast, different combinations of compiler options provided by -fast macro, but nothing helped.
    Following is the system configuration:
    Amd64:
    gcc version: 3.3.6
    OS: RedHat Enterprise Linux 3.0 U7 (Linux 2.4.21-40.ELsmp x86_64)
    Sparc:
    cc version: Sun C 5.8 Patch 121015-01
    OS: SunOS 5.9 Generic_118558-21 sun4u sparc SUNW,Sun-Fire-280R
    It will be great if somebody can explain the problem and the solution to get rid of it.
    Many thanks,
    Sunil

    Transcendental functions are not specified to be correctly rounded in the same
    sense as +-*/.     So it's entirely possible, and often observed, that libraries of equal
    quality deliver slightly different results.
    To simplify, suppose one wanted to compute x = 4*atan(1.0)
    which happens to be the
    transcendental number pi which is roughly, in hex and in decimali:
    .C90F DAA2 2168 C234 C... * 2^4 or 3.141592653589793239...
    But binary floating-point arithmetic can only represent certain rational numbers of
    the form of an integer of at most 53 significant bits times a power of two. The
    nearest double-precision number to pi is
    .C90F DAA2 2168 C * 2^4 or roughly 3.141592653589793116...
    This particular number has a large but finite decimal expansion. And if you
    do printf with %e.20 you will get the 20 decimal digits of that double-precision
    number's expansion, not the 20 decimal digits of pi, which only agrees to the
    15 significant decimals 3.141592653589793 and differs afterward.
    In the case of pow(10.0,2.5), (which happens to be sqrt(1.0e5))
    the correct result in hex looks something like
    .9E1D 276F D4BA C410 C... * 2^9 or roughly 3.162277660168379332...E+2
    in hex notation, while the closest double precision number is
    .9E1D 276F D4BA C8 * 2^9 or roughly 3.162277660168379612...E+2
    but it's only slightly closer than the next closest double precision number
    .9E1D 276F D4BA c0 *2^9 or roughly 3.162277660168379043...E+2
    Either answer is a good answer, and math libraries might that only aspire to
    deliver results that are close to correctly rounded might deliver either, depending
    on which approximation algorithm is used, which might depend on what's fastest
    on a particular processor.
    So why don't math libraries deliver correctly rounded results instead of almost?
    Because the slight extra increase in accuracy doesn't do much good for most
    people, and the major decrease in performance is noticeable by lots of people.
    The main payoff of correctly rounded transcendental functions is that they
    promote uniform numerical results across platforms, which is worth something
    to some people but not much to many people.
    So for those who find it worthwhile, there are correctly rounded transcendental
    function libraries available. Sun's development version is available at
    http://www.sun.com/download/products.xml?id=41797765
    Another solution for some people is to change double variables and functions
    to long double, using powl and cosl in the examples. That increases the
    accuracy to almost 20 digits on x86 and over 30 digits on SPARC, and while
    the same issues eventually arise, most users would never encounter them.
    The SPARC long double implementation is in software rather than hardware,
    and so entails a major performance reduction compared to double.
    The Numerical Computation Guide at docs.sun.com discusses many of these
    issues at greater length.

  • Details needed for using two hard drives with one iTunes library

    I posted this under the iTunes section but now that I think of it, it's more of an Apple TV question since I'm only concerned about how it affects my 2 ATVs.
    I have a MacMini(G4) that acts as a media server for our 2 ATVs. I use one library on the Mini which has been using an external 750GB drive. However, I'm at nearly 95% capacity now and want to invest in another external drive and use both. So the question I posted on the iTunes section was...
    "With far too much content in iTunes (mostly for the Apple TVs) and after reading numerous posts about using external hard drives with iTunes I'm convinced that using two external drives is my best solution.
    However, I did want to understand a bit more about the details of how iTunes will manage or at least keep track of, the media. Specifically, I'm thinking of the case were I add a movie to iTunes library (of course it will not copy the file into the iTunes folder).
    What will occur if I later change any of the tags for the movie (e.g., name, genre, year, etc.). Will iTunes update this information and then update the Apple TVs once they resync with the iTunes library?"
    So for the very knowledgeable folks here on the ATV section, what exactly does iTunes do in this case? Will my genres be updated correctly if I change something even though the content is not copied to the iTunes folder?

    If you want to use two external drives to store your itunes content, there are a couple of ways you could go about it.
    You could choose to have just movies (for example) on one HDD and everything else on the other. You could further choose to have your itunes music folder on one HDD and have all content copied to it by default. When it comes to movies (in this example) you can place these on your second HDD and add them to itunes by using OPT-drag, which will temporarily disable itunes from copying the file to your itunes library.
    You could also entirely disable disable itunes copying files to your itunes music folder from the itunes preferences and manually manage all your content.
    Personally I'd just buy a 2 TB (for example) drive and ebay your old drive once you have moved everything from it to your new one.

  • LR4.1 : "Edit-In" "Open as Smart Object with Photoshop..." feature doesn't work with 32bits

    Hi there,
    I am running LR4.1/CS5/ACR6.7 on a Win7 64bits system.
    The feature "Edit-In" > "Open as Smart Object with Photoshop..." does work Ok with raw files (.NEF).
    However, when i do try to use the same feature with 32 bits .TIFF files (which are output of the LR4.1's "Edit-In" > "Merge to HDR Pro in Photoshop..." other feature), nothing does happen (the Photoshop application windows does open but w.o the image that i've just selected).
    I've used search engines and Adobe online help to see if there was any limit preventing the usage of this feature with 32 bits .TIF files but couldn't see such note.
    Thanks for your help !
    Albert

    Thanks Rikk,
    That did work with a DNG file :-)
    I am working with very huge .TIF files (400MB), so i am wondering if size could be the main issue (although my PC has lots of HW resources).
    I will explore the DNG way, a format which seems anyways to be very promising now with LR4.
    In case anyone has an idea why it doesn't work the .TIF files, please shoot !

  • Is it possible to link an Audigy2 card with external haedphone & mic connections on my ca

    Is it possible to link an Audigy2 card with external haedphone & mic connections on my case as buying an external dri've bay is a bit expensi've, but i really want to make the most of my card. I currently use a usb headset and the sound is a bit naff as i have no control over bass & treble. The only advantage of this is convinience.

    longi wrote:
    . Is it possible to link an Audigy2 card with external haedphone & mic connections on my case as buying an external dri've bay is a bit expensi've, but i really want to make the most of my card. I currently use a usb headset and the sound is a bit naff as 2. i have no control over bass & treble. The only advantage of this is convinience.
    . There is no analog I/O pins available on Audigy 2. Only way to get it working the way you want is to split those I/Os found from back of the card. Here is a project running solving this matter, so you may want to follow it's progress.
    There are also couple threads talking 'bout this matter of yours.
    2. You can control treble and bass from software you're using or if you play games (only) then from
    - Creative Surround Mixer
    - CTPanel (can be found on driver installations)
    - Control Panel: Sounds And Multimedia properties: Audio tab --> Play Control : Volume slider: Advenced
    All these above affects sound Globally.
    .jtpMessage Edited by jutapa on 09-7-2005 09:57 PM

  • BI Platform: Parameter object with the name "URL_PARAM"... does not exist

    Hi,
    I'm facing this issue with only one dashboard in BI4 Platform. When trying to view it through the BI Launch Pad, I get the following error:
    "Parameter object with the name "URL_PARAM" and the index "0" still does not exist in the parameter 1[...]".
    I've seen this thread where a similar thing was reported with NetWeaver platform.
    My client as well as server versions are Release 1.4 SP0 Patch2 (14.0.5).
    Also, although some of the pictures referenced in the dashboard are not in the Public Folders on BI4. Could it be that it's not able to reference the images and hence not be displaying the whole dashboard?
    Please let me know if anyone has a solution to this.
    Thanks!
    - Sakshi Dhakad

    Hi,
    So here are the versions we currently have:
    SAP BO Design Studio (64 bit) - 14.1.0
    SAP BO Design Studio 1.4 for BI Platform - 14.1.0.349
    And on checking on Central Management Console, I get this:
    SAP BO BI Platform 4.1 Support Pack 5 Patch 2
    Version: 14.1.5.1568
    Also, I'm not sure if I installed an add-on or the patch. Based on these versions, could you tell me how to fix the issue ?
    Thanks!

  • Ipad already sync'd with other iTunes Library

    We recently upgraded our PC to Windows 7 and now when I go to sync my iPad I get an error message that my Ipad is sync'd with another iTunes Library. I have read a few disucssions on this but am still not clear on what to do. Before we upgraded I did not do a recent backup because the PC was not working well. I just recently did a back up but am not sure what to do next. If I sync will I lose my photos music and everything else? I have quite a bit of information on my iPad that I do not want to lose. I also can't upgrade to OS 5. Guidance is much appreciated on how to be able to Sync my iPad again.

    Have you ever synced with this computer before? If you did, have you synced with another computer since then?

  • Hey!  I recently had to reboot my computer and reinstall itunes.  I now want to update my iPad but it is not allowing me to save my apps in my itunes library because it is already connected with my old library from before I rebooted.  What do I do?

    Hey!  I recently had to reboot my computer and reinstall itunes.  I now want to update my iPad but it is not allowing me to save my apps in my itunes library because it is already connected with my old library from before I rebooted.  What do i do?!

    The solution is fairly easy IF the items that you are concerned about are all items that have been obtained from the iTunes Store AND they were all purchased using the same Apple ID.  First, with the iPad disconnected from the computer, fire up iTunes.  Look to the right side top and confirm that that Apple ID is displayed.  If it is not, go to "Account" and log into that ID.  Then, connect the iPad.  Say "yes" to the "Transfer Purchases" choice.  Everything on the iPad will be transferred to the computer's iTunes library.
    If anything goes wrong, you can download all purchased items again with no charge (except movies) provided that you use the same Apple ID.
    If you have been using multiple Apple IDs, it's a bit more complicated.  Post back and we'll go from there.

  • Linker error using extern with 2 libs

    Hi,
      I have written two libraries, both libraries need to share access to a variable, GblVal. So in one lib, when GblVal is changed, the other lib should also see this change.
    I have tried to achieve this through extern in the following setup:
    lib1:
    lib1.c:
    int GblSum;
    void Do(){
    GblSum=1;
    lib1.h:
    extern int GblSum;
    lib2.c:
    #include "lib1.h"
    void check(){
    printf("%d",GblSum);
    finally I have a main process that has both compiled libs
    main.c:
    Do();
    check();
    obviously my code doesn't actually do the above, but this is just the gist of what I'm trying to do. I'm fairly certain that I am setting my extern variable up right, however I can't compile lib2 due to:
    Undefined symbol "_GblNum" referenced in lib2.c
     what am I doing wrong? I have suspicions that this is a linker error but I'm not really sure how to fix it.
    thanks

    Static libraries (usual file extension .lib) are simply collections of compiled object files. To use functions and data contained in a static library in an application, the library must be specified as one of the input files to the application. At link time, the linker searches the library to resolve unsatisfied function and data references and extracts the object modules required to satisfy them.
    Dynamic Link Libraries (usual file extension .dll) are compiled and linked code modules (that is, they contain their own run-time support) that expose the addresses of particular functions (and, less often, data items) contained within the module. If an application uses functions from a dynamic link library, the DLL is also loaded when the application is run and the function/data addresses made known to the application. DLLs are most often used to share common code between applications, but because they are self-contained they are also a common way of building applications using different technologies (e.g. a CVI application can use a DLL built using Delphi or VC++).
    Normally, a DLL is associated with an import library which is linked in with the calling application. This import library resolves references to functions and data in the DLL used by the calling application by 'telling' the application which DLL the functions are in and how to find them in that DLL. Applications can also explicitly load DLLs at run-time if required.
    Martin
    Certified CVI Developer

  • How to link one scroll bar with two dynamic text boxes.

    How to link one scroll bar with two dynamic text boxes.
    If i move scroll bar in one text box,automatically text will
    be moved in another text box.But scroll bar is not visible.
    Can you please help me.
    Thanks in advance.

    See the following article:
    JavaScript - setFocus Method for tabbing to next form field
    And see if iOS can even handle the sample form.
    iOS and android devices are not a powerful as your desktop of laptop computer and have limited support for JavaScript within PDF forms. This limitation for specific apps ranges from none to quite a bit but not all JavaScript.

  • Objects with CLOBs

    I'm trying to implement objects with CLOBs and am having a bit of trouble. Everything works fine right up to the Clob::open() call where my program aborts (dumps core).
    I'm running the 9i client on a RedHat 9 box.
    I read in the OCCI Developers Manual about objects with Lobs but that section seems most interested in creating new objects whereas I'm simply trying to update one.
    I do an "INSERT INTO ..." and then a "SELECT REF() ..."
    In my case the whole row is the object.

    I got over this problem by just using the example from page 5-16 of the manual (funny how things work when you actually follow instructions). But now I'm having a different problem.
    I have a persistent object with CLOBs. I insert my object using the example on page 5-16. Following the Clob::write() I do an Clob::open() and a Clob::read() on the clob I just wrote. The read returns 0 and the buffer contains garbage but the row of the table actually has data.
    I thought with persistent objects I could get my data back again without having to do another query. Is this correct? What am I doing wrong?

Maybe you are looking for

  • Avoid creation of Private Folder

    Hello, We are using EasyDMS and I would like all my users to use the public folder only. Is there a way to disable the request to create private folder when a user is accessing the Easy DMS for the first time? Regards, Yossef

  • AS2:Seeburger Proxy redirect error?

    Hi Guys, We are getting the following error when trying to post the file to the AS2 server. Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: 307 Proxy Redirect # , SEEBURGER

  • Incorrect display of portal pages after migration to EP7

    Hello, after the migration from EP 6 to EP 7 some of the portal pages do not diplay correctly (for example user administration -> identity management, content administration -> webdynpro, system administration -> system configuration -> UME configura

  • CRM 2015 online instance

    Dear Friends , I have subscribed for CRM 15 online. When i logged in for first time , i found Sales module is missing and dash boards say that I have no privilege. I should be sys admin for my subscription instance , isnt it ? Thanks, Naveen

  • Enhancement on smartforms

    Hi experts, I want to place a code when the print button (i . e Text --> Print ) is clicked. I searched for exits and Badi's (Package name : SMART) but none existed. I also checked the layout .  the function code in the PF STATUS is SPRI. Please help