[cfe-dev] [libcxxabi]: undefined reference to 'typeinfo for void'
Eli Friedman
eli.friedman at gmail.com
Tue Aug 21 19:08:00 PDT 2012
On Tue, Aug 21, 2012 at 6:30 PM, soaliap <soaliap at 126.com> wrote:
> I build libcxx and libcxxabi with my complier on linux, but when I linked a
> simple hello world program, it reported a error:
> ---------------------------------------------------
> libc++abi.so: undefined reference to 'typeinfo for void'
> ---------------------------------------------------
> I know "undefined reference" error occured when some symbols were not found,
> but 'typeinfo for void' seemed so odd!
> Anybody gives me some advice? Thanks!
libc++abi is supposed to define _ZTIv itself; what compiler are you using?
-Eli
More information about the cfe-dev
mailing list