[Gambas-user] Latest commit failing to compile (gbx)
Benoît Minisini
g4mba5 at gmail.com
Fri Mar 5 23:33:59 CET 2021
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
More information about the User
mailing list