c - Static Linking error -
my platform rhel 4.6 under intel xeon system. compiler gcc 4.2. applications developed using c.
let assume have routine ( ) in making phone call contained in library l. have made new library using linking statically library l routine a. allow phone call new library n.
now there 3 different applications called x , y , z. of 3 applications need link new library n.
i have tried link ( statically ) these 3 applications library n. @ time of linking why compiler 1 time 1 time again give linking error if don't include l. have included l @ time of making n. still why expect l separately.
it still needs library build. because built n doesn't mean set l it. has references it. still needs l running executable. btw, it's not thought build libraries rely on other libraries (at to the lowest degree other static libraries) that.
c linux static linker
No comments:
Post a Comment