Default Link Behavior

Greetings all,
I'm building a shared library that uses some STL code. All objects are built -KPIC, and the link is being done by CC. We're not building compat, and the lib is built to be dlopen'd by an application later. This occurs on Solaris 2.6, as well as 8, and we're using Workshop 6 update 1.
If i link with no "-library" options specified, the library links successfully, but fails at runtime with relocation errors for basic istream operator<<(int) from the STL. (I don't have the specific mangled name handy...)
If I add -library=Cstd,Crun the link is still ok, and then the library is loaded and code executes successfully. But as I read the CC man page, a link in default mode uses this flag implicitly.
I'm back working in C++ after a 2+ year hiatus, so I apologize if this is FAQ (I've been thru the Forte C++ FAQ here, and I don't see any relevent info describing this type of situation.)
What are the circumstances in which a link line MUST have -library=Cstd,Crun even though, according to the CC man page, this is the default for normal mode links?
Thanks
Brian Homrich
Sr. Consulting Engineer
DataSynapse, Inc.
[email protected]

Some interesting things that I verified after posting this:
1. The library dependency that seems to be important is the Crun library, not Cstd. This seems to be true, even though the symbol needed is an ostream operator<<(int), and found in Cstd. That makes NO sense.
2. If I add '-library=Crun' or even -lCrun to the linker invocation, the executing process finds everything it needs.
3. Using elfdump -d, and looking at the "NEEDED" entries, when this is built 'correctly', I find:
Dynamic Section: .dynamic
index tag value
[0] NEEDED 0x22a2 libCrun.so.1
[1] INIT 0x17010
[2] FINI 0x17068
When it is broken, the NEEDED entry for libCrun is missing...

Similar Messages

  • Default link behavior is rather annoying

    Safari seems to be the only browser that doesn't open links in a new tab and doesn't provide an option to set the behavior. I've been told its an option on the mac version but the only option is to control when you click links on the windows version. Why the **** is there no option to send links to a new tab? It gets rather annoying when using something like google reader in which you open a lot of links.

    Why the ** is there no option to send links to a new tab? It gets rather annoying when using something like google reader in which you open a lot of links
    Only the folks at Apple know. Send your feedback to them via the Help menu > Report Bugs to Apple... option in Safari.

  • Tab Bar Control and the Default "More" Behavior

    I've got a client who wants an app with 8 tabs. The only problem is that they don't like the default "more" behavior with the tableviewcontroller containing the extra tab content. What they want is to hit "more" to see the next four tabs replace the first four and then to toggle back if it's hit again.
    There are a few ways to do this, I guess. I could build a second viewcontroller/tabcontroller that comes on or leaves when "more" is touched. Is there a surer way of doing this? I'm sure I'm missing something basic, but I've googled my brains out on this one and just can't see it.

    You could use one TabbarController with 8 ViewControllers, and rotate them when the More tab is tapped:
    - (BOOL)tabBarController:(UITabBarController *)tbc shouldSelectViewController:(UIViewController *)vc {
    if (vc == tbc.moreNavigationController) {
    NSMutableArray *newVCs = [[NSMutableArray arrayWithCapacity:8] retain];
    for (int i = 0; i < 8; i++) {
    [newVCs addObject:[tbc.viewControllers objectAtIndex:(i + 4) % 8]];
    tbc.viewControllers = newVCs;
    [newVCs release];
    return NO;
    } else {
    return YES;

  • Can you edit the default link style in muse?

    I'm not doing anything special, but haven't been able to change the default link style OR insert another link style to override it. Any help out there? Thx in advance.

    Hi
    You can change the link style or create a new one :
    http://take.ms/p4xnO
    Thanks,
    Sanjit

  • Help editing default link style in Muse.

    I thought I was going to figure this out, but it's making me crazy. In Adobe Muse can you change the 'default link style'?
    I've tried making a new style and applying it, but no matter what I do it won't stick. Any ideas would be helpful.

    Help with using Adobe Muse CC is better place to ask
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll

  • Default focus behavior in Swing

    I have a JTabbedPane wherein every tab has a variety of fields, including buttons, text areas, text fields, tables, and so on. I wanted to tweak the default focus behavior such that the first text field or the first text area has the focus.
    I used requestFocusInWindow() to set the focus on the first text field I get. This, however, was being overriden at a later stage (I am working on a vast code) and the first component inside a tab is getting the focus.
    Is there any means to override the default focus behavior? I tried writing my own FocusTraversalPolicy but found that that is never used. How does the default focus behavior work? Does it set the focus on the first field it gets or what? And where can I find the code for the same?

    I used requestFocusInWindow() to set the focus on the first text field I get. The requestFocusInWindow() method only works when the GUI is already visible. So I would suggest that you add a ChangeListener to the tabbed pane and add your code to set the focus every time the tab is changed.
    For a slightly different approach the code in this posting will remember the last field for each tab that had focus and reset focus to that field when the tab is changed. The code is not completely off topic since it shows how to use a ChangeListener:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=570369

  • Default button behavior not working with melting group

    Hi,
    I just realize that the default button behavior, i.e. fill out form and press enter without clicking on the actual button, does not work if one or more input form elements are in a melting group. This is a bug, right? I'm using CE7.1 SP5.
    Regards,
    Kevin

    Hi Dharmi,
    I define a button as default, fill out the inputfields  and press enter on the last one. As soon as I put this one in a melting group and press enter, the action of the default button is not triggered anymore. I can press enter in another field which is not in a melting group and the form is submitted correctly.
    I just noticed that if the button is in a melting group (with or without an input field) it doesn't work either.
    Can you reproduce this behavior?
    Best regards,
    Kevin

  • Link Behavior Bug in Motion 5

    I've repeatedly defined a bevavior to two link colors together (a gradient colorize from one group links to the gradient colorize of another group.) I'll set it, it works just fine. When I close the project and open it up again, the "Apply To" is always reset and blank, but the Source Parameter will be intact.
    Is there a known bug for this?
    This in in Motion 5, which isn't available as a product option when submitting this discussion.

    The behavior is being applied to the RGB colors of a Gradient Colorize filter, not the gradient itself. Correct, the gradient is made of multiple values (RGB colors, locations, opacity) so applying a behavior to the entire gradient doesn't even make sense, and rightly so is impossible to do.
    So if you apply the Gradient Colorize filter to anything, select the first (or second) color in the gradient, then to the right of the color control (and dropper icon) you'll see the ability to apply a behavior. This color can be linked to any other RGB value in any other layer or group via a Link behavior.
    However, in my case, when I do it.. it never saves.
    I've run tests from scratch where it WILL save. There's something unique to this project that Motion doesn't like.. and for the life of me, I can't figure it out, other than to just call it a bug.
    Here's the test file that I set up that does work:
    http://www.mediafire.com/?qpxhdmjdlljns85
    There's a source group and two linked groups that follow the source group. Changing the colors of the source group changes the colors of the other two groups. This one, for some reason, saves.
    So, what the heck does that do for me? Nothing.. in fact it's worse. There's some sort of conflict going on that I need to find that keeps mine from saving properly.

  • Why are link behaviors working in my render but not my export?

    When I export my video, the link behaviors don't behave like they do when I preview the video in the player window. It's like the export feature doesn't even know they're there. What's going on?

    Hi Ben, thanks for helping.
    I set all of the Render settings as you said, both on the Preview Canvas as well on the Export settings.
    My export is still different than my preview. Here are the problems (all link behaviors):
    "Link Slit Scan"
    Source Parameter: Filters.Insect Eye.Refraction
    Apply To: Filters.Slit Scan.Glow
    Notes: In the preview, the slit scan is glowing bright white. In the export, it's completely dark.
    "Link Halftone"
    Source Parameter: Filters.Insect Eye.Refraction
    Apply To: Filters.Halftone.Mix
    Notes: In the preview, the halftone triggers along with the refraction. In the export, the halftone doesn't exist.
    Extra Note: This is the same behavior that keeps changing the target to "Filters.Bad TV.Mix" when I close and reopen the project.
    "Link Bad TV"
    Source Parameter: Filters.Insect Eye.Refraction
    Apply To: Filters.Bad TV.Waviness
    Notes: In the preview, the waviness triggers smoothly along with the refraction (when the Bad TV mix is up). In the export, the waviness is jittering out of control.
    By the way, Filters.Insect Eye.Refraction is controlled by an audio behavior, but the Refraction itself is working just fine.
    I'll check out Ripple Training too. Thanks!

  • [svn:fx-trunk] 12963: Add IDebuggerCallbacks.terminateDebugTarget(), so that the debugger can override the default termination behavior.

    Revision: 12963
    Revision: 12963
    Author:   [email protected]
    Date:     2009-12-15 10:34:20 -0800 (Tue, 15 Dec 2009)
    Log Message:
    Add IDebuggerCallbacks.terminateDebugTarget(), so that the debugger can override the default termination behavior.
    Modified Paths:
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/DefaultDebuggerCallbacks.ja va
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/IDebuggerCallbacks.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSessionManag er.java

    Gordon, it looks like its been a while since you made this post.  Not sure how valid it is now...   I am particularly interested in the LigatureLevel.NONE value.  It seems that it is no longer supported.
    How do I turn of ligatures in the font rendering?
    My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase.  Is there any way (even roundabout) to turn ligatures off in flash?
    Thanks,
    Om

  • JList keystroke default search behavior - Part 2...

    So, i have a JList with some entries. The default search behavior only works if i first click in the JList. I want it to work by default after the window is created. This is a JList sitting inside a JScrollPane.
    Basically, when the JList comes up I want it to have focus and perform a search the first time i hit a key on the keyboard without having to click in the Component.
    thanks!

    So you want the JList to have focus when the window brings up.
    Have you had a look at the Java tutorial section on [Swing's focus management|http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html] ?
    You can request the focus on the JList in a ComponentListener, added on the JList.

  • Extending default ViewCriteriaAdapter behavior

    hi
    I am looking for an easy way to change the ViewCriteria behavior for one (type of) field and keep the default behavior for the other fields.
    I would like this
    vMyViewCriteriaRow.setAttribute("REG_DATE", "05-2005");to result in a where clause fragment like
    (REG_DATE >= TO_DATE('01-05-2005', 'DD-MM-YYYY') AND REG_DATE < TO_DATE('01-06-2005', 'DD-MM-YYYY'))or like
    (REG_DATE BETWEEN TO_DATE('01-05-2005', 'DD-MM-YYYY') AND (TO_DATE('01-06-2005', 'DD-MM-YYYY') - 1))or something else, for whatever reason
    I've read
    "Implementing a View Criteria Adapter to Customize Query By Example Functionality"
    http://radio.weblogs.com/0118231/stories/2003/07/11/implementingAViewCriteriaAdapterToCustomizeQueryByExampleFunctionality.html
    but it doesn't describe how to keep some of the default behavior.
    My solution (for now) is based on this article though:
    public class DateViewCriteriaAdapter extends OracleSQLBuilderImpl
         public String getViewCriteriaClause(ViewObject pViewObject,
              ViewCriteria pViewCriteria)
              if (pViewCriteria == null || pViewCriteria.size() == 0)
                   return null;
              ViewCriteria vModifiedViewCriteria = pViewCriteria;
              StringBuffer vCustomFragment = new StringBuffer();
              if (pViewCriteria.size() == 1)
                   vModifiedViewCriteria = pViewObject.createViewCriteria();
                   ViewCriteriaRow vModifiedVCRow =
                        vModifiedViewCriteria.createViewCriteriaRow();
                   vModifiedViewCriteria.add(vModifiedVCRow);
                   ViewCriteriaRow vVCRow = (ViewCriteriaRow)pViewCriteria.first();
                   StructureDef vStructureDef = vVCRow.getStructureDef();
                   AttributeDef[] vAttributeDefs = vStructureDef.getAttributeDefs();
                   for (int i = 0, vLength = vAttributeDefs.length; i < vLength; i++)
                        String vCriteriaAttVal = (String)vVCRow.getAttribute(i);
                        if (vCriteriaAttVal != null && !"".equals(vCriteriaAttVal))
                             String vAttributeFragment = getWhereClauseFragmentForAttribute(
                                  vAttributeDefs, vCriteriaAttVal);
                             if (vAttributeFragment != null)
                                  appendFragment(vCustomFragment, vAttributeFragment);
                             else
                                  vModifiedVCRow.setAttribute(i, vCriteriaAttVal);
              String vDefaultFragment = super.getViewCriteriaClause(
                   pViewObject, vModifiedViewCriteria);
              appendFragment(vCustomFragment, vDefaultFragment);
              return "( " + vCustomFragment.toString() + " )";
         private String getWhereClauseFragmentForAttribute(AttributeDef pAttributeDef,
              String pCriteriaAttVal)
              String vCriteriaAttVal = pCriteriaAttVal.trim();
              if (pAttributeDef.getJavaType() == oracle.jbo.domain.Date.class)
              return null;
    I'm not really happy with this solution because:
    (1) It extends OracleSQLBuilderImpl which extends BaseSQLBuilderImpl for which the API documentation states "Internal: Applications should not use this interface.", so I'm not sure if I'm supposed to extend OracleSQLBuilderImpl.
    (2) It only works for ViewCriteria with one ViewCriteriaRow. As this solution depends on a call to super.getViewCriteriaClause(), there is no way to correctly "AND and OR" all (custom and default) fragments together.
    my question:
    Is this the way to go, or should I use another aproach?
    thanks
    Jan Vervecken

    Thanks for your reply Steve.
    It took me a while, but I've been able to get an enhancement request logged for this, see metalink.oracle.com (search bugs for this number):
    4651343 : EXTENDING DEFAULT VIEWCRITERIAADAPTER BEHAVIOR
    Although I don't know about the other values the "Desirability" attribute of this enhancement request can have, I don't agree with "Somewhat desirable feature".
    Because it enables both "productivity" and "choice", I believe it deserves a stronger desirability-status.
    greetings
    Jan Vervecken

  • Newbie - Default Button behavior

    I am trying to use HTML db to create a new application that will run on LYNX enabled scanners. When the user scans an item into a textbox there is a carriage return that is entered at the end.
    I would like to do one of two things -
    1) On the CR move to the next Text Item or
    2) On CR fire the only button on the page. Kind of like default button behavior in Forms or other PL's.
    Any hints that you could give me would be very helpful.

    Can I automatically go to another page within the application? If so how and where.
    I need to send an onchange from the text field then do I need to create a process to move to the next page?? I am a complete newbie to this so I have no clue. For an example lets say that I have Page1 and Page2 with Text1 on Page1 and Text2 on Page2. Here is the code that I am starting to put in the HTML Table Cell Attributes:
    onchange = 'javascript.dosubmit()'
    Now what do I need to do to change to page 2? Does it need to be a process? and if so what code do I need to put in it and where?
    This is for a Proof of Concept project, we are just trying to see if we can use HTML DB to create RF Scanner application.
    Thanks for your initial reply.

  • Lag the link behavior....

    Let's say you have a square and its oscillating back and forth on the X axis. Then you create a circle and you use the link behavior to link the X parameter of the circle to the x parameter of the square, so now you have both shapes oscillating together back and forth on the x axis. Can anyone figure out a way that I could make that circle lag behind the square. So, the circle would be moving the same speed and distance during its oscillation, but it would just be a little behind the movement of the square.
    Any ideas? Thanks.

    Ok. Thanks for the mental exercise. It took me about 30 minutes to figure it out.
    The key is not to link the two rotations together, but to link behaviors. Here's how to do it.
    Apply the oscillate behavior to the X rotation of the rectangle. Set up as you like.
    Duplicate the behavior and apply it to the Circle.
    Add the Link behavior to the circle. Set the source object as the rectangle. Change the source parameter to the rectangle behavior's amplitude. Change the target parameter to the circle behavior's amplitude.
    Adjust the phase on the circle's oscillate behavior. This will change the timing of the oscillation but the link will ensure that any changes to the amplitude of the rectangle will be reflected in the circle.
    Animate the Custom Mix with keyframes from 0 to 1. This will allow you to control a "start up" if you will of the circle not moving, but rather reacting to the rectangle.
    You can also link the speed of the rectangle's oscillation if you like as well, but that requires another link behavior. It all depends on how much control you need.
    Andy

  • Invert Link Behavior

    It doesn't seem you can write in the parameters fields even though they are shown. Dose anyone know how to invert a link behavior?
    (ex. one layer blinks on and off, linked layer blinks off and on)
    TOnyTOny

    Thank You,
    I also needed to set the Apply Mode to Add to Source, then this worked. It's one of those things where Apple has abstracted the function so much that it isn't discernable. I slided the slider to minus one but that was as far as it would drag. I assumed that is were I would have made the invertion but not being able to get there I didn't follow up on it. I knew that you can go outside the silder range but usally they go equally positive and negative.
    I would like to see the whole expression (and be able to edit it).
    TOnyTOny

Maybe you are looking for