You are not logged in.
when I install from pacman i get "ilegal instruction" when i start zsnes.
When i try to build it from abs i get:
./parsegen -D__UNIXSDL__ -D__OPENGL__ -gcc gcc -compile -flags "-march=i686 -O2 -pipe -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -march=pentium4 -O3 -fomit-frame-pointer -s -O1" -cheader cfg.h -fname cfg cfg.o cfg.psr
parsegen: gcc -march=i686 -O2 -pipe -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -march=pentium4 -O3 -fomit-frame-pointer -s -O1 -o cfg.o -c cfg.c
nasm -w-orphan-labels -D__UNIXSDL__ -f elf -DELF -D__OPENGL__ -O1 -o endmem.o endmem.asm
nasm -w-orphan-labels -D__UNIXSDL__ -f elf -DELF -D__OPENGL__ -O1 -o init.o init.asm
make: *** No rule to make target `GL/gl.h', needed by `initc.o'. Stop.
==> ERROR: Build Failed. Aborting...
Any tips?
Last edited by High|ander (2007-03-28 16:59:21)
When death smiles at you, all you can do is smile back!
Blog
Offline
I changed the build() function inside the PKGBUILD like this:
build() {
cd $startdir/src/zsnes_1_51/src
sed -i 's|-O99999999|-O1|' ./configure
CFLAGS= ./configure --prefix=/usr x_libraries=/usr/lib --enable-release
make || return 1
make DESTDIR=${startdir}/pkg install
}
The compilation seems to hang forever at one point if I don't include the sed command. (-O99999999, now that's -fomg-optimization ).
Offline