<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 24, 2011, at 10:34 AM, Carlo Alberto Ferraris wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

  
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  
  <div bgcolor="#ffffff" text="#000000">
    <br>
    <blockquote id="mid_766758BB-3AE6-486B-8276-04A7FEF32FBE_gmail_com" cite="mid:766758BB-3AE6-486B-8276-04A7FEF32FBE@gmail.com" type="cite">
      <div>
        <div>Looks like your shared library is not being compiled with
          symbols.  Did you verify that your sources are compiled with
          -g?</div>
      </div>
    </blockquote>
    I think so, this is the makefile (based on the one in the Hello
    pass):<br>
    <blockquote type="cite"><tt>LEVEL = ../../..<br>
        LIBRARYNAME = CGF<br>
        LOADABLE_MODULE = 1<br>
        USEDLIBS =<br>
        <br>
        ifneq ($(REQUIRES_RTTI), 1)<br>
        ifneq ($(REQUIRES_EH), 1)<br>
        EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/CGF.exports<br>
        endif<br>
        endif<br>
        <br>
        include $(LEVEL)/Makefile.common</tt><br>
    </blockquote>
    and this is the invocation:<br>
    <blockquote type="cite"><tt>cafxx@ubuntu:~/Projects/llvm2/lib/Transforms/cgf$

        make<br>
        llvm[0]: Compiling CGFPass.cpp for Debug+Asserts build (PIC)<br>
        llvm[0]: Linking Debug+Asserts Loadable Module CGF.so<br>
      </tt></blockquote>
    <br></div></blockquote><div><br></div><div>Try building with "make VERBOSE=1", which will show you the command-lines passed to the compiler/linker.  Post the output here.</div><br><blockquote type="cite"><div bgcolor="#ffffff" text="#000000">
    <br>
    <div class="moz-signature">-- <br>
      <style type="text/css">
    .signature {
    }
    .signature a, .signature a:link, .signature a:hover, .signature a:active, 
</style>
      <div style="background: none repeat scroll 0% 0% rgb(238, 238,
        238); border: 1px solid rgb(221, 221, 221); padding: 7px 9px;
        display: inline-block; -moz-border-radius: 6px 6px 6px 6px;">
        Carlo Alberto Ferraris <<a href="mailto:cafxx@strayorange.com">cafxx@strayorange.com</a>><br>
        <a href="http://cafxx.strayorange.com/">website/blog</a> - +39
        333 7643 235 </div>
    </div>
  </div>

</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Thanks,<br><br>Justin Holewinski</span>
</div>
<br></body></html>