Felix Programming Language

How to fix the "AssertionError: src/compiler/ocs/src/ocs.cmxa: no sources or libraries passed in" bug

posted on April 09, 2009 - 11:13 AM PDT by Erick Tryzelaar

If you get this error when you try to build felix, it's because I accidentally committed a reference to the developer url for our branch of ocs. Here's how to fix it. First, make sure you're up to date with a git pull origin. Next, edit .git/config and replace this line:

[submodule "src/compiler/ocs"]
    url = felixgit@felix-lang.org:ocs.git

with:

[submodule "src/compiler/ocs"]
    url = http://git.felix-lang.org/r/ocs.git

Finally run git submodule init and git submodule update. Now fbuild/fbuild-light should work again. Let me know if this doesn't work for you.