unable to compile in opensuse 11.0 x_64

Problems installing on other platforms
Post Reply
caitlin
New member
Posts: 2
Joined: Sat Dec 05, 2009 1:59 pm

unable to compile in opensuse 11.0 x_64

Post 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'
User avatar
dom
Well known member
Posts: 2076
Joined: Sun Jul 15, 2007 10:01 pm

Post 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?
caitlin
New member
Posts: 2
Joined: Sat Dec 05, 2009 1:59 pm

Post 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
User avatar
dom
Well known member
Posts: 2076
Joined: Sun Jul 15, 2007 10:01 pm

Post 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.
oisee
New member
Posts: 1
Joined: Thu Apr 22, 2010 4:58 pm

Post 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).
Last edited by oisee on Wed Sep 15, 2010 4:50 pm, edited 1 time in total.
Post Reply