[Pkg-gambas-devel] Bug#837541: gambas3: FTBFS with bindnow and PIE enabled

Bálint Réczey balint at balintreczey.hu
Tue Sep 13 00:35:33 UTC 2016


Hi Gianfranco,

2016-09-12 13:49 GMT+02:00 Gianfranco Costamagna
<costamagnagianfranco at yahoo.it>:
> control: tags -1 patch
>
> Hi Balint
>
>>During a rebuild of all packages in sid, your package failed to build on
>>amd64 with patched GCC and dpkg.
>
>
> looking at the error, I would say gambas is using an unexisting function
>
>
>>c_window.c:563:19: warning: implicit declaration of function 'SDL_GetWindowId' [-Wimplicit-function-declaration]
>>GB.ReturnInteger(SDL_GetWindowId(WINDOW));
>>
>
>>/<<PKGBUILDDIR>>/debian/tmp/usr/bin/gbi3: symbol lookup error: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/gambas3/gb.sdl2.so: undefined symbol: SDL_GetWindowId
>
> it might be because of a lower/uppercase issue, at least according to google and libsdl2.
>
> Can you please try the following attached diff?
>
> -       GB.ReturnInteger(SDL_GetWindowId(WINDOW));
> +       GB.ReturnInteger(SDL_GetWindowID(WINDOW));


Thanks, it fixed the build.

Cheers,
Balint



More information about the Pkg-gambas-devel mailing list