On Sat, 21 Mar 1998, D.Yang wrote:
Did you read INSTALL file?
Are there executable Configure or configure
if any start it ./configure
ilia,sysadmin at avko.bg
> Hi,
> I'm new to Unix(redhat),and I don't know how to complie files.
> I download amp-0.7.3.tar ,and decompressd it in /root/temp/amp-0.7.3
> I renamed Makefile.in to Makefile and type "make"
> it prompts:
> make CC@ command not found
> make *** (audio.o) Error 127
>
> I edit Makefile and change CC=@CC@ to CC=@cc,i type "make"
> it prompts:
> cc: @CFLAGS@ :not such file or directory
> tell me how to do,or where to find help ?
> Thanks an advance. the Makefile following:
>
> -------------------------------------------------------------------------------
>
> # Makefile - amp audio mpeg player v0.7
> # tomislav uzelac 1996,1997
>
>
> #DEBUG = -DDEBUG
>
> # ---- @OS_TYPE@/@ARCH_TYPE@ ----
>
> CC = @CC@
> DEFINES = -DOS_@OS_TYPE@ -DARCH_@ARCH_TYPE@
> CFLAGS = @CFLAGS@ ${DEFINES} ${DEBUG}
> LDFLAGS = @LDFLAGS@
>
> #
> # uncomment both of these if you want profiling support
> #
> #PG = -pg
> #LDFLAGS = ${LDFLAGS} -pg
>
> #
> # you should probably leave these untouched ####################################
> #
>
> OBJ = audio.o getbits.o getdata.o huffman.o dump.o misc2.o transform.o formats.o
>layer3.o util.o buffer.o audioIO.o args.o getopt.o getopt1.o
>
> LIBS = -lm
>
> all: amp
>
> .PHONY: clean cleandist dep
> clean:
> rm -f *.o amp
>
> cleandist: clean
> rm -f *~ config.status config.cache config.log config.h Makefile .depend
>
> amp: $(OBJ)
> $(CC) -o amp $(OBJ) $(LDFLAGS) $(LIBS)
>
> .c.o:
> $(CC) -c $(CFLAGS) $(GGDB) $(PG) $<
>
> dep:
> gcc -MM ${DEFINES} ${DEBUG} *.c > .depend
>
> -include .depend
>
> -------------------------------------------------------------------------------
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.