[Gambas-user] Latest commit failing to compile (gbx)
Bruce Steers
bsteers4 at gmail.com
Sat Mar 6 00:27:28 CET 2021
Thanks Ben , i do not understand why i get this sort of error though.
as far as i know i have not changed anything.
I downloaded and compiled/installed Gambas a couple of times yesterday
without problem then suddenly i get a problem with gbx compiling after you
made changes to it.
It must be a problem in the make install not overwriting things/updating
libs properly?
that's why I was a little put out by you saying it's my fault? My thinking
was "well i didn't bloody do anything !"
This certainly seems to be an issue with the installer not properly
configuring.
You are absolutely right in your solution it seems i did a make distclean
(it's a function in my app) and it has compiled again now,
thank you.
But why ? how ? what bloomin causes it? It's both annoying and
embarrassing and still strikes me as a bug in the gambas installer.
i want to add something to the wiki about what type of change will possibly
require make clean as the installer fails at some type of change.
Or is it just going to have to be considered an addition to what to do if
not compiling just running "make install"
Thanks again. apologies for my deflated ego shouting out.
BruceS
On Fri, 5 Mar 2021 at 22:34, Benoît Minisini <g4mba5 at gmail.com> wrote:
> Le 05/03/2021 à 23:21, Bruce Steers a écrit :
> >
> > So the latest commit will not compile for me.
> >
> > Make fails finding all sorts of errors in the gbx file
> >
> > here's the start of the errors...
> >
> > /usr/bin/ld: gbx3-gbx_subr_file.o: in function `SUBR_open':
> > /media/bonus/SSDiskspace/git/gambas-b/main/gbx/gbx_subr_file.c:224:
> undefined reference to `VALUE_is_null'
> > /usr/bin/ld:
> /media/bonus/SSDiskspace/git/gambas-b/main/gbx/gbx_subr_file.c:214:
> undefined reference to `THROW_TYPE'
> > /usr/bin/ld: gbx3-gbx_subr_file.o: in function `_get_stream':
> > /media/bonus/SSDiskspace/git/gambas-b/main/gbx/gbx_subr_file.c:135:
> undefined reference to `VALUE_is_null'
> > /usr/bin/ld:
> /media/bonus/SSDiskspace/git/gambas-b/main/gbx/gbx_subr_file.c:125:
> undefined reference to `VALUE_undo_variant'
> > /usr/bin/ld:
> /media/bonus/SSDiskspace/git/gambas-b/main/gbx/gbx_subr_file.c:135:
> undefined reference to `VALUE_is_null'
> > /usr/bin/ld:
> /media/bonus/SSDiskspace/git/gambas-b/main/gbx/gbx_subr_file.c:125:
> undefined reference to `VALUE_undo_variant'
> >
> >
> > I reported the bug on the bugtracker but Ben says it's something wrong
> > with my system and i should not report compilation bugs on the
> bugtracker.
> >
> > so i reverted the recent commit that affected gbx
> >
> https://gitlab.com/gambas/gambas/-/commit/da082311554e247fbba93d799fb6d2c787a0e412
> > <
> https://gitlab.com/gambas/gambas/-/commit/da082311554e247fbba93d799fb6d2c787a0e412
> >
> >
> > and this broke the recent commit made to gb.eval
> >
> https://gitlab.com/gambas/gambas/-/commit/635fd2de43e9053c13562d1db2e9ed23d3021abc
> > <
> https://gitlab.com/gambas/gambas/-/commit/635fd2de43e9053c13562d1db2e9ed23d3021abc
> >
> >
> > so i reverted that change too.
> >
> > Now it compiles again.
> >
> > can anyone suggest what may be wrong with my system if this is not a new
> > bug ?
> >
> > thanks a lot.
> > BruceS
> >
>
> These are linkers errors. You should not have them without having
> compiler errors, this is why I said there must something broken on your
> system.
>
> Try again with a "make clean" before.
>
> --
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210305/12c61730/attachment-0001.htm>
More information about the User
mailing list