i don't declare tbroute_setup() at all. this function is generated by flext. but i can't declare it as static in the main.cpp, the compiler complains about it...
tim
On Thursday 20 March 2003 14:42, you wrote:
oops.. my prev mail was probably not very correct. do you declare tbroute_setup() static too in the source file?
hi,
i wrote a few small external using flext and i'd like to create a
library
that contains all these externals, but i've got some problems: i wrote a main.cpp as described in the tutorial (but i don't use a base class, all externals if i compile them alone)
#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)
but i am gettig the following message: undefined symbol:
_Z13tbroute_setupv
all the object files are linked to the .pd_linux file. any idea what's wrong with this?
thanks ... tim