Hi there,

I am using buildapp to compile an application with a dynamic C library linked. The application runs well in repl, but the compiled binary throws following error:

---------------------------------------------------------------------------------------------------

debugger invoked on a UNDEFINED-FUNCTION in thread

#<THREAD "main thread" RUNNING {1004A037F3}>:

  The function LIM-C::MAKE-LIMFILE-T is undefined.


Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. 
---------------------------------------------------------------------------------------------------

LIM-C is a package created with autowrap for a C library. LIMFILE-T is a wrapper of a foreign struct. 

I use SBCL 1.1.16. I have no clue why that happens. Any hint would be appreciated.