bebbo / amiga-gcc

The GNU C-Compiler with Binutils and other useful tools for cross development for Amiga
GNU General Public License v2.0
312 stars 66 forks source link

error: ‘isl_val_free’ was not declared in this scope #341

Closed felmur closed 1 year ago

felmur commented 1 year ago

Hi, when I compile, received this error: _error: ‘isl_val_free’ was not declared in this scope; did you mean ‘isl_vecfree’? and this error: _error: ‘isl_val_int_from_si’ was not declared in this scope; did you mean ‘isl_val_int_fromgmp’?

I use Archlinux which have libisl version 0.26. Please, see attached "make gcc.log" file. Regards. make gcc.log

bebbo commented 1 year ago

downgrade isl to 0.18 - or use the gcc local version and run contrib/download_prerequisites

felmur commented 1 year ago

downgraded to libisl v0.18, it works. Thanks.

BrianHoldsworth commented 1 week ago

I have the same issue building on Arch Linux. I cannot downgrade libisl because I have multiple other compilers that depend on the current version.

I did run the contrib/download_prerequsites script. It downloads some stuff, and that's about it, right? I see I have source code, presumably for libisl, in the projects/gcc/isl sub-directory. Do I need to build libisl from that directory and then install it somewhere on my system and somehow point the build process to that installed location?

Needless to say, I know nothing about the gcc build process. I might be better off going some other route to just getting a release version of this toolchain, rather than trying to build it.