This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie help regarding .so modules


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]