comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: SDLAda
Date: Sat, 19 Dec 2015 15:43:52 -0800 (PST)
Date: 2015-12-19T15:43:52-08:00	[thread overview]
Message-ID: <f4707baa-c884-480b-a109-54a8eb393121@googlegroups.com> (raw)
In-Reply-To: <ba39eb02-49f9-4dd9-83f1-a0d182dc5920@googlegroups.com>

On Saturday, 19 December 2015 01:44:37 UTC, comicf...@gmail.com  wrote:
 
> dead-code@Machine:~/Bureau/sdlada-master$ make SDL_PLATFORM=linux SDL_BUILD=static SDL_MODE=release
> gprbuild -p -gnat2012 -XSDL_BUILD=static -XSDL_MODE=release -XSDL_PLATFORM=linux \
> 		-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 -gnatE -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$ 
> 
> 
> How solve the problem ?

Are you the samer person who posted the issue on Github? If so, I said there, 4.6 is too early and the 2012 features are not implemented properly there. 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 .
> 
> 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 PURPOSE.
> 
> dead-code@Machine:~/Bureau/sdlada-master$

Does that 4.8 compiler have ada enabled? I'm not on a Debian based distro anymore, 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=gcc
COLLECT_LTO_WRAPPER=/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=/home/laguest/opt/free-ada-new --target=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --enable-multilib --enable-threads=posix --with-gnu-as --with-gnu-ld --enable-languages=c,c++,objc,obj-c++,ada --with-system-zlib --disable-libgomp --without-libffi --without-libiconv-prefix --disable-libmudflap --disable-nls --disable-libstdcxx-pch --disable-isl-version-check --with-gmp=/home/laguest/opt/free-ada-new --with-mpfr=/home/laguest/opt/free-ada-new --with-mpc=/home/laguest/opt/free-ada-new --with-isl=/home/laguest/opt/free-ada-new --enable-cloog-backend=isl --disable-cloog-version-check --with-cloog=/home/laguest/opt/free-ada-new CFLAGS=
Thread model: posix
gcc version 4.9.2 (GCC) 

Note the line "--enable-languages=c,c++,objc,obj-c++,ada" 

Luke.

  parent reply	other threads:[~2015-12-19 23:43 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-19  1:44 SDLAda comicfanzine
2015-12-19 13:33 ` SDLAda Lucretia
2015-12-19 19:27   ` SDLAda comicfanzine
2015-12-19 19:43     ` SDLAda Luke A. Guest
2015-12-19 23:43 ` Lucretia [this message]
2015-12-20 11:21   ` SDLAda Brian Drummond
2015-12-20 11:56     ` SDLAda Lucretia
2015-12-20 12:24       ` SDLAda Dmitry A. Kazakov
2015-12-20 13:25         ` SDLAda Pascal Obry
2015-12-20 20:07         ` GNAT versions (Was: SDLAda) Jacob Sparre Andersen
2015-12-20 21:12           ` GNAT versions Simon Wright
2015-12-21  7:59             ` Jacob Sparre Andersen
2015-12-26  7:18 ` SDLAda comicfanzine
2015-12-26 18:26   ` SDLAda Luke A. Guest
2015-12-27 17:53     ` SDLAda comicfanzine
2015-12-27 17:55     ` SDLAda comicfanzine
2015-12-27 19:35       ` SDLAda Luke A. Guest
2015-12-28 10:26         ` SDLAda Simon Clubley
2015-12-28 14:10           ` SDLAda Lucretia
  -- strict thread matches above, loose matches on Subject: below --
2023-01-09 14:31 SDLAda Luke A. Guest
2023-01-09 17:08 ` SDLAda Luke A. Guest
     [not found] ` <tpjcse$12bl$1@gioia.aioe.org>
2023-01-13 15:39   ` SDLAda Luke A. Guest
2023-01-16  7:43     ` SDLAda Jesper Quorning
2023-01-16  9:20       ` SDLAda Luke A. Guest
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox