<div>Hi everyone,</div> <div> </div> <div>When I compile BCP 1.0 on SunOS 5.10, I got the following error message. Can anybody tell me what the problem is?</div> <div> </div> <div> </div> <div> </div><FONT size=2> <div>"../../../Bcp/src/include/BCP_string.hpp", line 30: Error: The function "strlen" must have a prototype.</div> <div>"../../../Bcp/src/include/BCP_string.hpp", line 32: Error: The function "memcpy" must have a prototype.</div> <div>"../../../Bcp/src/include/BCP_string.hpp", line 39: Error: The function "memcpy" must have a prototype.</div> <div>"../../../Bcp/src/include/BCP_string.hpp", line 52: Error: The function "memcpy" must have a prototype.</div> <div>"../../../Bcp/src/include/BCP_string.hpp", line 64: Error: The function "strlen" must have a prototype.</div> <div>"../../../Bcp/src/include/BCP_string.hpp", line 64: Error: A reference return value must be an lvalue.</div> <div>"../../../Bcp/src/include/BCP_string.hpp", line
73: Error: The function "strcmp" must have a prototype.</div> <div>7 Error(s) detected.</div> <div>*** Error code 1</div> <div>make: Fatal error: Command failed for target `BCP_cg.lo'</div> <div>Current working directory /net/nfs1-data/scratchLarge/tmp/dchen/Bcp-1.0.0/seqbuild/Bcp/src</div> <div>*** Error code 1</div> <div>The following command caused the error:</div> <div>failcom='exit 1'; \</div> <div>for f in x $MAKEFLAGS; do \</div> <div>case $f in \</div> <div>*=* | --[!k]*);; \</div> <div>*k*) failcom='fail=yes';; \</div> <div>esac; \</div> <div>done; \</div> <div>dot_seen=no; \</div> <div>target=`echo all-recursive | sed s/-recursive//`; \</div> <div>list='src '; for subdir in $list; do \</div> <div>echo "Making $target in $subdir"; \</div> <div>if test "$subdir" = "."; then \</div> <div>dot_seen=yes; \</div> <div>local_target="$target-am"; \</div> <div>else \</div> <div>local_target="$target"; \</div> <div>fi; \</div> <div>(cd $subdir
&& make $local_target) \</div> <div>|| eval $failcom; \</div> <div>done; \</div> <div>if test "$dot_seen" = "no"; then \</div> <div>make "$target-am" || exit 1; \</div> <div>fi; test -z "$fail"</div> <div>make: Fatal error: Command failed for target `all-recursive'</div> <div>Current working directory /net/nfs1-data/scratchLarge/tmp/dchen/Bcp-1.0.0/seqbuild/Bcp</div> <div>*** Error code 1</div> <div>The following command caused the error:</div> <div>failcom='exit 1'; \</div> <div>for f in x $MAKEFLAGS; do \</div> <div>case $f in \</div> <div>*=* | --[!k]*);; \</div> <div>*k*) failcom='fail=yes';; \</div> <div>esac; \</div> <div>done; \</div> <div>dot_seen=no; \</div> <div>target=`echo all-recursive | sed s/-recursive//`; \</div> <div>list='CoinUtils Bcp Osi Vol Clp Cgl'; for subdir in $list; do \</div> <div>echo "Making $target in $subdir"; \</div> <div>if test "$subdir" = "."; then \</div> <div>dot_seen=yes; \</div>
<div>local_target="$target-am"; \</div> <div>else \</div> <div>local_target="$target"; \</div> <div>fi; \</div> <div>(cd $subdir && make $local_target) \</div> <div>|| eval $failcom; \</div> <div>done; \</div> <div>if test "$dot_seen" = "no"; then \</div> <div>make "$target-am" || exit 1; \</div> <div>fi; test -z "$fail"</div> <div>make: Fatal error: Command failed for target `all-recursive'</div></FONT> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div>Thanks!</div> <div> </div> <div>Dan</div><p> 
                <hr size=1><a href="http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca"><b>All new Yahoo! Mail </b></a>
<hr size=1>Get news delivered. Enjoy RSS feeds right on your Mail page.