This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Newbie help regarding .so modules
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Michael Reynolds <wshs_chat at yahoo dot com>
- Cc: automake at gnu dot org
- Date: Tue, 25 Feb 2003 17:06:31 +0100
- Subject: Re: Newbie help regarding .so modules
- References: <20030222061108.36971.qmail@web11605.mail.yahoo.com>
Hi Michael,
>>> "Michael" == Michael Reynolds <wshs_chat at yahoo dot com> writes:
Michael> I have 2 modules, each with their own _init and _fini functions. My
Michael> Makefile.am file is as follows:
[...]
Michael> /services/services/src/modules/dns.c:40: multiple definition of `_init'
Michael> /usr/lib/crti.o(.init+0x0): first defined here
Michael> dns.lo: In function `_fini':
Michael> /services/services/src/modules/dns.c(.text+0x88): multiple definition
Michael> of `_fini'
Michael> /usr/lib/crti.o(.fini+0x0): first defined here
Michael> *** Error code 1
Michael> ****************** END ******************
Michael> What I need help with is compiling the so modules.
This looks like a libtool question to me, so I just Googled for
"libtool _init" and got this as the first answer:
http://mail.gnu.org/archive/html/libtool/2001-02/msg00020.html
Does it answer your question? Otherwise, I suggest you write to
libtool at gnu dot org dot
--
Alexandre Duret-Lutz