<?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 ld: Unsatisfied symbol in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol/m-p/4010290#M96285</link>
    <description>while trying to make our application exe's i am getting unsatisfied symbol.&lt;BR /&gt;&lt;BR /&gt;here is the linker, compiler flag and the make command.&lt;BR /&gt;CFLAGS=+DD32 -Aa +z -I../include -I$(ODL)/include -I$(SYBASE)/ASE-15_0/include -I/pkg1/sybase_base/OCS-15_0/include $(DEBUG) -lc&lt;BR /&gt;LPATH=  LPATH=../bin:$(ODL)/bin:$(SYBASE)/OCS-15_0/lib:/lib:/usr/lib/hpux32&lt;BR /&gt;&lt;BR /&gt;../bin/libnewfab.sl : $(OBJS)&lt;BR /&gt;$(LPATH) ld -b -E +s $(OBJS) \&lt;BR /&gt;-lsybdb -lodlsyb -lcurses -lmont -o $@&lt;BR /&gt;&lt;BR /&gt;../bin/fabrpt : fabrpt.c&lt;BR /&gt;$(LPATH) cc $(CFLAGS) fabrpt.c \&lt;BR /&gt;-lnewfab -lods -lpctl -lpkts -lcom -ltools -lodlsyb -lsybdb -lmont \&lt;BR /&gt;-ldld -Wl,+s -o $@&lt;BR /&gt;&lt;BR /&gt;and i am getting 62 error stating unsatisfied symbols&lt;BR /&gt;ld: Unsatisfied symbol "mtraceSqlLogger" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "WorkList" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "TempDb" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "stRender" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "ItemFileSize" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "sno" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "dbbind" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "GetSubrName" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "xmlOrdrNbr" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "mtraceInitMain" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "retCode" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "strcmpi" in file fabrpt.o&lt;BR /&gt;&lt;BR /&gt;i hope we are properly linking the lib which we make as part of this make.&lt;BR /&gt;&lt;BR /&gt;Please help me in this regard.</description>
    <pubDate>Thu, 31 May 2007 00:10:11 GMT</pubDate>
    <dc:creator>JaganKumar</dc:creator>
    <dc:date>2007-05-31T00:10:11Z</dc:date>
    <item>
      <title>ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol/m-p/4010290#M96285</link>
      <description>while trying to make our application exe's i am getting unsatisfied symbol.&lt;BR /&gt;&lt;BR /&gt;here is the linker, compiler flag and the make command.&lt;BR /&gt;CFLAGS=+DD32 -Aa +z -I../include -I$(ODL)/include -I$(SYBASE)/ASE-15_0/include -I/pkg1/sybase_base/OCS-15_0/include $(DEBUG) -lc&lt;BR /&gt;LPATH=  LPATH=../bin:$(ODL)/bin:$(SYBASE)/OCS-15_0/lib:/lib:/usr/lib/hpux32&lt;BR /&gt;&lt;BR /&gt;../bin/libnewfab.sl : $(OBJS)&lt;BR /&gt;$(LPATH) ld -b -E +s $(OBJS) \&lt;BR /&gt;-lsybdb -lodlsyb -lcurses -lmont -o $@&lt;BR /&gt;&lt;BR /&gt;../bin/fabrpt : fabrpt.c&lt;BR /&gt;$(LPATH) cc $(CFLAGS) fabrpt.c \&lt;BR /&gt;-lnewfab -lods -lpctl -lpkts -lcom -ltools -lodlsyb -lsybdb -lmont \&lt;BR /&gt;-ldld -Wl,+s -o $@&lt;BR /&gt;&lt;BR /&gt;and i am getting 62 error stating unsatisfied symbols&lt;BR /&gt;ld: Unsatisfied symbol "mtraceSqlLogger" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "WorkList" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "TempDb" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "stRender" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "ItemFileSize" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "sno" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "dbbind" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "GetSubrName" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "xmlOrdrNbr" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "mtraceInitMain" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "retCode" in file fabrpt.o&lt;BR /&gt;ld: Unsatisfied symbol "strcmpi" in file fabrpt.o&lt;BR /&gt;&lt;BR /&gt;i hope we are properly linking the lib which we make as part of this make.&lt;BR /&gt;&lt;BR /&gt;Please help me in this regard.</description>
      <pubDate>Thu, 31 May 2007 00:10:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol/m-p/4010290#M96285</guid>
      <dc:creator>JaganKumar</dc:creator>
      <dc:date>2007-05-31T00:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol/m-p/4010291#M96286</link>
      <description>Where do you think these symbols are defined?&lt;BR /&gt;&lt;BR /&gt;If your libs are archives, you may have to use -Wl,+n or reorder them.  This occurs if -lmont needs a symbol from -lnewfab.</description>
      <pubDate>Thu, 31 May 2007 02:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol/m-p/4010291#M96286</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-31T02:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol/m-p/4010292#M96287</link>
      <description>These symbols are availble in libnewfab.sl which is part of our Make file.&lt;BR /&gt;&lt;BR /&gt;lmont and lnewfab are present in same dir. Still we are getting this problem.&lt;BR /&gt;&lt;BR /&gt;thanks for your comments.</description>
      <pubDate>Thu, 31 May 2007 09:59:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol/m-p/4010292#M96287</guid>
      <dc:creator>JaganKumar</dc:creator>
      <dc:date>2007-05-31T09:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol/m-p/4010293#M96288</link>
      <description>&amp;gt;These symbols are availble in libnewfab.sl&lt;BR /&gt;&lt;BR /&gt;If this is a shlib, there is no ordering problem.&lt;BR /&gt;&lt;BR /&gt;So you need to prove those symbols are in your shlib and you didn't hide them.&lt;BR /&gt;$ elfdump -n .dynsym -s libnewfab.sl | fgrep -e mtraceSqlLogger -e WorkList&lt;BR /&gt;&lt;BR /&gt;&amp;gt;$(LPATH) ld -b -E +s $(OBJS) \&lt;BR /&gt;&lt;BR /&gt;Note: you should NOT be using LPATH.  This is reserved for the compiler driver and emergencies.  You should simply pass in multiple -L options.&lt;BR /&gt;&lt;BR /&gt;Use: LIBS=-L../bin -L$(ODL)/bin -L$(SYBASE)/OCS-15_0/lib&lt;BR /&gt;&lt;BR /&gt;And add this macro before your -l libs.</description>
      <pubDate>Thu, 31 May 2007 14:51:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-unsatisfied-symbol/m-p/4010293#M96288</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-31T14:51:03Z</dc:date>
    </item>
  </channel>
</rss>

