[Flac-dev] 1.0 candidate

collver at linuxfreemail.com collver at linuxfreemail.com
Fri Jul 20 08:59:58 PDT 2001


I just checked out the 1.0 candidate and ran autogen.sh
autoconf errored out so autogen.sh did not work and I had to run automake
manually.  the autoconf error message was:
configure.in:145:               CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops -finline-functions -Winline -DFLAC__INLINE=__inline__"

anyhow I ran configure and I went into src/libFLAC/ia32 and ran gmake

I get the following error message:
libtool: compile: cannot determine name of library object from `cpu_asm.nasm'

I tried renaming the .nasm files to .s files and changing Makefile.am
accordingly.  (changed ".nasm.lo:" to ".s.lo:", changed
filename.nasm dependencies to .s) and it built fine.

I tried changing the ".s.lo:" target to "%.lo: %.s" and it built fine.

Then I removed "--tag=CC" and it built fine.

I am going to try one more thing this afternoon, but for now here is the
output of "cvs diff -u"

Index: src/libFLAC/ia32/Makefile.am
===================================================================
RCS file: /cvsroot/flac/flac/src/libFLAC/ia32/Makefile.am,v
retrieving revision 1.5
diff -u -r1.5 Makefile.am
--- src/libFLAC/ia32/Makefile.am	2001/07/16 18:04:19	1.5
+++ src/libFLAC/ia32/Makefile.am	2001/07/20 15:58:10
@@ -16,18 +16,16 @@
 #  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 #  Boston, MA  02111-1307, USA.
 
-SUFFIXES = .nasm .lo
-
 STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh
 
-.nasm.lo:
-	$(LIBTOOL) --tag=CC --mode=compile \
+%.lo: %.s
+	$(LIBTOOL) --mode=compile \
 		$(STRIP_FPIC) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $<
 
 #@@@OLD RULE:	$(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< -o $@
 
 noinst_LTLIBRARIES = libFLAC-asm.la
 libFLAC_asm_la_SOURCES = \
-	cpu_asm.nasm \
-	fixed_asm.nasm \
-	lpc_asm.nasm
+	cpu_asm.s \
+	fixed_asm.s \
+	lpc_asm.s




More information about the Flac-dev mailing list