[asterisk-dev] Module 'app_gbox.so' could not be loaded.

Paolo Ornati ornati at fastwebnet.it
Mon Jun 18 08:04:25 CDT 2007

On Mon, 18 Jun 2007 14:48:00 +0500
"ast guy" <astguy at gmail.com> wrote:

> When I compile it outputs following errors
> app_gbox.c:944: warning: 'unload_module' defined but not used
> app_gbox.c:954: warning: 'load_module' defined but not used
> Any comments what am I missing for proper application registration.

IMO you should remove "static" from these, at least:

	static int unload_module(void)
	static int load_module(void)

how are they supposed to be called if you hide them?

PS: not that I'm an expert, this is the my first post here

	Paolo Ornati
	Linux 2.6.22-rc5-cfs-v17-gffa6a987 on x86_64

More information about the asterisk-dev mailing list