On Tue, Apr 20, 2004, anshul.imtech.res.in wrote:
> I was trying to install amber7 on SUN Sparc 420 R with 2 ultra sparc
> processors suystembut faced some problems.
> making in ./src/Wc...
> rm -f MapAg.o
> cc -c -O -Xc -xF -xcg92 -I..
> -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -DSUNOS_PRINTF
> -DXAPPDIR=\"/usr/openwin/lib/X11/app-defaults\"
> -DWCL_ERRORDB=\"/usr/openwin/lib/X11/WclErrorDB\" MapAg.c
> cc: unrecognized option `-Xc'
> cc: language cg92 not recognized
> cc: MapAg.c: linker input file unused since linking not done
This works on our Solaris machines: here is a snippet from my build:
making in ./src/Wc...
rm -f MapAg.o
cc -c -O -Xc -xF -xcg92 -I.. -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -DSUNOS_PRINTF -DXAPPDIR=\"/usr/openwin/lib/X11/app-defaults\" -DWCL_ERRORDB=\"/usr/openwin/lib/X11/WclErrorDB\" MapAg.c
(no errors or warnings).
Is the correct "cc" in your PATH? (What do you get when running "which cc"?)
It should be something like .../SunWorkShop-6/bin/cc. Whatever "cc" you are
running does not seem to recognize options that xmkmf assumes are there.
....hope this helps....dac
--
==================================================================
David A. Case | e-mail: case.scripps.edu
Dept. of Molecular Biology, TPC15 | fax: +1-858-784-8896
The Scripps Research Institute | phone: +1-858-784-9768
10550 N. Torrey Pines Rd. | home page:
La Jolla CA 92037 USA | http://www.scripps.edu/case
==================================================================
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Tue Apr 20 2004 - 19:53:00 PDT