In article <37CD4027.8440A5F7 at sol.biol.unlp.edu.ar>,
Martin Sarachu <martin at SOL.BIOL.UNLP.EDU.AR> wrote:
>Hi
>>im getting this error when i try to compile SRS 5.1 in a Sun Ultrasparc with gcc
>>make for Solaris with parameters: msgdef
>gcc -Xa -I/export/home/martin/temp/srs/bin/solaris -O2 -D__ODD
>-DSRSINCLUDE=\"srs5.h\" -c -o
>/export/home/martin/temp/srs/bin/solaris/msgdef.o msgdef.c
>gcc: unrecognized option `-Xa'
>gcc -Xa -I/export/home/martin/temp/srs/bin/solaris -o
>/export/home/martin/temp/srs/bin/solaris/msgdef
>/export/home/martin/temp/srs/bin/solaris/msgdef.o
>gcc: unrecognized option `-Xa'
>srsmake: end
>Segmentation Fault - core dumped
>srsinstall: Stopping due to Error 139
>
-Xa is an option for the Sun cc compiler. I think the automatic scripts
for SRS assume you are using sun's compiler, even if you are using gcc.
You will need to find the place in the srsinstall stuff where the
compiler options are set, and remove the -Xa option.
Tim.