<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body 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>
<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>
</body>
</html>