fsbext
fsbext copied to clipboard
Missing symbols `_xma_be16`, ...
makeing, I get the following error:
Undefined symbols for architecture x86_64:
"_xma_be16", referenced from:
_xma2xact_header in fsbext-oweoT2.o
"_xma_be32", referenced from:
_xma2xact_header in fsbext-oweoT2.o
"_xma_le16", referenced from:
_xma1_header in fsbext-oweoT2.o
_xma2_header in fsbext-oweoT2.o
"_xma_le32", referenced from:
_xma1_header in fsbext-oweoT2.o
_xma2_header in fsbext-oweoT2.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [fsbext] Error
Same.
Some problems with compile inline functions in clang - try make with option -O.
That solves it
diff --git a/Makefile.in b/Makefile.in
index 88f1ec1..e2e1f4c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -5,7 +5,7 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
-CFLAGS=-Isrc -Wno-format @configure_flags@
+CFLAGS=-Isrc -Wno-format @configure_flags@ -O
all: $(NAME)
clean:
not entirely sure how but I completely missed this whole thread until - now.
oddly on my ubuntu 14 box it builds and runs fine as is but I can't see the harm in enabling optimisation so I'll apply that patch thx!