automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie help regarding .so modules


From: Alexandre Duret-Lutz
Subject: Re: Newbie help regarding .so modules
Date: Tue, 25 Feb 2003 17:06:31 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

Hi Michael,

>>> "Michael" == Michael Reynolds <address@hidden> 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 
address@hidden
-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]