TALP-UPC / FreeLing

FreeLing project source code
Other
253 stars 96 forks source link

Fix static linking: all variables need to be defined #99

Closed jgsogo closed 4 years ago

jgsogo commented 4 years ago

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 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.

I hope these changes don't break anything