From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.67.3.106 with SMTP id bv10mr9495930pad.45.1450568632921; Sat, 19 Dec 2015 15:43:52 -0800 (PST) X-Received: by 10.182.104.163 with SMTP id gf3mr103705obb.5.1450568632868; Sat, 19 Dec 2015 15:43:52 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!mv3no13669542igc.0!news-out.google.com!l1ni8536igd.0!nntp.google.com!mv3no13669539igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 19 Dec 2015 15:43:52 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.216.84.203; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 90.216.84.203 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: SDLAda From: Lucretia Injection-Date: Sat, 19 Dec 2015 23:43:52 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:28826 Date: 2015-12-19T15:43:52-08:00 List-Id: On Saturday, 19 December 2015 01:44:37 UTC, comicf...@gmail.com wrote: =20 > dead-code@Machine:~/Bureau/sdlada-master$ make SDL_PLATFORM=3Dlinux SDL_B= UILD=3Dstatic SDL_MODE=3Drelease > gprbuild -p -gnat2012 -XSDL_BUILD=3Dstatic -XSDL_MODE=3Drelease -XSDL_PLA= TFORM=3Dlinux \ > -Psdlada.gpr -cargs `sdl2-config --cflags` > sdl_version.gpr:1:09: warning: there are no Ada sources in this project > gcc-4.6 -c -ffunction-sections -fdata-sections -gnat2012 -gnata -gnato -g= natE -gnaty -gnaty-s -gnatyO -gnatyM120 -gnatyO -O2 -I/usr/include/SDL2 -D_= REENTRANT -gnat2012 sdl-events-keyboards.adb > sdl-events-keyboards.adb:30:09: aspect identifier expected > sdl-events-keyboards.adb:39:09: aspect identifier expected > sdl-events-keyboards.adb:48:09: aspect identifier expected > sdl-events-keyboards.adb:57:09: aspect identifier expected > sdl-events-keyboards.adb:67:09: aspect identifier expected > sdl-events-keyboards.adb:77:09: aspect identifier expected > gprbuild: *** compilation phase failed > make: *** [sdl_build.gpr] Erreur 4 > dead-code@Machine:~/Bureau/sdlada-master$=20 >=20 >=20 > How solve the problem ? Are you the samer person who posted the issue on Github? If so, I said ther= e, 4.6 is too early and the 2012 features are not implemented properly ther= e. I've only tested building on a 4.9.2 gcc. > Also, gcc 4.8 is well present as you can see next. But he is not used in = the make , i don't know why . > Beside, I still got those errors above . >=20 > dead-code@Machine:~/Bureau/sdlada-master$ gcc --version > gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 > Copyright (C) 2013 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. >=20 > dead-code@Machine:~/Bureau/sdlada-master$ Does that 4.8 compiler have ada enabled? I'm not on a Debian based distro a= nymore, they have specific and separate builds for Ada compilers. I use my = own built compiler, free-ada. I would look at updating your Ubuntu or seeing if they have newer gcc/gnat = builds. Do gcc -v and see what it says, mine says this: $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/home/laguest/opt/free-ada-new/libexec/gcc/x86_64-pc-= linux-gnu/4.9.2/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /home/laguest/src/mine/tinyada/source/gcc-4.9.2/configure = --prefix=3D/home/laguest/opt/free-ada-new --target=3Dx86_64-pc-linux-gnu --= build=3Dx86_64-pc-linux-gnu --enable-multilib --enable-threads=3Dposix --wi= th-gnu-as --with-gnu-ld --enable-languages=3Dc,c++,objc,obj-c++,ada --with-= system-zlib --disable-libgomp --without-libffi --without-libiconv-prefix --= disable-libmudflap --disable-nls --disable-libstdcxx-pch --disable-isl-vers= ion-check --with-gmp=3D/home/laguest/opt/free-ada-new --with-mpfr=3D/home/l= aguest/opt/free-ada-new --with-mpc=3D/home/laguest/opt/free-ada-new --with-= isl=3D/home/laguest/opt/free-ada-new --enable-cloog-backend=3Disl --disable= -cloog-version-check --with-cloog=3D/home/laguest/opt/free-ada-new CFLAGS= =3D Thread model: posix gcc version 4.9.2 (GCC)=20 Note the line "--enable-languages=3Dc,c++,objc,obj-c++,ada"=20 Luke.