Hi Lou,<br><br>After I add '#include <string.h>' into BCP_string.hpp and '#include <signal.h>' into CoinSignal.hpp, Bcp is compiled. Then, I copy 'config_coinutils.h.in' from build/CoinUtils/inc/ to CoinUtils/src, and rename it to 'config_coinutils.h'. When I run 'make test' I got the following message:<br><br><br>Making all in CoinUtils<br>Making all in src<br>Making all in Bcp<br>Making all in src<br>Making all in Osi<br>Making all in src<br>Making all in .<br>Making all in OsiClp<br>Making all in OsiVol<br>Making all in Vol<br>Making all in src<br>Making all in Clp<br>Making all in src<br>make: Fatal error: Don't know how to make target `/home/dchen/largescratch/coin-Bcp/seqbuild/CoinUtils/src/libCoinUtils.la'<br>Current working directory /net/nfs1-data/scratchLarge/tmp/dchen/coin-Bcp/seqbuild2/Clp/src<br>*** Error code 1<br>The following command caused the error:<br>failcom='exit 1'; \<br>for f in x $MAKEFLAGS; do \<br> case $f in
\<br> *=* | --[!k]*);; \<br> *k*) failcom='fail=yes';; \<br> esac; \<br>done; \<br>dot_seen=no; \<br>target=`echo all-recursive | sed s/-recursive//`; \<br>list='src '; for subdir in $list; do \<br> echo "Making $target in $subdir"; \<br> if test "$subdir" = "."; then \<br> dot_seen=yes; \<br> local_target="$target-am"; \<br> else \<br> local_target="$target"; \<br> fi; \<br> (cd $subdir && make $local_target) \<br> || eval $failcom; \<br>done; \<br>if test "$dot_seen" = "no"; then \<br> make "$target-am" || exit 1; \<br>fi; test -z "$fail"<br>make: Fatal error: Command failed for target `all-recursive'<br>Current working directory /net/nfs1-data/scratchLarge/tmp/dchen/coin-Bcp/seqbuild2/Clp<br>*** Error code 1<br>The following command caused the error:<br>failcom='exit 1'; \<br>for f in x $MAKEFLAGS; do \<br>
case $f in \<br> *=* | --[!k]*);; \<br> *k*) failcom='fail=yes';; \<br> esac; \<br>done; \<br>dot_seen=no; \<br>target=`echo all-recursive | sed s/-recursive//`; \<br>list='CoinUtils Bcp Osi Vol Clp Cgl'; for subdir in $list; do \<br> echo "Making $target in $subdir"; \<br> if test "$subdir" = "."; then \<br> dot_seen=yes; \<br> local_target="$target-am"; \<br> else \<br> local_target="$target"; \<br> fi; \<br> (cd $subdir && make $local_target) \<br> || eval $failcom; \<br>done; \<br>if test "$dot_seen" = "no"; then \<br> make "$target-am" || exit 1; \<br>fi; test -z "$fail"<br>make: Fatal error: Command failed for target `all-recursive'<br><br><br><br><b><i>Lou Hafer <lou@cs.sfu.ca></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
Dan,<br><br> I'm testing this on Solaris 5.10, with Sun/Studio 11 compilers, using<br>the stable/1.0 revision checked out from subversion. Looks like you're using the <br>release tarball 1.0.0. I'm hoping there are no significant differences.<br><br> The immediate cause of your problem is that Solaris doesn't define <br>strlen, etc, in cstring; it prefers string.h. If you add the line<br><br>#include <string.h><br><br>immediately below #include <cstring> in BCP_string.hpp, the main compile will<br>go through without error.<br><br> But ... if you try to build the test, you'll run into another problem,<br>a complaint that the file config_coinutils.h cannot be found. The proper fix<br>for this requires a correction to test/BAC/Makefile.am (adding COINUTILSOBJDIR<br>to the include path) , which means you'll need to run the Gnu autotools, which<br>means you'll need to upgrade CoinUtils, which means ... well, you probably<br>don't want to get into it (but email me if you do,
and I'll finish the story).<br>Instead, try this ... at some point before you run `make test', copy the file<br><br>build/CoinUtils/inc/config_coinutils.h<br><br>to<br><br>CoinUtils/src<br><br>That should allow the test to compile and run.<br><br> Hope this does it for you; post again if you run into trouble.<br> <br> Lou<br><br>_______________________________________________<br>Coin-discuss mailing list<br>Coin-discuss@list.coin-or.org<br>http://list.coin-or.org/mailman/listinfo/coin-discuss<br></cstring></string.h></blockquote><br><p> 
                <hr size=1>The best gets better. See why everyone is raving about the <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>