[Developers] Cactus Port to Solaris

Ankush Gupta Ankush.Gupta at Sun.COM
Wed May 30 07:57:56 CDT 2007


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".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="$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.

Thanks
Ankush

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cactuscode.org/pipermail/developers/attachments/20070530/3b132a52/attachment.html 


More information about the Developers mailing list