[Coin-discuss] Compile BCP 1.0 on SunOS 5.10
Dan Chen
mailtodanchen at yahoo.ca
Tue Oct 31 13:59:44 EST 2006
Hi everyone,
When I compile BCP 1.0 on SunOS 5.10, I got the following error message. Can anybody tell me what the problem is?
"../../../Bcp/src/include/BCP_string.hpp", line 30: Error: The function "strlen" must have a prototype.
"../../../Bcp/src/include/BCP_string.hpp", line 32: Error: The function "memcpy" must have a prototype.
"../../../Bcp/src/include/BCP_string.hpp", line 39: Error: The function "memcpy" must have a prototype.
"../../../Bcp/src/include/BCP_string.hpp", line 52: Error: The function "memcpy" must have a prototype.
"../../../Bcp/src/include/BCP_string.hpp", line 64: Error: The function "strlen" must have a prototype.
"../../../Bcp/src/include/BCP_string.hpp", line 64: Error: A reference return value must be an lvalue.
"../../../Bcp/src/include/BCP_string.hpp", line 73: Error: The function "strcmp" must have a prototype.
7 Error(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `BCP_cg.lo'
Current working directory /net/nfs1-data/scratchLarge/tmp/dchen/Bcp-1.0.0/seqbuild/Bcp/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src '; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /net/nfs1-data/scratchLarge/tmp/dchen/Bcp-1.0.0/seqbuild/Bcp
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='CoinUtils Bcp Osi Vol Clp Cgl'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Thanks!
Dan
---------------------------------
All new Yahoo! Mail
---------------------------------
Get news delivered. Enjoy RSS feeds right on your Mail page.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20061031/c8f6833a/attachment.html>
More information about the Coin-discuss
mailing list