Re: multiple definitions linker error when building 2.0.5

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

 



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) ?

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

----- Original Message ----- 
From: "Chris Rankin" <rankincj@yahoo.com>
Sent: Saturday, September 20, 2003 2:22 PM
Subject: Re:  multiple definitions linker error when building 2.0.5


> The -frepo flag is best used when building executables
> rather than libraries. What it does is defer
> instantiating some template functions and just records
> the fact that it needs them in a .rpo file (one per
> cpp file). Then at link time, it consults the .rpo
> files to instantiate all of the missing functions just
> once.
[...] 
> Needless to say that this is a pain and absolutely
> specific to GCC. So no, I didn't try building PWLIB or
> OpenH323 like this.



-------------------------------------------------------
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