Building the modules will require linking with libserver if you use any of the libserver API (recommended). If you limit yourself to only the module interface mentioned in this chapter, all you need is the server_module.h header.
An additional feature of ServerKit is a "Bundled module inspector". When building your module, you should set the entry point to "__server_module_main", a symbol defined by the SERVER_MODULE macro.
One way to do this is when invoking the linker "ld" include "-e __server_module_main" in the argument list. This produces a shared object capable of being executed like a conventional application. When executed by itself, the module will report vital information about itself like version, description, and all configuration options with default values.