apartmentEmulator / mupen64plus

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

FTBFS on kfreebsd #257

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
../pre.mk:61: OS not supported or detected, using default linux options.
gcc -o compiletex.o -c compiletex.c
g++ -o compiletex compiletex.o
./compiletex font.tex font.h font
./compiletex cursor.tex cursor.h cursor
g++ -o Main.o -g -O2 -I/usr/include/freetype2   -pipe -O3 -ffast-math
-funroll-loops -fexpensive-optimizations -fno-strict-aliasing -march=athlon64 
-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/freetype2   -pipe -O3 -ffast-math -funroll-loops
-fexpensive-optimizations -fno-strict-aliasing -march=athlon64 -g -
I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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   -fpic -DPIC -DGCC
-DUSE_GTK -Iwrapper/ -MMD -MP -MQ Main.o -DUSE_GTK -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   -c Main.cpp
In file included from wrapper/3dfx.h:26,
                 from wrapper/glide.h:42,
                 from Gfx1.3.h:95,
                 from Main.cpp:37:
wrapper/glidesys.h:123:2: error: #error "Unknown OS"
make[3]: *** [Main.o] Error 1
make[3]: Leaving directory
`/build/buildd-mupen64plus_1.5+dfsg1-1-kfreebsd-amd64-XSfaDI/mupen64plus-1.5+dfs
g1/glide64'
make[2]: *** [plugins/glide64.so] Error 2
make[2]: Leaving directory
`/build/buildd-mupen64plus_1.5+dfsg1-1-kfreebsd-amd64-XSfaDI/mupen64plus-1.5+dfs
g1'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory
`/build/buildd-mupen64plus_1.5+dfsg1-1-kfreebsd-amd64-XSfaDI/mupen64plus-1.5+dfs
g1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

---
KFreeBSD is just the kernel from freebsd and in case of debian a gnu userland.

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:20

Attachments:

GoogleCodeExporter commented 8 years ago
Was this problem only present in the glide64 plugin or did it affect other 
modules as
well?  Does this problem persist in the latest Hg code?

Original comment by richard...@gmail.com on 12 Jan 2010 at 10:38

GoogleCodeExporter commented 8 years ago
The patch is only for glide64 - so, yes it only happened in glide64.

Original comment by sven@narfation.org on 12 Jan 2010 at 11:49

GoogleCodeExporter commented 8 years ago
Thanks, this doesn't apply any more then.

Original comment by richard...@gmail.com on 13 Jan 2010 at 12:03

GoogleCodeExporter commented 8 years ago
Wanted to check m64p on kFreeBSD and Makefile refuses the build with:

OS type "GNU/kFreeBSD" not supported. Please file bug report at '.....'

Original comment by sven@narfation.org on 13 Jan 2010 at 12:07

GoogleCodeExporter commented 8 years ago
Added a GNU/kFreeBSD entry (copy of freebsd entry) to the core/ui-console/audio-
and it worked fine.

Original comment by sven@narfation.org on 13 Jan 2010 at 12:21

GoogleCodeExporter commented 8 years ago
okay, I'll update the makefiles for my 6 modules to support this.

Original comment by richard...@gmail.com on 13 Jan 2010 at 2:50

GoogleCodeExporter commented 8 years ago

Original comment by richard...@gmail.com on 14 Jan 2010 at 5:39

GoogleCodeExporter commented 8 years ago
I have committed makefile changes to support GNU/kFreeBSD.  Please test and 
re-open
this bug report if the issue remains.

Original comment by richard...@gmail.com on 21 Jan 2010 at 3:06