Linking: dwarf error: mangled line number section.

Hi,
I'm trying to get at 1st a unit test running (Suse 9.2, CC: Sun C++ 5.9 Linux_i386 Build35_2 2006/12/04). To keep things simple I start with only instantiation of a class of ccpunit:
int main(int argc, char* argv[] )
// Create the event manager and test controller
CPPUNIT_NS::TestResult controller;
In linking I get this error message:
COM_TestMain.o(.text+0x10a3)/usr/bin/ld: Dwarf Error: mangled line number section.
: In function `main':
: undefined reference to `CppUnit::TestResult::TestResult(CppUnit::SynchronizedObject::SynchronizationObject*)'
COM_TestMain.o(.text+0x10af): In function `main':
: undefined reference to `CppUnit::TestResult::~TestResult()'
dmake: Fatal error: Command failed for target `test.bin'
I translated cppunit also from source level with sunstudio compiler, but it makes no difference. The mentioned symbols seems to be there (look into libcppunit.a with objdump). An interesting question also would be, why this lib (and others) only build the static targets?
Does anybody know, what that error means and how to workaround? I'll also continue to find out and tell here in case of success.
Ciao, Rolf

Ok, finally I got that working. The reason for unresolveds was a wrong sequence in link statement:
working: $(CC) $(ARC_FLAGS) $(OBJECTS) $(CPPUNITLIB) $(LIBS)
not working: $(CC) $(ARC_FLAGS) $(CPPUNITLIB) $(OBJECTS) $(LIBS)
for some reasons in solaris/sparc world this was no matter.
But there is another problem with syntax in $(CPPUNITLIB), to me these two statements should do same:
CPPUNITLIB = $(CPPUNIT_HOME)/lib/libcppunit.a
CPPUNITLIB = -L$(CPPUNIT_HOME)/lib -Bstatic -lcppunit
If I'm using the last one, I get the "dwarf error" and also lots of warnings like this appear:
/usr/bin/ld: Warning: size of symbol `std::string &std::string::operator=(constchar*)' changed from 482 in /opt/sunstudiomars/prod/lib/libCstd.a(instance.o) to 475 in /opt/sunstudiomars/prod/lib/libCstd.a(instance.o).
The first syntax does link without any errors or warnings. But the created binaray finally is doing its job (in both cases :-) .
Ciao, Rolf

