Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
81 user(s) are online (58 user(s) are browsing Forums)

Members: 2
Guests: 79

Futaura, walkero, more...

Support us!

Headlines

Report message:*
 

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by Raziel on 2019/12/18 17:26:23

Ok, so i now am hitting the exact same error as @seventhwonder did.

But i have no idea how the 32bit derivates are called that i need to download/install in favour of 64bit.

If that means i have to repeat the whole process by starting to install the 32bit version of msys2 i'm rather going to wait for your new script

Quote:

Submitted by Seventhwonder on Wed, 2018-12-26 13:52

Hi kas1e

I get following error when compiling OS4 crosscompiler. Is there a way to fix this ?

In file included from C:/msys64/amiga/adtools/binutils/repo/gas/hash.c:34:
C:/msys64/amiga/adtools/binutils/repo/gas/hash.c: In function 'hash_new_sized':
C:/msys64/amiga/adtools/binutils/repo/include/obstack.h:272:5: error: cast between incompatible function types from 'void * (*)(size_t)' {aka 'void * (*)(long long unsigned int)'} to 'void * (*)(long int)' [-Werror=cast-function-type]
(void *(*) (long)) obstack_chunk_alloc, (void (*) (void *)) obstack_chunk_free)
^
C:/msys64/amiga/adtools/binutils/repo/gas/hash.c:93:3: note: in expansion of macro 'obstack_begin'
obstack_begin (&ret->memory, chunksize);
^~~~~~~~~~~~~
cc1.exe: all warnings being treated as errors
make[6]: *** [Makefile:874: hash.o] Error 1
make[6]: Leaving directory '/amiga/adtools/native-build/binutils-cross-build-2.23.2/gas'
make[5]: *** [Makefile:2148: all-recursive] Error 1
make[5]: Leaving directory '/amiga/adtools/native-build/binutils-cross-build-2.23.2/gas'
make[4]: *** [Makefile:665: all] Error 2
make[4]: Leaving directory '/amiga/adtools/native-build/binutils-cross-build-2.23.2/gas'
make[3]: *** [Makefile:4624: all-gas] Error 2
make[3]: Leaving directory '/amiga/adtools/native-build/binutils-cross-build-2.23.2'
make[2]: *** [Makefile:846: all] Error 2
make[2]: Leaving directory '/amiga/adtools/native-build/binutils-cross-build-2.23.2'
make[1]: *** [Makefile:21: cross] Error 2
make[1]: Leaving directory '/amiga/adtools/binutils-build'
make: *** [makefile:92: binutils-cross-build-done-2.23.2] Error 2
make: Leaving directory '/amiga/adtools/native-build'

Log in or register to post comments
Seventhwonder's picture

Submitted by Seventhwonder on Thu, 2018-12-27 10:29

Fixed with installing 32 bit version of MSYS2


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project