Originally Posted By Belegdol
Looks like it fails to build with system zlib:
Quote:
collect2: error: ld returned 1 exit status
src/build/build.mak:81: recipe for target 'obj/sdl/build/makemak' failed
make: *** [obj/sdl/build/makemak] Error 1


Add zlib and flac reference to BASELIBS in makefile:
Code:
--- mame.orig/makefile  2015-01-29 11:46:28.852294000 +0100
+++ mame/makefile   2015-01-29 11:47:03.556294000 +0100
@@ -756,6 +756,7 @@
 ZLIB = $(OBJ)/libz.a
 else
 LIBS += -lz
+BASELIBS += -lz
 ZLIB =
 endif

@@ -766,6 +767,7 @@
 # $(OBJ)/libflac++.a
 else
 LIBS += -lFLAC
+BASELIBS += -lFLAC
 FLAC_LIB =
 endif



(pull request #122, please merge into master smile )



Master of Sarcastic Wit
Linux User #182984