Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2005 22:27:24 -0800 (PST)
From:      spam maps <spamrefuse@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   gcc linking: undefined reference to '__gnu_norm::...' ?
Message-ID:  <20050124062724.27811.qmail@web54010.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

Hello,

I'm using FreeBSD 5.3-Stable.

I'm compiling a package from sources myself (it's
the most recent LyX software).

The compilation goes almost fine, only at the final
linking it gives strange errors. A zillion lines, that
all share having a problem with "__gnu_norm::...".

The LyX mailing list seems to have only Linux users,
and my problem is unknown there. So I guessed it is a
specific FreeBSD issue. Does somebody have an idea
what's going wrong here:

-----------------------------
$ gmake
 [....many compilation lines]
g++ -g -O -fno-exceptions -o lyx-xforms main.o Bidi.o
  [...]
trans_mgr.o undo.o vc-backend.o version.o vspace.o
  [...]
-lICE -laspell -lm -L/usr/X11R6/lib -lX11 -lz
BranchList.o(.gnu.linkonce.t._ZN10__gnu_norm4listI6BranchSaIS1_EE9_M_insertENS_14_List_iteratorIS1_EERKS1_+0x19):
In function `__gnu_norm::list<Branch,
std::allocator<Branch>
>::_M_insert(__gnu_norm::_List_iterator<Branch>,
Branch const&)':
/usr/include/c++/3.4/bits/locale_facets.tcc:2443:
undefined reference to
`__gnu_norm::_List_node_base::hook(__gnu_norm::_List_node_base*)'
BranchList.o(.gnu.linkonce.t._ZN10__gnu_norm4listI6BranchSaIS1_EE8_M_eraseENS_14_List_iteratorIS1_EE+0xd):
In function `__gnu_norm::list<Branch,
std::allocator<Branch>
>::_M_erase(__gnu_norm::_List_iterator<Branch>)':

[...and a zillion more of such lines...]

Thanks,
Rob.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050124062724.27811.qmail>