Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some fixes for further bitrot #24

Open
bcrowell opened this issue Apr 7, 2024 · 0 comments
Open

some fixes for further bitrot #24

bcrowell opened this issue Apr 7, 2024 · 0 comments

Comments

@bcrowell
Copy link

bcrowell commented Apr 7, 2024

a.txt
As of a few years ago, the default for gcc became -fno-common. This causes the code no longer to compile. To fix this, I added the following to the main makefile:

export MORE_CFLAGS := -fcommon -Wno-implicit-int -Wno-format-overflow -Wno-implicit-function-declaration \ -Wno-return-type -Wno-format -Wno-builtin-declaration-mismatch

Then I edited each of the makefiles like this:

CFLAGS= -O2 -I${INCLUDE} ${MORE_CFLAGS}

I've attached a patch file.

Other linux users will also probably find, like me, that -lfl doesn't work unless you install a special package. For me, on linux mint, although I already had the flex package installed, it turned out that I also needed to install libfl-dev or else -lfl wouldn't work.

This still does not fix the problem with the missing ending files in stemlib/Latin and stemlib/Greek, as described here by Lutetiensis: #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant