Hi Tim, have a look at the flext tutorial "lib1"!
Your code
#include <flext.h> void tbroute_setup(); void tbstrg_setup();
static void tblib_setup() { void tbroute_setup(); void tbstrg_setup(); } FLEXT_LIB_SETUP(tbext,tblib_setup)
is rather bogus because "void tbroute_setup()" declares the tbroute_setup function (local to tblib_setup) but does not call it!! (that would be just "tbroute_setup()" )
anyway, the correct library setup would be:
#include <flext.h>
static void tblib_setup() { FLEXT_SETUP(tbroute); FLEXT_SETUP(tbstrg); } FLEXT_LIB_SETUP(tbext,tblib_setup)
There no problem with the function being static. Please note that your library has to be called "tbext" !
best greetings, Thomas