For Programmers: Free Programming Magazines  


Home > Archive > VC Language > June 2005 > warning LNK4221









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author warning LNK4221
aparna

2005-05-31, 9:14 am

Hi,



Can anyone explain me the warning which says "warning LNK4221: no public
symbols found; archive member will be inaccessible". I'm able to build the
static lib, but unable to debug the values (when used in the test
application by static linking this library).



I didn't find info. about this warning in MSDN.



Thanks,

Aparna




Victor Bazarov

2005-05-31, 4:04 pm

aparna wrote:
> Can anyone explain me the warning which says "warning LNK4221: no public
> symbols found; archive member will be inaccessible". I'm able to build the
> static lib, but unable to debug the values (when used in the test
> application by static linking this library).


I think it's trying to tell you that the OBJ module you archived into your
library cannot be used since no linking operation will cause it to be
linked into an executable due to absence of any public symbols in your OBJ
module.

V
Brett Wickard

2005-06-01, 4:03 pm

I think it means don't cross-post to so many newsgroups!

"aparna" <kaparna@osi-systems.co.in> wrote in message
news:eL$lAvcZFHA.3096@TK2MSFTNGP15.phx.gbl...
> Hi,
>
>
>
> Can anyone explain me the warning which says "warning LNK4221: no public
> symbols found; archive member will be inaccessible". I'm able to build the
> static lib, but unable to debug the values (when used in the test
> application by static linking this library).
>
>
>
> I didn't find info. about this warning in MSDN.
>
>
>
> Thanks,
>
> Aparna
>
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com