<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Thomas<br>
<br>
Ya I had made the same and tried that too. The following error is
seen when I try to build the WaveDemo example on Solaris 10 powered by
AMD 64 processor in this case. <br>
<br>
"/usr/include/sys/isa_defs.h", line 462: undefined control<br>
gmake[3]: *** [Check.c.d] Error 2<br>
gmake[2]: *** [make.checked] Error 2<br>
gmake[1]: ***
[/export/home/ankush/Office_work/port_work/Cactus/cactus_exp/Cactus/configs/WaveDemo/lib/libBoundary.a]
Error 2<br>
gmake: *** [WaveDemo] Error 2<br>
<br>
Thanks<br>
Ankush<br>
<br>
<br>
Thomas Radke wrote:
<blockquote cite="mid465DA769.70602@aei.mpg.de" type="cite">
<pre wrap="">Ankush Gupta wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I was trying to port Cactus to Solaris 10,using gcc and MPICH. On
loading I get the error of symbols like (send recv etc. ).
When I had set the LD_FLAGS env variables to "-lsocket -lnsl<a class="moz-txt-link-rfc2396E" href="mailto:.Itworksfine.Iwantedtoaddthattoknown-configurationssolaris2.10#!/bin/sh#/*@@#@filesolaris2.11#@dateApril6th2004#@authorGabrielleAllen#@desc##@enddesc#@version$Header:/cactus/Cactus/lib/make/known-architectures/solaris2.11,v1.12004/04/0717:28:05allenExp$#@@*/#.$srcdir/known-architectures/solarisLD_FLAGS=">".It works
fine. I wanted to add that to known-configurations
solaris 2.10
#! /bin/sh
# /*@@
# @file solaris2.11
# @date April 6th 2004
# @author Gabrielle Allen
# @desc
# # @enddesc
# @version $Header:
/cactus/Cactus/lib/make/known-architectures/solaris2.11,v 1.1 2004/04/07
17:28:05 allen Exp $
# @@*/
#. $srcdir/known-architectures/solaris
LD_FLAGS="</a>$LDFLAGS -L/usr/lib -lnsl -lsocket"
LIBS="socket nsl m"
It dint pick up those flags. So I wanted to know how could I set those
flags so that it uses them for compiling cactus.
</pre>
</blockquote>
<pre wrap=""><!---->
Hi Ankush,
Cactus should automatically detect systems running Solaris 2.6 up to
2.9. The general known-architectures file for this version of Solaris
already includes "socket nsl m" in the LIBS makefile variable iff the
user has not set it manually.
I guess if Solaris 10 isn't completely different from its predecessor
versions, all you need to do is to add a file
lib/make/known-architectures/solaris10 with the same contents as one of
the solaris2.x files. Does this work ?
</pre>
</blockquote>
</body>
</html>