OlafvdSpek / ctemplate

BSD 3-Clause "New" or "Revised" License
353 stars 93 forks source link

A bunch of undefined errors occur when make #153

Open Jiwj-sudo opened 1 year ago

Jiwj-sudo commented 1 year ago

When I configure./autogen.sh and./configure, and then make, I get a bunch of undefined errors. How to solve it? image

stuartdhayes commented 4 months ago

I've just experience this problem in version 2.3. Some how the files generated by generate_fsm.py were all 0 length, ie BUILT_SOURCES = src/htmlparser/htmlparser_fsm.h \ src/htmlparser/jsparser_fsm.h \ src/tests/statemachine_test_fsm.h

To fix this I had to clean out the generated file, which you can use: make maintainer-clean-generic

Then you can configure and rebuild again, providing you have the correct version of python installed.