Re: multiple definitions linker error when building 2.0.5

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

 



 --- Allen Williams <anw@csunv.com> wrote:
> This error has appeared several times over the last
> couple of months, with no apparent resolution. 

> It is multiple defines of several templated
> classes:
>
./obj_linux_x86_r/radauth.o(.bss._ZN9SingletonI7ToolkitE14m_CreationLockE+0x
> 0): multiple definition of
> `Singleton<Toolkit>::m_CreationLock'

Try adding the line:

CFLAGS += -frepo

to the Makefile, and then rebuilding after a "make
clean". This should enable g++'s "template repository"
mode so that template functions are only instantiated
once. (But it will take gnugk longer to link...)

Chris


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux