httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farokh Irani <far...@mcfsoftware.com>
Subject Re: Debian 4 issue
Date Sun, 15 Jul 2007 14:44:14 GMT
>No - you are not! You are using g++-4... which is a C++ compiler. Are
>you aware of C++ name mangling? Did you declare your exported symbols
>'extern C'?

Um, yes, already done.

extern "C" module AP_MODULE_DECLARE_DATA fancy_module;

It's the first line after the includes.

Near the end of the file:

module AP_MODULE_DECLARE_DATA fancy_module = {
	STANDARD20_MODULE_STUFF,
	create_dir_mconfig,    /* create per-dir config structures    */
	merge_dir_mconfig,     /* merge  per-dir config structures    */
	NULL,                  /* create per-server config structures */
	NULL,                  /* merge  per-server config structures */
	fancy_cmds,            /* table of config file commands       */
	fancy_register_hooks   /* register hooks                      */
};

-- 

Farokh
----------------------------------------------------------------------------
MCF Software...simply dependably engineered
Developers of ListSTAR http://www.liststar.com/, MacRADIUS
http://www.macradius.com/, Address List Sorter
http://www.mcfsoftware.com/als/, SimpleText Filter for EIMS
http://www.mcfsoftware.com/stf/ and Auto Reply plug-in for EIMS 
http://www.mcfsoftware.com/ar/.

Mime
View raw message