fsbext icon indicating copy to clipboard operation
fsbext copied to clipboard

Missing symbols `_xma_be16`, ...

Open bwesterb opened this issue 11 years ago • 4 comments

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 

bwesterb avatar Jan 12 '14 00:01 bwesterb

Same.

inket avatar May 22 '14 00:05 inket

Some problems with compile inline functions in clang - try make with option -O.

Dmitriy-Nester avatar Nov 28 '14 14:11 Dmitriy-Nester

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:

bwesterb avatar Nov 28 '14 14:11 bwesterb

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!

gdawg avatar Jan 26 '16 18:01 gdawg