From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: Installing AdaSDL to a Debian system
Date: Mon, 27 Mar 2017 09:43:02 +0200
Date: 2017-03-27T09:43:02+02:00 [thread overview]
Message-ID: <obafko$9et$1@dont-email.me> (raw)
In-Reply-To: <510a4934-6292-4067-b4ca-3ec6cfad6e47@googlegroups.com>
On 2017-03-27 08:19, LaeMing Ai wrote:
> results in:
>
> gprbuild -d -P/home/laeming/adasdltest/test.gpr
> gnatgcc -c main.adb
> gprbind main.bexch
> gnatbind main.ali
> gnatgcc -c b__main.adb
> gnatgcc main.o -o main
> b__main.o: In function `ada_main__finalize_library':
> b__main.adb:(.text+0x7): undefined reference to `sdl__inputs__joysticks__game_controllers_E'
> b__main.adb:(.text+0x11): undefined reference to `sdl__inputs__joysticks__game_controllers_E'
...
> collect2: error: ld returned 1 exit status
> gprbuild: link of main.adb failed
> [2017-03-27 17:14:00] process exited with status 4, elapsed time: 00.62s
>
>
> Obviously I have missed something, likely because I ended up trying to do a manual install. Any help appreciated!
>
you need -largs -lsdl
or a
package Linker is
for Default_Switches ("Ada") use ("-lsdl");
end Linker;
--
--
Björn
next prev parent reply other threads:[~2017-03-27 7:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 6:19 Installing AdaSDL to a Debian system LaeMing Ai
2017-03-27 7:43 ` Björn Lundin [this message]
2017-03-27 8:07 ` Luke A. Guest
2017-04-02 6:39 ` LaeMing Ai
2017-04-02 8:15 ` Jeffrey R. Carter
2017-04-03 7:01 ` LaeMing Ai
2017-04-03 14:47 ` Lucretia
2017-04-04 2:44 ` LaeMing Ai
2017-04-04 4:17 ` LaeMing Ai
2017-04-04 5:52 ` LaeMing Ai
2017-04-05 8:32 ` LaeMing Ai
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox