[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: undefined reference to `non-virtual thunk [nv:-35] - resolved
From: |
erik_ohrnberger |
Subject: |
RE: undefined reference to `non-virtual thunk [nv:-35] - resolved |
Date: |
Tue, 10 May 2005 15:17:26 -0400 |
Part of the code that I was compiling was a number of bit packed structure
definitions using #pragma pack(1).
It would appear that this causes problems for the virtual table stuff. When
I went to surrounding the bit packed structures with
#pragma pack(push,1)
< structure definition here>
#pragma pack(pop)
The problem went away. This would appear to be a rather isolated and
strange circumstance not typically encountered by the average developer, so
I hope that this record helps someone in the future.
Erik.
> -----Original Message-----
> From: Ohrnberger, Erik
> Sent: Tuesday, May 10, 2005 1:09 PM
> To: address@hidden; address@hidden
> Subject: undefined reference to `non-virtual thunk [nv:-35]
>
>
> I'm really at a loss here and don't know how to proceed as to
> correct this issue.
>
> During the link phase of my gtkmm program I get this error
> associated with one of my shared libraries. Obviously
> there's a problem here, but what is the error message trying
> to tell me?
>
> The program is using gtkmm, ACE, and the GNU Common C++2 library.
>
> ACE is providing the network level communications, gtkmm is
> providing the GUI, and the GNU Common C++2 library is
> providing the object persistence.
>
> This error occurs at the point in the development when I
> incorporate the ACE library, yet the error is pointing to one
> of my classes.
>
> Any hints as to how to track this down further?
>
> Thanks in advance.
>
> Erik.
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: undefined reference to `non-virtual thunk [nv:-35] - resolved,
erik_ohrnberger <=