<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi!</div><div><br></div><div>Did you put some scenario files in scratch/ folder?  The error is basically telling that ./waf is trying to compile some source as a program (expects `main' function), though it is not really a stand-alone program.  If you can give more context (what and where you put, more detailed output on what was compiled using ./waf -v), we probably can give a better advice what to do.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Jun 4, 2013, at 5:29 AM, 陈胜蓝 <<a href="mailto:blindeafer@163.com">blindeafer@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; ">Hi all,<div>After I modify confugure:</div><div>./waf configure --boost-includes=/usr/local/include --boost-libs=/usr/local/lib</div><div>./waf</div><div>There is a error:</div><div><span style="line-height: 1.7;">/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crt1.o: In function `_start':</span></div><div>(.text+0x18): undefined reference to `main'</div><div>collect2: ld returned 1 exit status</div><div><br></div><div>What can I do to solve it?</div><div><br></div><div>Thanks.</div></div></blockquote></div></body></html>