Control: tags -1 + patch Hi,
the error can be fixed by moving the linked library (-lm) to the end. See attached patch. Kind regards, Reiner
diff -u tstools-1.11/Makefile tstools-1.11/Makefile --- tstools-1.11/Makefile +++ tstools-1.11/Makefile @@ -80,7 +80,7 @@ endif CFLAGS = $(WARNING_FLAGS) $(OPTIMISE_FLAGS) $(LFS_FLAGS) -I. $(PROFILE_FLAGS) $(ARCH_FLAGS) -LDFLAGS = -g -lm $(PROFILE_FLAGS) $(ARCH_FLAGS) +LDFLAGS = -g $(PROFILE_FLAGS) $(ARCH_FLAGS) # Target directories OBJDIR = obj @@ -168,7 +168,7 @@ # Our library LIB = $(LIBDIR)/libtstools.a -LIBOPTS = -L$(LIBDIR) -ltstools $(ARCH_FLAGS) +LIBOPTS = -L$(LIBDIR) -ltstools $(ARCH_FLAGS) -lm # All of our programs (except the testing ones) PROGS = \
signature.asc
Description: PGP signature