Page 1 of 1

unable to compile in opensuse 11.0 x_64

Posted: Sat Dec 05, 2009 2:03 pm
by caitlin
I run config.sh then build.sh it fails with unable to open file


Can anybody let me know what I am doing wrong?

Thanks


zcc +z88 -vn -make-lib -Wn43 -DZ88 bit_frequency.c
zcc +z88 -vn -make-lib -Wn43 -DZ88 bit_play.c
make[1]: Leaving directory `/home/crodrigu/Download/z88dk-src-1.9/z88dk/libsrc/games'
z80asm -d -ns -nm -Mo -DFORz88 -x./z88_clib @./z88.lst
file 'fcntl/z88/stat.o' couldn't be opened or created
1 errors occurred during assembly
make: *** [z88_clib.lib] Error 1
make: Leaving directory `/home/crodrigu/Download/z88dk-src-1.9/z88dk/libsrc'
make: Entering directory `/home/crodrigu/Download/z88dk-src-1.9/z88dk/libsrc'
cp ./*.lib ../lib/clibs
make: Leaving directory `/home/crodrigu/Download/z88dk-src-1.9/z88dk/libsrc'

Posted: Sun Dec 06, 2009 3:07 pm
by dom
You don't say what version you're using, but this looks similar to the 64 bit problems that we experienced earlier this year - I suspect higher up in the console log there's some "Integer out of range" error messages.

If you download a nightly (from http://nightly.z88dk.org) does the problem still exist?

Posted: Sun Dec 06, 2009 8:31 pm
by caitlin
Yes that is correct (about the int errors), I tried the latest version z88dk-src-1.9 and z88dk-src-1.8 same for both

Thanks

Posted: Sun Dec 06, 2009 10:18 pm
by dom
Good guess by me! We only fixed in back in September so there's not an official release with it in yet so take a nightly which has got the fix in.

Alternatively if you want to stick with a release version you'll need to do: export CFLAGS=-m32 before compiling, but they you'll need the 32 bit compatibility libs and toolchain installed.

Posted: Wed Sep 15, 2010 4:45 pm
by oisee
hi!

Same problem with MacOSX 1.6.4.

"Integer out of range" several times, and then

make[1]: *** [mktime.o] Error 1
cd rs232 ; make lz88 ; cd ..
cd z88 ; make ; cd ..
make[2]: Nothing to be done for `all'.
cd setjmp ; make ; cd ..
make[1]: Nothing to be done for `all'.
cd assert ; make ; cd ..
make[1]: Nothing to be done for `all'.
make gamesdeps
rm -f -f games/*.o
cd games ; make lz88 ; cd ..
zcc +z88 -vn -make-lib -Wn43 -DZ88 bit_frequency.c
zcc +z88 -vn -make-lib -Wn43 -DZ88 bit_play.c
z80asm -d -ns -nm -Mo -DFORz88 -x./z88_clib @./z88.lst
file 'fcntl/z88/stat.o' couldn't be opened or created
1 errors occurred during assembly
make: *** [z88_clib.lib] Error 1
cp ./*.lib ../lib/clibs

I've tried to ./build.sh "z88dk-latest.tgz 30-Aug-2010 03:02 3.5M"

From http://nightly.z88dk.org/

Is there any fix for this?

P.S. i remember, i build z88dk 1.9 on MacOSX 10.5.x, (it's i386, not x64), the problem i've got is on 10.6.x (x64).