Thanks Brian, that seemed to do the trick.
Mike
-----Original Message-----
From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]] On Behalf Of
Brian Barrett
Sent: Wednesday, March 09, 2005 12:48 PM
To: General LAM/MPI mailing list
Subject: Re: LAM: Make error with 7.1.1 on Solaris
On Mar 9, 2005, at 10:53 AM, Evans, Michael wrote:
> I am running Solaris 8 with the Studio 8 set of compilers and gnumake
> 3.8.
> Upon running make I get the following error in one of the programs:
<snip>
> make[2]: Leaving directory `/opt/lam-7.1.1/share/include' Making all
> in args
> make[2]: Entering directory `/opt/lam-7.1.1/share/args'
> source='all_opt.c'
> object='all_opt.lo' libtool=yes \ depfile='.deps/all_opt.Plo'
> tmpdepfile='.deps/all_opt.TPlo' \ depmode=none /bin/bash
> ../.././config/depcomp \
> /bin/bash ../../libtool --mode=compile
> /apps/unix/cen/cae/compilers/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I.
> -I../../share/include -I../../share/include -DLAM_BUILDING=1
> -D_REENTRANT
> -O -c -o all_opt.lo all_opt.c
> /apps/unix/cen/cae/compilers/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I.
> -I../../share/include -I../../share/include -DLAM_BUILDING=1
> -D_REENTRANT -O
> -c all_opt.c -o all_opt.o "all_opt.c", line 603: Error: Cannot assign
> void*
> to char**. 1 Error(s) detected.
It looks like you are using the Sun C++ compiler (CC) instead of the
Sun C compiler (cc) for the C compiler. We generally don't recommend
using a C++ compiler to compile LAM, and that looks to be the source of
your problems. Generally, you would want to do something like:
./configure CC=cc CXX=CC FC=f77
for setting the compilers (you may need to add full paths and the like,
depending on your environment).
Hope this helps,
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have an LAM/MPI day: http://www.lam-mpi.org/
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|