LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Timothy I Mattox (tmattox_at_[hidden])
Date: 2003-10-10 09:07:22


Just a speculation.
Maybe the extensive use of double quotes and backslashed double quotes
has some error in it, resulting in gcc thinking there were multiple
source files being asked to compile (the latter part of the
error message "... and multiple compilations")

-- 
Tim Mattox - tmattox_at_[hidden] - http://homepage.mac.com/tmattox/
    http://aggregate.org/KAOS/ - http://advogato.org/person/tmattox/
On Thu, 9 Oct 2003, Harshu wrote:
> Hi,
> 
> 
> --- Jeff Squyres <jsquyres_at_[hidden]> wrote:
> > On Thu, 9 Oct 2003, harshu wrote:
> > 
> > > FOllowing members suggestions I tried to compile 7.0.2 version. And
> > I
> > > get these errors. Me being a novice can't quite follow what it
> > means. I
> > > have attached config.log and the error message.
> > 
> > Something is very fishy here -- the same compilation options work
> > fine in
> > previous directories, but then fail in the first file in share/etc. 
> > You
> > might want to cd into share/etc and copy-n-paste the following
> > command and
> > tweak it to see why it's failing.  I can't believe that the real
> > error is
> > that -c and -o can't be used together (because they work fine
> > together in
> > previous directories).
> > 
> > This is from your logfile:
> > 
> > gcc -DHAVE_CONFIG_H -I. -I. -I../../share/include \
> > -DLAM_SYSCONFDIR=\"/usr/etc\" \
> > -DLAM_PREFIX=\"/usr\" -DLAM_CONFIGURE_USER=\"harshu\" \
> > -DLAM_CONFIGURE_HOST=\"dummy.host\" \
> > "-DLAM_CONFIGURE_DATE=\"Thu Oct  9 17:31:22 EDT 2003\"" \
> > -I../../share/ssi/include -I../../share/include -DLAM_BUILDING=1 \
> > -O3 -pthread -c T.c -Wp,-MD,.deps/T.TPlo -o T.o
> > 
> > What happens if you run this manually?
> 
> 
> I get the same error
> 
> 
> [harshu_at_dummy:etc$] gcc -DHAVE_CONFIG_H -I. -I. -I../../share/include
> -DLAM_SYSCONFDIR=\"/usr/etc\"  -DLAM_PREFIX=\"/usr\"
> -DLAM_CONFIGURE_USER=\"harshu\" -DLAM_CONFIGURE_HOST=\"dummy.host\"
> "-DLAM_CONFIGURE_DATE=\"Thu Oct  9 17:43:09 EDT 2003\""
> -I../../share/ssi/include -I../../share/include -DLAM_BUILDING=1 -O3
> -pthread -c T.c -Wp,-MD,.deps/T.TPlo -o T.o
> gcc: cannot specify -o with -c or -S and multiple compilations
> 
> 
> regards
> harshu