RE: multiple definitions linker error when building 2.0.5

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

 



Thanks, Chris.  Appreciate the help and the insight into the "vagaries" of
our favorite compiler :^)

Will post results of tests.

A.

> -----Original Message-----
> From: openh323gk-users-admin@lists.sourceforge.net
> [mailto:openh323gk-users-admin@lists.sourceforge.net]On Behalf Of Chris
> Rankin
> Sent: Saturday, September 20, 2003 3:46 PM
> To: openh323gk-users@lists.sourceforge.net
> Subject: RE:  multiple definitions linker error when
> building 2.0.5
>
>
>  --- Allen Williams <anw@csunv.com> wrote: > Chris-
> > Since your "closure step" never references the
> > library, how do the missing
> > functions get put in?  And, what does repo stand for
> > again?
>
> You do the closure step by linking together all the .o
> files that will make up the library. This forces the
> compiler to instantiate all of the unresolved
> references. You've also got to add in all the
> dependent library references (-lfoo etc) so that you
> don't instantiate functions that you'll get from
> elsewhere.
>
> But the key lesson here is DON'T DO IT FOR LIBRARIES
> UNLESS YOU REALLY KNOW WHAT YOU'RE DOING! Better to
> just use "-frepo" for building executables.
>
> And the "repo" bit stands for "repository", as in
> "template repository".
>
> 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/



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