Building with -G rh4 SunStudio 12

When building code, we have stuck in the -G option to all builds (shared or not) so that 2 builds are not necessary to produce the .a and the .so files.
With Studio 12, this option appears to fail. When this is done, the object crashes when running.
dbx says
dbx: File `Linux-i686/utcpTest' is not ELF executable
file saysLinux-i686/utcpTest: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
What do you suggest? I am not certain our usage is legal, but it seems that the dbx message is bad and the crashing is and unknown problems.
Thanks

The -G option creates a shared library. It does not by itself cause position-independent code (PIC) to be generated. It prevents the CC or ld command from generating an executable program.
What you want is the -kPIC, -KPIC, or -xcode=... option to generate PIC. Then the resulting .o files can be combined into a shared (.so) library, a static (.a) library, or an executable program.
PIC is less efficient than ordinary code, which is why it is not the default, but the loss is usually small.
Refer to the C++ Users Guide appendix on compiler options for details of the options.

Similar Messages

  • How can I use an Express database build with RAA in Express Objects???

    Hello, everybody!
    I have installed Express Server and Client on my computer. I've build an Express database With Relational Access Manager mapping data from an Oracle database.
    Now I want to use this express database in Oracle Express Objects.
    I understand that an express database build with understand can be used by defining a connection to Express Server and using the option Relational Access Manager Connection.
    But, I didn't understand the settings of this option. I open the settings window and there it is :
    - the MASTER DATABASE Box where I have to write the name of the CUBE from the express database build with understand?
    - the RDC File Box : what do I have to write here? I've read the HELP but I didn't understood. There is no file with the RDC extension in my computer.
    Thank you for your help!
    Anca.
    [email protected]

    you can extend it, very easly, with an Airport Express.
    once you connect the AExpress, on the App Airport Utility, in Wireless tab choose to "Extent a Network", you will be able to select your Network enter your Network Password and it is done
    i have 2 AExpress to extend my signal and also to Airplay to Remote Speakers and works perfectly
    good luck

  • In IOS7 none of my YouTube movies show up on my site build with iWeb and its YouTube widget. On an iPad running IOS6 the site still works fine, and all movies play well. What is going on,and what can I do to solve this problem ???

    In IOS7 none of my YouTube movies show up on my site build with iWeb and its YouTube widget. On an iPad running IOS6 the site still works fine, and all movies play well. What is going on,and what can I do to solve this problem ???

    It's only Safari/iOS7. Chrome iOS7 works fine.
    Solution?
    Go to YT and grab the code.
    Paste it in a HTML Snippet.

  • Flex builder with AS3 project

    Hi,
    I am developing a Flash game using as3, I chose flex Builder with an AS3 project. Now I am thinking that if selecting the project to be a flex project instead of as3 project I would have a lot of flex functionality like a swf loader,preloaders and the popup manager etc. The graphic components would obviously have been made in flash and used through the swc (avoiding the heavy mxml components).
    Need to know what other developers think of this approach.

    You must include in library:
    ${FRAMEWORKS}/locale/{locale}

  • LV Version/Runtime Question (working with LV 8.2.1 -- problems with a VI that was original build with LV 7.1)

    Hi there,
    currently i have a strange problem and i hope some of you can help me.
    Ok first i explain my situation:
    My task is to expand a old testsystem that was written with LV 7.1.
    During the time they began to work with LV 8.2.1 and saved the testsystem-VI with the new LV version.
    Ok now my problem:
    I have added some SubVIs (build with LV 8.2.1) to the testsystem which open a connection to a DUT (device under test) via fbus, usb or bluetooth (the drivers are designed for .net). But i always get a strange error message when the subVIs try to open the connection ("...Please check your connection string..").
    First i checked the handover of the variables in the testsystem but found no mistakes. I also tested all SubVIs seperatly with TestVIs and they worked perfectly!!!
    My question:
    The main VI was original build with LV 7.1. Could it be possible that LV uses an old or several runtime engines to execute my testsystem which causes such strange problems (For me its the only logical explanation why it works with my Test-VIs but not with the testsystem)?  
    But maybe you know more about such problems
    Greetings, wonx

    Hi wonx,
    it's really hard to say what might be the problem without knowing your project.
    Have you already performed a mass compile in LV8.2? If not, I would suggest to do so. Please see following link for an explanation of how the mass compile option in LabVIIEW works.

  • Salesforce and Crystal Reports XI Release 2 Full build with Service Pack 2

    Hi
    I need to install 'Crystal Reports XI Release 2 Full build with Service Pack 2' (CR XI R2 SP2) on a new computer but can't find the exe/zip file used previously to do that.
    The reason I need that particular version is because (as I understand it) its the version needed to interface with our Salesforce application.
    I have the CRXI original disks and keycode but as I understand it no manner of patching with SPs will get me to CR XI R2 SP2.
    I've tried various searches and frustratingly come up with only dead links (old BO forums and SAP forums).
    Is there a live link somewhere that I can use, or will a later version do the job?
    For example, alternatively, will I be able to use the CR XI R2 SP4 file instead?
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Thanks for your help.

    Post Author: ejthunder
    CA Forum: Deployment
    Hello,
    Crystal Reports XI and XI R2 are not supported on 64 bit machines.  I have not heard of any plans to change this.  As you've discovered - the only version of Crystal Reports that is supported on a 64 bit machine is CR.NET 2005 (v10.2), the version that ships with VS2005.
    Your options are to downgrade your application to use bundled CR.NET 2005 or to deploy your CR XI R2 .NET application to a 32 bit machine.
    EJ

  • How to transfer data between a multi-thread dll build with LV7 and MS C++, using envent programing method.

    It is easy to transfer data between a simple input/output dll build with LV and an external code like C++, but when data are available inside a loop running in the dll(in fact thread running in LV); How can I read them or receive an handle pointer to the calling C++ application when new data are ready.

    If you're using LabVIEW 7, you can use the PostLVUserEvent function to fire an event for an event structure in LV. Refer to the Using External Code in LV manual.
    Or you could use datasocket for this. The datasocket activex dll is nids.dll. You could have the class wizard generate wrappers for you or if you have Measurement Studio, you could use the custom wrappers it provides to communicate between the VI and dll.
    I hope this helps
    Bilal Durrani
    NI
    Bilal Durrani
    NI

  • Queuename cannot be build with function(while creating invoice VF01) IDoc

    Hi all,
    I had a problem while posting an invoice with reference to the delivery document . we had configured partner profile with INVOIC02 and extension for that. and maintained Transfer IDocs immediately. queue processing is enabled . before implementing OSS notes it is working fine. after implementing these notes we are getting update termination message and the invoice document is not getting saved.  the notes are 0001019483 and 0001280898 .
    After implementing notes rule is enabled and in that rule we had given IDOC_QUEUE_SUS_MM. and we had done cofig for that in we85.
    the message is like this.
    Update was terminated
    System ID....   R1Q
    Client.......   100
    User.....   ABOSE
    Transaction..   VF01
    Update key...   4DF9276AC53F16E6E100800082180442
    Generated....   16.06.2011, 12:43:49
    Completed....   16.06.2011, 12:43:50
    Error Info...   B1 519: Queuename cannot be build with function:
    Please helpme out
    Thanks & regards
    sreehari p

    Dear Reddy,
    This may due to two reasons
    1.Itemcategory settings
    2.Copy control settings at item level between your sales document type and your billing type ZF3.So fallow these steps you can rectify the issue.
    -->You go to the VOV7 transaction then select item category ZAPT TAP then go in to the details of that here you can find the field Billing Relevance maintain this field "B" or "C" if you are doing order related billing.
    -->Go to VTFA transaction click on change icon (Top Left Corner)then select your billing type ZF3 and sales order type then click on the item here you select the itemcategory ZAPT TAP then go in to the details screen here you need to enter the copying requirement routines.
    Standard routine is 002-item/order related in the Copying requirements field.
    Standard routine is 001-Inv.split (sample) in the Data VBRK/VBRP field.
    And also check the Header level copy control settings
    Maintain these settings then try
    I hope it will help you
    Regards,
    Murali.

  • Adding a CI Build with powershell

    Hi,
    Adding a CI Build (class: System.Build) with powershell to Service Manager 2012 R2 results in an error, but the Build is added with the correct properties. Here is the error message:
    New-SCSMObject : Item has already been added. Key in dictionary: 'Notes'  Key being added: 'Notes'
    At line:1 char:15
    + new-SCSMObject <<<<  (get-scsmclass System.Build) -propertyhashtable ($build)
        + CategoryInfo          : InvalidOperation: (Notes:ManagementPackProperty) [New-SCSMObject], ArgumentException
        + FullyQualifiedErrorId : property 'Notes' has already been added to collection,SMLets.NewSMObjectCommand
    here is what I do:
    $build=@{Displayname = "Test 1"}$build+=@{AssetStatus = "Deployed"}$build+=@{ObjectStatus = "Active"}$build+=@{Category = "Software"}$build+=@{Title = "Test"}$build+=@{Version = "1"}new-SCSMObject (get-scsmclass System.Build) -propertyhashtable ($build)
    If I querry this Object with
    get-scsmobject (get-scsmclass System.Build$) -Filter "Displayname -eq 'Test 1'"
    I get the warning:
    WARNING: The property 'Notes' already exists, skipping.
    Exception: The member "Notes" is already present.
    In my Build Form there are also two "notes" fields.
    So my questions:
    a) does this occur on other installations?
    b) If not: any idea, where this comes from or how I could find out.
    b) If yes: how do you deal with it?
    tia
    Patrick Wahlmüller

    Hi Roman,
    Thanks for your response.
    Here are some findings: Smlets are not exact enough, because in the System.build Object there are 2 Notes Fields. One from the System.ConfigItem class and one from the System.Build class. I do not understand the reason for two notes fields, but the smlets
    have a problem with it and the result is a warning. You can suppress this by
    get-scsmobject (get-scsmclass
    System.Build$)
    -Filter "Displayname -eq 'Test 1'" -WarningAction silentlycontinue
    (thanks to
    Jason)
    When I use native cmdlets:
    Get-SCSMClassInstance -class $buclass -Filter 'Displayname -eq "Test 1"'
    Results in two notes fields:
    Notes
    System.ConfigItem_Notes
    But, I'll give it a try with native cmdlets, since the are part of the product.
    But one question remains: Why are there two notes fields?
    Patrick Wahlmüller

  • 10g Forms Builder with error "cannot attach library" opening R12 fmb file

    Hi all,
    I had set up my Forms Builder with all the necessary PLL and FMB files for developing R12 custom forms. I have used the builder to do few custom PLLs and one custom form, and I did not have any problem opening seeded Oracle Forms. Today when I need to enhance that custom form I did 2 weeks ago and I opened Forms Builder, I got the error "Cannot attach library.." for APPCORE, APPDAYPK, etc.. Same error for opening TEMPLATE.fmb.
    I have done these to troubleshoot:
    1) I verified my Windows XP registry "FORMS_PATH" to include the folder where I store all the PLLs and FMBs.
    2) I updated default.env to include that file path.
    3) I create shortcut to Forms Builder and put folder path with PLLs under the "Start in" field of the shortcut.
    4) I rebooted my machine after changing the registry
    5) I moved the folder with PLLs to under C:; I seperate PLL to "resource" sub-folder and FMB to forms/US/ sub-folder just like the server structure.
    6) I install one more copy of Developer 10G Suite and set up the registry.
    None of these work and the key is it used to work with no issue. Any suggestions what may be the problems?
    Thanks!
    Mike.

    Turned out I reloaded all the $AU_TOP forms and PLLs to my desktop and it worked fine. I think I did not FTP correctly the first time.

  • Flex Builder with a Package

    I cannot find any example of successfully setting up,
    building and executing an Actionscript project in Flex Builder with
    the main class being in a package. I don't care if I have to create
    the appropriate directory structure manually, I just want to get it
    to work. Every combination of project settings I have tried fails
    to generate the .swf file in the correct location for execution.
    [This is NOT a double posting -- no one seems to know where
    you go to get answers concerning Actionscript development under
    Flex Builder.]
    Thank you.

    Ah, then I have no idea.  Might be part of the text support which will be repackaged.<br /><br /><br />On 8/1/08 2:21 AM, "Pradeek" <[email protected]> wrote:<br /><br />A new message was posted by Pradeek in<br /><br />Developers --<br />  What is Parser Package?<br /><br />No, Matt , It is not a class.<br />Parser package contains a class named as$173.<br />Here is what I did:<br />Create new ActionScript project in Flex Builder 3 with Flex 4 SDK.<br />Then right click the project -> Properties. In library path, remove playerglobal.swc and add it seperately. Then type import and press Space. You can see:<br />__AS3__<br />adobe<br />authoring<br />com<br />flash<br />flex<br />mx<br />parser<br />text<br /><br />All these packages. You can't use anything. But they are there.<br /><br />________________________________<br />View/reply at What is Parser Package? <a href=http://www.adobeforums.com/webx?13@@.59b5fd0e/1><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b5fd0e!folder=.3c060fa3>  form to cancel your email subscription.

  • I would like to develope a GUI-Builder with Java. Any idea

    Hi!
    I would like to support GUI-Developers by writing a GUI-Builder with integrated design rules. For example selecting Platform dependent widgets, controlling the number of widgets on the form, proper positioning of widgets on the form etc.This should be a standalone application.
    Any one with tips, tricks, literature for architecture, tools to use etc?
    Thanks a million times.
    Marc

    Before start i would like you to visit www.netbeans.org
    Here you can find a very powerful IDE for Java as you are willing to create. If you like to procide creating then also you can find idea about that.

  • Build with APEX Logo?

    Hi All APEX fans,
    I like APEX RAD tool and I would like to promote it and publish any APEX logo on my site to inform visitors that it is build with APEX.
    Is there any logo available? Somethink like "The Web was build with APEX", or "APEX Powered" would be nice.
    Thanks,
    AB

    Hi Mux,
    I think the "APEX Powered" logo should be provided by Oracle as well as is the free XE database and APEX RAD. It is all about marketing & publicity, and I would like to publish the APEX Powered logo on all sites using it - of course if the logo is available and could be used free of charge.
    Just now, only Oracle specialists know about APEX and nobody out of Oracle community will use APEX for WEB development or think about the Oracle database on the Web.
    So, my idea was to help APEX with the publicity and I think all of us should think about it because APEX is really great tool for quick WEB development.
    have a nice day!
    AB

  • Tax query builder with "workflow status" property

    Hi,
    is it possible to create a tax query builder with "workflow status" property? For example: folder A only with documents "Relased", folder B only with document "In progress"?
    In property meta data I saw that there is a property "cm_workflowState", I made it indexable, but it doesn't work....
    thanks,
    Paolo

    Hi,
    Thanks to share your post.
    For the issue, I think it may due to the wrong handling of the encoding type “UTF-8”, please refer to the followed article, they may give you a hand:
    http://blogs.sun.com/shankar/entry/how_to_handle_utf_8.
    http://devlog.info/2008/08/24/php-and-unicode-utf-8/.
    Hope this could help you!
    Leo

  • Can sdk3.0 application swfloader swf file builder with sdk4.6

    I have an application builder with sdk3.0. Can I use swfloader to load a swf file builder with sdk4.6?

    That configuration is not supported.  The 3.0 SWF will set the API version to some lower number and any FP10 or FP11 APIs will break.

Maybe you are looking for