benmbrennan / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

FTBFS due to missing check for dynarec #258

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On machines without available dynarec it still tries to compile it even
when we don't have a valid directory for it registered. An idea is only to
compile dynarec if DYNAREC make variable is set.

---
gcc -o r4300/tlb.o -g -O2 -I/usr/include/freetype2   -pipe -O3 -ffast-math
-funroll-loops -fexpensive-optimizations -fno-strict-aliasing -g -DDBG -
D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -
I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r4300/tlb.c
make[2]: *** No rule to make target `r4300//assemble.o', needed by
`mupen64plus'.  Stop.
make[2]: Leaving directory
`/build/buildd-mupen64plus_1.5+dfsg1-1-alpha-wBvuIG/mupen64plus-1.5+dfsg1'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory
`/build/buildd-mupen64plus_1.5+dfsg1-1-alpha-wBvuIG/mupen64plus-1.5+dfsg1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

---
Patch taken from 
http://git.debian.org/?p=collab-maint/mupen64plus.git;a=tree;f=debian/patches;hb
=master

Original issue reported on code.google.com by sven@narfation.org on 1 Sep 2009 at 8:25

Attachments:

GoogleCodeExporter commented 9 years ago
The CPU detection pre.mk fix should prevent the problem reported in the issue 
report.
 However this patch will also allow us to support optional inline assembly language
code for non-x86 platforms even when there is no dynarec present for that 
platform,
so it has been committed in rev 1410"

Original comment by richard...@gmail.com on 29 Sep 2009 at 4:02