<?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 sem_open(), -lrt and creating a library in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/sem-open-lrt-and-creating-a-library/m-p/3889757#M2106</link>
    <description>We are using sem_open().&lt;BR /&gt;&lt;BR /&gt;Linking libraries by specifying -lrt on the compiler.&lt;BR /&gt;&lt;BR /&gt;Creating a library as below:&lt;BR /&gt;&lt;BR /&gt; ar cr $libdir/liboscfe.a `cat fe.libs.$$ com.libs.$$`&lt;BR /&gt; ranlib $libdir/liboscfe.a&lt;BR /&gt;&lt;BR /&gt;Using this library in a compilation similar to the following:&lt;BR /&gt;&lt;BR /&gt; aCC -D_REENTRANT -mt -g0 +DA2.0W +DS2.0 +Z  -I/rr/h -Wl,+s /rr/lib//liboscfe.a -Wl,-a,default -lpthread -lm -o /rr/dbg//bin/sch2db&lt;BR /&gt;&lt;BR /&gt;Getting errors given below:&lt;BR /&gt; ......&lt;BR /&gt; ld: Unsatisfied symbol "sem_open" in file /rr/lib//liboscfe.a[vsllcr.o]&lt;BR /&gt; ld: Unsatisfied symbol "sem_close" in file /rr/lib//liboscfe.a[vsllcr.o]&lt;BR /&gt; ld: Unsatisfied symbol "sem_post" in file /rr/lib//liboscfe.a[vsllcr.o]&lt;BR /&gt; ld: Unsatisfied symbol "sem_wait" in file /rr/lib//liboscfe.a[vsllcr.o]&lt;BR /&gt; 4 errors.&lt;BR /&gt;&lt;BR /&gt;Could anybody please help?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
    <pubDate>Tue, 31 Oct 2006 05:24:55 GMT</pubDate>
    <dc:creator>sem_open(), -lrt and cr</dc:creator>
    <dc:date>2006-10-31T05:24:55Z</dc:date>
    <item>
      <title>sem_open(), -lrt and creating a library</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/sem-open-lrt-and-creating-a-library/m-p/3889757#M2106</link>
      <description>We are using sem_open().&lt;BR /&gt;&lt;BR /&gt;Linking libraries by specifying -lrt on the compiler.&lt;BR /&gt;&lt;BR /&gt;Creating a library as below:&lt;BR /&gt;&lt;BR /&gt; ar cr $libdir/liboscfe.a `cat fe.libs.$$ com.libs.$$`&lt;BR /&gt; ranlib $libdir/liboscfe.a&lt;BR /&gt;&lt;BR /&gt;Using this library in a compilation similar to the following:&lt;BR /&gt;&lt;BR /&gt; aCC -D_REENTRANT -mt -g0 +DA2.0W +DS2.0 +Z  -I/rr/h -Wl,+s /rr/lib//liboscfe.a -Wl,-a,default -lpthread -lm -o /rr/dbg//bin/sch2db&lt;BR /&gt;&lt;BR /&gt;Getting errors given below:&lt;BR /&gt; ......&lt;BR /&gt; ld: Unsatisfied symbol "sem_open" in file /rr/lib//liboscfe.a[vsllcr.o]&lt;BR /&gt; ld: Unsatisfied symbol "sem_close" in file /rr/lib//liboscfe.a[vsllcr.o]&lt;BR /&gt; ld: Unsatisfied symbol "sem_post" in file /rr/lib//liboscfe.a[vsllcr.o]&lt;BR /&gt; ld: Unsatisfied symbol "sem_wait" in file /rr/lib//liboscfe.a[vsllcr.o]&lt;BR /&gt; 4 errors.&lt;BR /&gt;&lt;BR /&gt;Could anybody please help?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 31 Oct 2006 05:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/sem-open-lrt-and-creating-a-library/m-p/3889757#M2106</guid>
      <dc:creator>sem_open(), -lrt and cr</dc:creator>
      <dc:date>2006-10-31T05:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: sem_open(), -lrt and creating a library</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/sem-open-lrt-and-creating-a-library/m-p/3889758#M2107</link>
      <description>1. "aCC" looks like an HP-UX C compiler, and&lt;BR /&gt;you're in a Tru64 forum.&lt;BR /&gt;&lt;BR /&gt;2. You _say_ you're "specifying -lrt", but I&lt;BR /&gt;don't see it in your compile/link command.&lt;BR /&gt;Where, exactly, _did_ you say "-lrt"?  ("-l"&lt;BR /&gt;is an "ld" option, so it affects a link, not&lt;BR /&gt;a compilation.)</description>
      <pubDate>Tue, 31 Oct 2006 09:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/sem-open-lrt-and-creating-a-library/m-p/3889758#M2107</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-10-31T09:03:20Z</dc:date>
    </item>
  </channel>
</rss>

