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

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Mon Sep 12 11:49:56 UTC 2016


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

G.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 325 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gambas-devel/attachments/20160912/9fa5bf55/attachment-0001.obj>


More information about the Pkg-gambas-devel mailing list