Hi,I'm using an extern variable (switch_hash_t *) declared in a header file under src/include. This variable is defined in another .c file under src.
Now, I'm including this header file in my module under src/mod/my_mod and trying to initialise the hash. It compiles fine but when freeswitch is run, the module is not loaded and throws the error undefined reference.
Im not sure why. Sorry if this is a basic question.
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-dev
http://www.freeswitch.org