Similar Messages

  • Broken images links and error in line/column

    HI!
    I am the proud owner of the Adobe Creative Suite 4 (Web Premium) software package and am learning Web Design through the University of Phoenix online (I am a disabled veteran going for my BA in IT)--I am trying to meet my final requirements for the individual assignment (creating a personal 3-page website), but can't get the images to show up and now get an error when trying to re-create the home page to add pages to the menu I added (with Home, Feedback Form, etc. links)--the error says:
    "There is an error at line 64, column 83 (absolute position 3340) [file location]: TemplateBeginEditable tag inside editable region"
    I have searched this and other forums and they keep saying I don't have a proper closing tag, but I can't figure out where it is and need help with that and why my images are not showing up (broken) when I post my files in class for grading.
    I have been using the following link for help so far during my design:
    http://www.thesitewizard.com/gettingstarted/dreamweaver-cs4-tutorial-1.shtml
    But it doesn't help me with the above problems--I would ask my instructor but he is on vacation until Monday--I will attach all my files to this post if someone will be kind enough to help a Dreamweaver newbie--thanks in advance!
    Paul Crider
    [email protected]

    Sorry--here it is (line 64 is close to the bottom and I put it in bold/italics so you could spot it easier):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Paul Crider</title>
    <link href="twoColLiqLtHdr.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body, td, th {
    font-family: Comic Sans MS, cursive;
    body {
    background-color: #900;
    -->
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="twoColLiqLtHdr">
    <div id="container">
      <div id="header">
        <h1><a href="http://www.facebook.com/home.php?ref=home#/criderman?ref=profile"><img src="images/paulborder.jpg" alt="paul border" width="1064" height="488" border="0" align="middle" /></a></h1>
        <!-- end #header -->
      </div>
      <div id="sidebar1">
        <h3 align="center" class="white"><u>My Interests:</u></h3>
        <h3 align="left" class="white">-
          Sports</h3>
        <h3><a href="http://www.neworleanssaints.com/Home.aspx"><img src="images/saintslogoandhelmetgraphic.jpg" alt="saints" width="170" height="211" border="0" /></a>
          <!-- end #sidebar1 -->
        </h3>
        <p class="comicheading"><span class="white">New Orleans Saints</span></p>
        <p class="comicheading"><span class="white"><strong>- Tiki/Retro/50s/60s Culture</strong></span></p>
        <p><a href="http://www.tikiroom.com/"><img src="images/tiki.jpg" alt="tiki" width="252" height="153" border="0" /></a></p>
        <p class="white"><strong>- Movies</strong></p>
        <p><a href="http://www.imdb.com/name/nm0000007/"><img src="images/bogartwithgun.jpg" alt="bogart" width="123" height="157" border="0" /></a></p>
        <p class="comicheading"><span class="white">(especially classic movies--like with my favorite actor, Humphrey Bogart)</span></p>
        <p class="comicheading"><span class="white"><strong>- TV</strong></span></p>
        <p><a href="http://www.bbc.co.uk/doctorwho/s4/index.shtml"><img src="images/drwhos.jpg" alt="drwho" width="176" height="228" border="0" /></a></p>
        <p class="comicheading"><span class="white">(Doctor Who)</span></p>
        <ul id="MenuBar1" class="MenuBarVertical">
          <li><a href="http://www.paulcrider.com/">Home</a> </li>
          <li><a href="feedback.html">Feedback</a></li>
          <li><a href="aboutus.html">About Us</a> </li>
          <li><a href="sitemap.html">Site Map</a></li>
        </ul>
      </div>
      <div id="mainContent">
        <h1 align="center" class="comicheading">About me:</h1>
        <p class="comicheading">I was born and raised and now currently living in Monroe, Louisiana.</p>
        <p><a href="http://www.monroela.us/"><img src="images/monroe.jpg" alt="monroe" width="604" height="402" border="0" /></a></p>
        <p class="comicheading">I am a honorably-discharged veteran of the United States Navy.</p>
        <p class="comicheading">After my military service, I worked as a government and civilian contractor for the military and continued working and travelling around the world until I became disabled and moved back home.</p>
        <p><a href="http://www.facebook.com/criderman?ref=profile"><img src="images/meegypt.jpg" alt="meegypt" width="315" height="468" border="0" /></a></p>
        <h2 align="center" class="comicheading">Objective:</h2>
        <p class="comicheading">I am looking for a part-time position, either paid or voluntary, with an organization that can use my skills and education. </p>
      </div>
      <p>
        <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
        <a href="documents/paulcriderresume.doc">***click here to see my resume***</a></p>
      <p>Contact me:</p>
      <p><a href="mailto:[email protected]">[email protected]</a></p>
      <div id="footer">
        <!-- end #footer -->
      </div>
      <!-- end #container -->
    </div>
    <p> <a href="http://validator.w3.org/check?uri=referer"><img
            src="http://www.w3.org/Icons/valid-xhtml10"
            alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a></p>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

  • The error message: SE 337 Please enter a line number.

    Dear Experts,
    We have a PO that can not be transferred to P1 because of the error message:
    SE 337 Please enter a line number.
    We tried to checked the transfer of the PO.
    The error message came from the Backend Function BBP_PO_INBOUND.
    But it is not possible to define the exact cause of the issue (the exact transfer parameter) due to missing RFC authorization.
    The following changes were made in the PO (PO already mapped in Backend) after that PO cannot be transferred:
    - a deleted item was set back
    - WBS Element was changed
    Thank you in advance.
    Best regards
    Evgeny

    Hello Evgeny,
    Whenever you create a  PO in SRM irrespective of number of the
    line items chosen, in the backend system this PO will contain
    a single line item in the Item section.
    If you delete all the line items in the PO and
    attempt to undelete them the undeletion will not work since the PO is already
    considered to be deleted in the backend.
    Please try delete and undelete a individual line item
    in a PO provided there is at least one item which is not deleted.
    hope this helps
    Daniel

  • Enter the Section code for line number '000'

    Dear Consultants,
    While posting the Travel Expenses, The system generates posting documents but gives error as "Enter the Section code for line number '000'". Please advise me about the activity to which this error is related to. I am giving Document type as AB.
    This error is seen only if the Expense Type is related to some Vendor account like Expenses by company (Service provider's vendor a/c) or Advances paid to the employee & Expenses incurred by employee (Employee Vendor account)
    Regards,
    Bindumadhav
    Edited by: BINDUMADHAV AMBIKE on Mar 26, 2011 7:18 PM

    I found that some validation criteria were maintained in Tcode OB28. We can edit those validation criteria to exclude Travel Management. OR it was suggested by FICO to use posting key as 34 instead of 31.
    This solved my problem.

  • Retrieving line-number of the last error

    Hello !
    Is it possible to access the line number where the last error in a PL/SQL procedure occured ?
    At example:
    CREATE OR REPLACE PROCEDURE do_stupid
    IS
    tempNum Number;
    BEGIN
         FOR i IN 1..5
         LOOP
              temp := sysdate;
         END LOOP;
         tempNum := 2;
         tempNum := tempNum / 0;
         tempNum := 3;
    EXCEPTION
    WHEN OTHERS THEN
         -- i want to access the line-number of the error "tempnum / 0"
    END do_stupid;
    Thank You
    Florian

    If you are just trying to debug one procedure, eliminating the exception section and running it from sql*plus will cause it to return an error message that includes the line number. But this won't work if you are trying to trap the error and log it in some table or some such thing.
    SQL> CREATE OR REPLACE PROCEDURE do_stupid
      2  IS
      3    tempnum NUMBER;
      4    temp    DATE;
      5  BEGIN
      6    FOR i IN 1..5
      7    LOOP
      8      temp := SYSDATE;
      9    END LOOP;
    10    tempnum := 2;
    11    tempnum := tempnum / 0;
    12    tempnum := 3;
    13  END do_stupid;
    14  /
    Procedure created.
    SQL> EXEC do_stupid
    BEGIN do_stupid; END;
    ERROR at line 1:
    ORA-01476: divisor is equal to zero
    ORA-06512: at "SCOTT.DO_STUPID", line 11
    ORA-06512: at line 1

  • Link between schedule Line Number and Delivery

    Is there a link between Schedule line Number and Delivery number ?
    Eg. Line item 10 with quantity 100. 
    has 5 schedule lines..with 5 different delivery dates.
    1 .  quanity 40
    2.   quantity 30
    3.   quantity 20
    4.   quanity  6
    5    quantity  4
    For schedule line 1, 2 deliveries were created,
    one      with quantity 20
    another with quantity 15
    quantity 5 is still not delivered.
    also schedule lines 2,3,4 and 5 are fully delivered.
    Is there any table, FM etc in SAP which will give me the link between the schedule line and delivery number ?
    Total deliveries created : 6. - But which delivery corresponds to which schedule line ?
    Please dont tell me to look VGBEL and VGPOS.. that will just give line item number 10.. I need to get the schedule line number.
    Also, RV_SCHEDULE_CHECK_DELIVERIES --> will give me the delivered quantity against each schedule line.
    My purpose is to create an ontime delivery report .
    a report which list each schedule lines, and tell, how many shipments were late/ontime/early etc..
    and for Late ones, how many days late has to be found.
    this is where i need the delivery.
    No. Of days Late = Actual GI Date - Planned GI Date.
    Actual GI date is in the delivery.
    Any suggestions ?
    Thank you in advance.

    Hi,
    Check in the below link.
    relation between VBEP-ETENR and LIKP-VBELN
    Thanks,
    Sree.

  • XML Parsing Error: no element found Location:Line Number 1, Column 1:

    Hi,
    i have a servlet code in which i am using bouncy castle encryption algorithm , if i tried to run that servlet on embeded weblogic server than my servlet works fine without error.
    but if i deploy same Servlet code on SOA domain console than i get following error.
    XML Parsing Error: no element found
    Location: http://localhost:7001/Encryption-PGPEncrypt-context-root/pgpservlet
    Line Number 1, Column 1:
    Please help me friends...

    Hi Chandra,
    Based on my research, the error message is only generated by FireFox when the render page is blank in Internet. For some reason, .NET generates a response type of "application/xml" when it creates an empty page. Firefox parses the file as XML and finding
    no root element, spits out the error message.
    Also, based on your description, the other sites are opened correctly, the issue only happened in Central Administration(CA). This means the SharePoint services are working fine.
    Since this issue only occurred in the CA, it might be due the application pool for the CA is corrupted. Please try to restart the application pool for the CA to resove the issue:
    1. Open Internet Information Service(IIS)
    2. List the application pools
    3. Select the application pool used for the CA
    4. Stop it, and then start it again.
    Note, if the application pool is running in Classic mode, please change it to be Integrated mode.
    Additionally, I found a similar thread, which may help you too:
    http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/824d7dda-db03-452b-99c4-531c5c576396
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • XML Parsing Error: no element found Line Number 1, Column 1:

    Hi All,
    I have deployed EAR on my standalone server using JDEV 11.1.1.6.0. I am able to get the WSRP portlet producer page on
    http://<server>:7001/contextRoot. But when i try to click on any of the WSDL URL it gives me "XML Parsing Error: no element found Line Number 1, Column 1:"
    and from IE it gives me: XML document must have a top level element. Error processing resource
    there can be a issue with the WSRPContainer.jar file. So i have remove it from my deployment profile, EAR and lib/classpath files.
    Can you please suggest a workaround.
    Regards,
    ND
    Edited by: ND on Dec 4, 2012 9:57 PM

    Hi All,
    this error normally comes when the WLS domain is not not properly created. if you get some exception for ./provesecurity.sh file while creating the domain, then the XML error comes.
    I did not went into the depth but figured out a workaround: restart the VM/hosted box and then create the domain, remember to use diff port name while creating it from the domain creation script.
    Regards,
    ND

  • Finding the right line when Oracle says an error happens at a line number.

    Hi,
    Were using Oracle 11.1.
    I use TOAD 10 to develop.
    When I run a procedure sometimes I'll get an error message saying "an Oracle error happened at ### line number"
    When I go to that line number, that's usually not where the error is.
    I'm not talking about an error where they say it occurs at line 1.
    It'll say line 124 and in the TOAD editor that will occur in the middle of a cursor or something.
    I'm pretty sure that's not where the error actually is.
    Is there any way to find out where Oracle is talking about?
    Thanks!

    Hi,
    In triggers, the first DECLARE or BEGIN statment is counted as line 1, even though there are often several lines before that.
    In other procedures, the line numbers are relative to the beginning of the relevant CREATE statement, e.g. "CREATE OR REPLACE PACKAGE BODY ...".
    Where these statements are in your files has nothing to do with the error messages. For example, if you have a package spec that goes on for 50 lines, then 10 lines of comments, and then a package body, all in the same file, then the line numbers that you see for the pacakage body will be 60 lower than the line numbers from your file. (You may want to use separate files, each starting with a CREATE command on the fitst line, for just this reason.)
    Oracle often gives multiple error messages for the same error. For example, if a cursor definition begins on line 50, and you mis-spell a column name on line 55, you may get a message saying "statement ignored" referencing line 50, but you'll probably get another (more useful) error referenccing the particular problem on line 55.
    Of course, some errors can't be detected right away. For example, if you forget a single-quote at the end of a string literal, the compiler will think that all your subsequent code is part of that string literal. Not unitl it encounters another single-quote, perhaps at the beginning of another string literal, dozens of lines later, will it know that any error occurred.
    Those are the main pitfalls I know about.
    If you have an example of something that confuses you, post it. Shorten the code as much as possible such that it's easier to post, but still gets the same error. Post the complete error message, too.

  • I am getting following error! XML Parsing Error: undefined entity Location: chrome://weave/content/options.xul Line Number 6, Column 3: setting id="weave-account" type="string" title="&account.label;" / --^

    I am getting followong error
    XML Parsing Error: undefined entity
    Location: chrome://weave/content/options.xul
    Line Number 6, Column 3: <setting id="weave-account" type="string" title="&account.label;" />
    --^

    I had this problem - it appeared to be due to having Firefox 4 with the Firefox Sync installed as an add-on. Firefox 4 has sync included so there is no need to have it as an add-on. I went to the add-on manager and removed Firefox Sync and now appears to be working correctly.

  • When I tgry to drop a video from the main screen to a time line with no secuence i receive an error with no number, just tell me the progran stop working and the program closes can you help me please

    please someone who help me please
    when I tgry to drop a video from the main screen to a time line with no secuence i receive an error with no number, just tell me the progran stop working and the program closes

    You need to help us first ...
    Computer specs:
    OS, CPU, RAM, GPU, vRAM ... and also disc layout & connections can be useful (as in, "2 internal hard-drives and an external on Thunderbolt connection for exports")
    Program specs:
    Specific build of Premier Pro from the bottom of the "About" splash screen off the "Help" menu is best.
    Footage file type: MXF, AVCHD, MOV, m2s, what?
    Even the camera it was shot on can be of interest at times.
    And did you use media browser to import, then project panel to drag & drop?
    Neil

  • Can't add a new account in FireFTP. Get XML Parsing Error: undefined entity Location: chrome://fireftp/content/accountManager.xul Line Number 216, Column 17:

    I'm having trouble adding an additional account to FireFTP. I keep getting a yellow box with this title:
    XML Parsing Error: undefined entity
    Location: chrome://fireftp/content/accountManager.xul
    Line Number 216, Column 17:
    <menu label="&charsetMenuMore1.label;" accesskey="&charsetMenuMore1.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
    ----------------^
    Don't understand the problem, can anyone help please?

    Try updating FireFTP to the latest 2.0.20 version.
    ''An update for Firefox 32 compatibility.''
    https://addons.mozilla.org/en-US/firefox/addon/fireftp/

  • Firefox crashes continually. Now I'm getting this error and cannot open firefox at all: XML Parsing Error: not well-formed Location: chrome://browser/content/browser.xul Line Number 1068, Column 87:

    SInce the latest update Firefox has crashed continually for about two weeks now. Continually means at least 10 times a day. Now it does not open at all and I get this message when launching Firefox:
    XML Parsing Error: not well-formed Location: chrome://browser/content/browser.xul Line Number 1068, Column 87:

    SInce the latest update Firefox has crashed continually for about two weeks now. Continually means at least 10 times a day. Now it does not open at all and I get this message when launching Firefox:
    XML Parsing Error: not well-formed Location: chrome://browser/content/browser.xul Line Number 1068, Column 87:

  • Show the object and the line number, where the error happens in Forms

    Hi!
    Al lot of our programmer use the ugly when others clause to raise messages like "error <sqlcode> happens in ....". Often this hides the really error in some underlying procedures. Is it possible to call the error stack from forms like in 10g database dbms_utility.format_error_backtrace? Actually FRM-40735 hides all this information. This should be work for client and database pl/sql errors!
    With kind regards

    First of all, send every programmer in your organization a message to STOP doing that. I am afraid there is nothing you can do when you have to call some stupid code from your form that contains the when others then... sequence.
    Below is an email I sent out just two months ago. I'll share it with you:
    Hi _______,
    I looked over the _________ package to try to determine why it was so difficult to find the source of the problem. The problem was that the line number reported when the job failed was line 326, which is the Raise command at the end of the __xyz__ procedure.
    When someone writes:
          exception when others then raise;it causes line number reporting to fail when an unexpected Oracle error is encountered. Furthermore, the line does absolutely no good, because Oracle will automatically raise unhandled errors without that code.
    The only thing that code does is cause problems when someone looks for the source of a failure. Without that code, job failures can be located in just a few minutes.
    That same code sequence is repeated three times in the _________ package. The problem may also exist in the __abc___... functions that the _______.lookup_xxxl function calls, since no line numbers were reported from there, either. It would be very helpful if you would remove the problem code, and PLEASE instruct everyone on your staff to never use that sequence anywhere.
    - - - - - - - - - - - - - - - - - - - - - - end of email - - - - - - - - - - - - - - - - - - - - - -
    Now, in addition, you can trap FRM-40735 in your on-error trigger and then display the message found in DBMS_ERROR_TEXT. In fact, you might try the format_error_backtrace from there, too.

  • Oracle SQL Developer and Errors (Line Number Incorrect)

    First, I wanted to state that Oracle SQL Developer 2 is a standout job.
    I wanted to report, though, that when Oracle SQL Developer 2 can't compile a block of code or a simple SQL statement has invalid syntax, it does not have an option to accurately go to the line of code in question. GOING TO the erroneous line of code doesn't need to be a feature, but often times the line no. REPORTED by Oracle SQL Developer is incorrect by 50+ lines.
    Is this something I could fix on my end? I have five other developers griping about this.
    Thank you!

    I don't know if this is the situation you are talking about, but line numbers for errors in SQL in a SQL Worksheet are not line numbers within the statement but rather line numbers in the worksheet. For example, with the following SQL in the worksheet:
    select * from dual;
    select * from dual;
    select * from dual;
    select from dual;Running the "select from dual;" statement (as either statement based on cursor position, selected statement or as script), the error is reported on Line 4, Column 7. As I show line numbers (Tools | Preferences | Code Editor | Line Gutter | Show Line Numbers), this makes sense. Without line numbers showing or having the option to go to the error and with more realistic examples with SQL statements scrolling off the page, I can see that the line number in the errors wouldn't be helpful.
    I think -K- is talking about the PL/SQL code editors not reporting the correct line number based on the error line not counting the "create or replace" line at the start of a package (and more for triggers).
    theFurryOne

Maybe you are looking for

  • Cannot type text in any text box Firefox will handapp

    I have a laptop running windows 7 64bit. I am not able to type in any browser text boxes. I have tried safe mode in Firefox and that does not help. I have deleted the firefox profiles and completely removed firefox. I just did another install of fire

  • Movie Inventory Management

    Movie Inventory Management Despite having computed for decades, I am very new to iPod and downloading music and movies. I understand that one cannot burn a DVD of a downloaded movie. Is that correct? So, what is the point of having the movie art if o

  • Drag & Drop Images Between Tabs?

    Hi, Forgive me if I am missing the obvious but I need some help. Just got myself an iMac and I am in the process of getting it set up how I like it, Made the move from a Windows PC where I used the FireFox browser. My plan had been to just use Safari

  • Acrobat 10 Pro fails to install from CS5.5 installer

    This is the return code the installer gives me: Exit Code: 6 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 3 error(s), 0 warning(s) ----------- Payload: {AC76BA86-1033-F400-7760-000000000005

  • How do i get the driver to use an HP laserjet 5mp with my Mac that runs Lion?

    how do i get the driver to use an HP laserjet 5mp with my Mac that runs Lion?  I'm told by HP to get it through Apple updates but it doesn't show up.