<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ld: Unsatisfied symbol Error in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941009#M97605</link>
    <description>Hi&lt;BR /&gt;First of all Thanks ..&lt;BR /&gt;&lt;BR /&gt;I have used -u1 but symbol "1" is not gone.&lt;BR /&gt;When using -Wl,+n  some of error is gone...and some are present.&lt;BR /&gt;make file is working for c good...&lt;BR /&gt;but when compile with g++ -mlp64&lt;BR /&gt;then its given Unsatisfied symbol  error.&lt;BR /&gt;My archive lib is define in another dir.&lt;BR /&gt;which is in order.&lt;BR /&gt;&lt;BR /&gt;Please comment...</description>
    <pubDate>Fri, 09 Feb 2007 10:14:03 GMT</pubDate>
    <dc:creator>subrat chaudhary</dc:creator>
    <dc:date>2007-02-09T10:14:03Z</dc:date>
    <item>
      <title>ld: Unsatisfied symbol Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941007#M97603</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I find following error when make a libabry in Hp-unix.&lt;BR /&gt;&lt;BR /&gt;ld: Unsatisfied symbol "1" in file &lt;NO file=""&gt;&lt;BR /&gt;ld: Unsatisfied symbol "stop_missing_startup_param" in file mtamain.o&lt;BR /&gt;ld: Unsatisfied symbol "MSP_GetInstanceIdByName" in file mtamain.o&lt;BR /&gt;ld: Unsatisfied symbol "initialise_rlylib" in file /home/juan/subrat/OMNI33B/SHA&lt;BR /&gt;RED/libsmsg_rly.a[smsglib.o_]&lt;BR /&gt;ld: Unsatisfied symbol "MSP_GetInstanceIdByName" in file mtamain.o&lt;BR /&gt;&lt;BR /&gt;I have compile with &lt;BR /&gt;CC = g++ -mlp64 -Wall -funsigned-char.&lt;BR /&gt;&lt;BR /&gt;Something wrong i dont understand since some MSP call properly...but some given error.&lt;BR /&gt;&lt;BR /&gt;Please anyone help me....&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;subrat&lt;BR /&gt;&lt;/NO&gt;</description>
      <pubDate>Thu, 08 Feb 2007 09:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941007#M97603</guid>
      <dc:creator>subrat chaudhary</dc:creator>
      <dc:date>2007-02-08T09:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941008#M97604</link>
      <description>For the symbol "1", are you using -u1?  this would get translated to the unsat for "1".&lt;BR /&gt;As to your other symbols, where are they defined?  If they are defined in an archive, that archive must follow the object file mtamain.o on the command line.  The same with your unsat in libsmsg_rly.a.  Your archive libs must be ordered.  If this is too hard, you can use -Wl,+n to cause the linker to keep searching until it can't find it.</description>
      <pubDate>Thu, 08 Feb 2007 18:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941008#M97604</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-08T18:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941009#M97605</link>
      <description>Hi&lt;BR /&gt;First of all Thanks ..&lt;BR /&gt;&lt;BR /&gt;I have used -u1 but symbol "1" is not gone.&lt;BR /&gt;When using -Wl,+n  some of error is gone...and some are present.&lt;BR /&gt;make file is working for c good...&lt;BR /&gt;but when compile with g++ -mlp64&lt;BR /&gt;then its given Unsatisfied symbol  error.&lt;BR /&gt;My archive lib is define in another dir.&lt;BR /&gt;which is in order.&lt;BR /&gt;&lt;BR /&gt;Please comment...</description>
      <pubDate>Fri, 09 Feb 2007 10:14:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941009#M97605</guid>
      <dc:creator>subrat chaudhary</dc:creator>
      <dc:date>2007-02-09T10:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941010#M97606</link>
      <description>Unsatisfied symbol "1" in file &lt;NO file=""&gt;&lt;BR /&gt;&lt;BR /&gt;This has to be a problem in your makefile itself. I would guess that you have a syntax error in one of your dependency rules. &lt;BR /&gt;&lt;BR /&gt;First make sure that each action statement begins with a &lt;TAB&gt;. Make is one of the very few UNIX utilities where the presense of a &lt;TAB&gt; rather than simply whitespace is critical. Also, you aren't using gmake makefiles under HP-UX make are you? Gmake has some extensions that make does not understand.&lt;/TAB&gt;&lt;/TAB&gt;&lt;/NO&gt;</description>
      <pubDate>Fri, 09 Feb 2007 10:56:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941010#M97606</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-02-09T10:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941011#M97607</link>
      <description>&lt;P&gt;&amp;gt;I have used -u1 but symbol "1" is not gone.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what this means? I said to remove -u1. Pass -v to ld to make sure it isn't there.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;makefile is working for C good... but when compile with g++ -mlp64 then its given Unsatisfied symbol error.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what this means? Are you saying your makefile template works for C, therefore you assume it will work for C++?&lt;BR /&gt;&lt;BR /&gt;As in all cases with unsats, where is the references? Where is it defined? Can you prove this by using nm?&lt;BR /&gt;&lt;BR /&gt;$ nm -pxAN libs objects | fgrep -e symbol -e symbol2 ...&lt;BR /&gt;&lt;BR /&gt;You can ask ld to print some of them: -Wl,-ystop_missing_startup_param&lt;BR /&gt;&lt;BR /&gt;And if you can't find it, you may have to use grep on the sources.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2011 10:57:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941011#M97607</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-16T10:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941012#M97608</link>
      <description>Hi Dennis Handly,&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have  remove -u1 from my makefile...&lt;BR /&gt;"1" unsatisfied symbol is gone.&lt;BR /&gt;can you tell me what is means of -u1..&lt;BR /&gt;please describe..&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2007 04:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941012#M97608</guid>
      <dc:creator>subrat chaudhary</dc:creator>
      <dc:date>2007-02-15T04:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941013#M97609</link>
      <description>&amp;gt;can you tell me what is means of -u1.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what you want it to be but the -u option to ld says to treat the symbol "1" as a symbol and make it unsatisfied.  Typically it is used to extract an object out of an archive.  See ld(1).</description>
      <pubDate>Thu, 15 Feb 2007 04:42:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941013#M97609</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-15T04:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941014#M97610</link>
      <description>If you have gotten the answers you wanted, please see:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Thu, 15 Feb 2007 04:46:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol-error/m-p/3941014#M97610</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-15T04:46:13Z</dc:date>
    </item>
  </channel>
</rss>

