In order to link statically all the extern variables need to be defined (we cannot fool the compiler). These variables were originally defined in the main() function in foma.c, but this function was removed. Maybe to use foma as a library some of these files are not needed, this is something we could investigate.
closes https://github.com/TALP-UPC/FreeLing/issues/96
In order to link statically all the
extern
variables need to be defined (we cannot fool the compiler). These variables were originally defined in themain()
function infoma.c
, but this function was removed. Maybe to usefoma
as a library some of these files are not needed, this is something we could investigate.I hope these changes don't break anything