hi Dan , thanks for your help.
i could compile simple programs like you gave. i uninstall and reinstalled
gcc , but with same
results.
i was using gcc 3.0.1
i downgraded to gcc -2.95.3 and it works fine for me !!!!
thanks again
----- Original Message -----
From: "Dan Wilder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 08, 2001 11:36 AM
Subject: Re: make
> On Mon, Oct 08, 2001 at 10:34:10AM -0500, Cbandara wrote:
> > hi i am new to amanda. i am trying to configure amanda-2.4.2p2 on
Solaris 8 on a sparc 10.
> >
> > when i run make i get following error messages.
> > what am i donig wrong.
>
> You are omitting the beginning of the offending line in your posting, f
> or one thing. It'll say something like "cc" or "gcc".
>
> It looks like you may have a faulty installation of your C compiler.
> Check with your local expert, and verify that you are able to compile
> and run a small C program, such as the following:
>
> ------------- snip --------------------
> #include <stdio.h>
> main() {
> printf("hello\n");
> }
> ------------- snip --------------------
>
> >
> > thanks in advance
> >
> >
> > chula
> >
> >
>
> -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/ccBBApLd.s", line 2634: error: unknown opcode
".subsection"
> >
> > /usr/ccs/bin/as: "/var/tmp/ccBBApLd.s", line 2634: error: statement
syntax
> >
> > /usr/ccs/bin/as: "/var/tmp/ccBBApLd.s", line 2643: error: unknown opcode
".previous"
> >
> > /usr/ccs/bin/as: "/var/tmp/ccBBApLd.s", line 2643: error: statement
syntax
> >
> > /usr/ccs/bin/as: "/var/tmp/ccBBApLd.s", line 2804: error: unknown opcode
".subsection"
> >
> > /usr/ccs/bin/as: "/var/tmp/ccBBApLd.s", line 2804: error: statement
syntax
> >
> > /usr/ccs/bin/as: "/var/tmp/ccBBApLd.s", line 2813: error: unknown opcode
".previous"
> >
> > /usr/ccs/bin/as: "/var/tmp/ccBBApLd.s", line 2813: error: statement
syntax
> >
> > *** Error code 1
> >
> > make: Fatal error: Command failed for target `fileheader.lo'
> >
> > Current working directory /amanda-2.4.2p2/common-src
> >
> > *** Error code 1
> >
> > make: Fatal error: Command failed for target `all-recursive'
> >
>
> --
> -----------------------------------------------------------------
> Dan Wilder <[EMAIL PROTECTED]> Technical Manager & Editor
> SSC, Inc. P.O. Box 55549 Phone: 206-782-8808
> Seattle, WA 98155-0549 URL http://embedded.linuxjournal.com/
> -----------------------------------------------------------------
>