AMBER Archive (2009)

Subject: Re: [AMBER] problems compiling ambertool

From: Per Jr. Greisen (pgreisen_at_gmail.com)
Date: Fri Mar 13 2009 - 17:01:35 CDT


Hi David,

thanks for your help - I tried to move the file and then recompile but it
still gives me the error
cd nab/
make install

gives the same error

cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP -Dlex
embed.c
"lex.dg_options.c", line 75: non-constant initializer: op "NAME"
cc: acomp failed for embed.c
*** Error code 2
make: Fatal error: Command failed for target `embed.o'

I am not sure how to solve this...Thanks in advance for any suggestions

with kind regards

Per

On Fri, Mar 13, 2009 at 8:54 PM, David A. Case <case_at_biomaps.rutgers.edu>wrote:

> On Fri, Mar 13, 2009, Per Jr. Greisen wrote:
>
> >
> > I am trying to compile amber on a SunOS but I have encountered some
> problems
>
> > (cd nab && make install )
> > cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP
> -Dlex
> > embed.c
> > "lex.dg_options.c", line 75: non-constant initializer: op "NAME"
> > cc: acomp failed for embed.c
>
> Does it help if you rename lex.dg_options.c to something else (so you
> don't lose it, but it is out of the way)? This should force the "lex"
> program on the sun to re-create that file.
>
> [Maybe there is someone else on the list (Scott?) who has access toa
> SunOS machine...I'm really just guessing here.]
>
> ...dac
>
>
> _______________________________________________
> AMBER mailing list
> AMBER_at_ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER_at_ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber