home › Forums › # Technical Support › FuzzyLite 3.1: [syntax error] stack expected to contain the root, but contains › Reply To: FuzzyLite 3.1: [syntax error] stack expected to contain the root, but contains
Thanks your reply. I recently updated to FuzzyLite 5.0. I updated my code to the new version from 3.1, and the code compiles fine without any errors and all the necessary include files are present in the OMNeT++ IDE. However, when starting my simulation at the OMNeT++ IDE, I get this linker error:
<!> Error during startup: Cannot load library ‘/..inetmanet/src//libinet.so’: /../inetmanet/src//libinet.so: undefined symbol: _ZN2fl9TrapezoidC1ERKSsdddd.
Libinet.so is a library file in which all the simulator code is loaded. It seems that it is not loading correctly the FuzzyLite library.
I have added to the simulation project properties “OMNeT++ makemake->Additional objects to link with” the file libfuzzylite-static.a ( found in FuzzyLite-5.0/fuzzylite/release/bin), which was the library file that was created after compiling the FuzzyLite 5.0 as “./build.sh all”. I did not have any linker problems with the previous version 3.1.
Do you have any ideas or hints how I could try to solve this problem?