Re: multiple definitions linker error when building 2.0.5

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

 



 --- Zygmuntowicz Michal <m.zygmuntowicz@onet.pl>
wrote:
> If someone will make approtiate tests and figure out
> what is best
> for building gnu gk with the latest pwlib and
> openh323 (1.15.x,1.5.x)
> on linux, I could then modify makefiles to include
> correct gcc options:
> scenario A) adding -frepo to STDCCFLAGS
> scenario B) removing -fdata-sections from STDCCFLAGS
> scenario C) removing -fdata-sections and
> -ffunction-sections from STDCCFLAGS
> scenario D) ?

Well I wouldn't recommend changing anything with
regards to pwlib or openh323 because you will probably
impact other projects. And I have had no trouble
building openh323gk under Linux with these extra GCC
options:

-fno-implement-inlines -frepo

The "no implement inlines" tells the compiler not to
emit an external version of an inline function, and so
also helps remove code-bloat. And it also unwise to
put this option in a library.

> I noticed that after removal of -fdata-sections and
> -ffunction-sections pwlib and openh323 had to be
> rebuild, otherwise ld crashed.

Heh, 'nuff said... ;-)

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