* hidden symbol
@ 2010-03-04 14:58 alanklm
2010-03-04 15:48 ` Andrew Haley
0 siblings, 1 reply; 2+ messages in thread
From: alanklm @ 2010-03-04 14:58 UTC (permalink / raw)
To: gcc-help
Hello,
I have next problem with linker:
/usr/bin/ld: arithmetics_simple: hidden symbol `void
std::__ostream_fill<char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, long)' isn't defined
It's appears when I add one additional flag - -m32 to compilation.
Can somebody, please, tell me what this error (hidden symbol) means? And may
be - why it usually happens and how to fix it.
One reason, which I found in google, are usage gcc for compilation and g++
for link, but this not seems like my case.
--
View this message in context: http://old.nabble.com/hidden-symbol-tp27781837p27781837.html
Sent from the gcc - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: hidden symbol
2010-03-04 14:58 hidden symbol alanklm
@ 2010-03-04 15:48 ` Andrew Haley
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2010-03-04 15:48 UTC (permalink / raw)
To: alanklm; +Cc: gcc-help
On 03/04/2010 02:58 PM, alanklm wrote:
>
> Hello,
>
> I have next problem with linker:
>
> /usr/bin/ld: arithmetics_simple: hidden symbol `void
> std::__ostream_fill<char, std::char_traits<char> >(std::basic_ostream<char,
> std::char_traits<char> >&, long)' isn't defined
>
> It's appears when I add one additional flag - -m32 to compilation.
>
> Can somebody, please, tell me what this error (hidden symbol) means? And may
> be - why it usually happens and how to fix it.
>
> One reason, which I found in google, are usage gcc for compilation and g++
> for link, but this not seems like my case.
The linker is telling you that the symbol for std::__ostream_fill has
its visibility set to hidden, i.e. it's not exported from a shard
library. The most likely cause of this is an installation problem
with the 32-bit libraries of your gcc.
Andrew.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-04 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-04 14:58 hidden symbol alanklm
2010-03-04 15:48 ` Andrew Haley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).