Conor,

  Do you have the GNU binutils installed?  Some projects compile
on Solaris better using the GNU binutils as opposed to Sun's native
implementation.  The error message indicates Sun's 'as' assembler is
choking on the assembler files.  If you do have GNU binutils installed,
try checking your PATH variable to ensure that /usr/local/bin ( or
where you have these tools installed) proceeds /usr/ccs/bin.



On Tue, 2002-04-30 at 18:17, Conor Casey wrote:
> Hi,
> 
> I've been trying to install Amanda on a machine running Solaris 8 and
> i'm having compile issues. Below is a copy of where the compile breaks
> down. I have seen recommendations on some documentation to try using
> gmake, but while i go looking for and installing it I though i might
> throw this out there and see if anyone has had a similar problem? If so
> I would greatly appreciate any help or suggestions you might have.
> 
> Thanks
> Conor
> 
> $ make
> Making all in config
> Making all in common-src
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../config -I./../regex-src  -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g
> -O2 -c fileheader.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -g -O2 -c fileheader.c -o fileheader.o
> /usr/ccs/bin/as: "/var/tmp/ccHNSqRc.s", line 2638: error: unknown opcode
> ".subsection"
> /usr/ccs/bin/as: "/var/tmp/ccHNSqRc.s", line 2638: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccHNSqRc.s", line 2647: error: unknown opcode
> ".previous"
> /usr/ccs/bin/as: "/var/tmp/ccHNSqRc.s", line 2647: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccHNSqRc.s", line 2808: error: unknown opcode
> ".subsection"
> /usr/ccs/bin/as: "/var/tmp/ccHNSqRc.s", line 2808: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccHNSqRc.s", line 2817: error: unknown opcode
> ".previous"
> /usr/ccs/bin/as: "/var/tmp/ccHNSqRc.s", line 2817: error: statement
> syntax
> *** Error code 1
> make: Fatal error: Command failed for target `fileheader.lo'
> Current working directory /opt/amanda-2.4.2p2/common-src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> $
> 
> 


Reply via email to