This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Link errors related to vtable
- From: George <zingafriend at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 9 Jan 2007 22:02:30 -0800 (PST)
- Subject: Link errors related to vtable
Hi,
I am getting link errors like below when I compile my
code(systemc) which is on cygwin 1.5.23 with gcc
3.4.4
(systemc is a c++ class library) I may be wrong but I
feel the errors are related to the gcc in cygwin. I
searched the archive but couldnt find any posts
related to this. Can anyone can give me any pointers
to what might be the problem.
-------------------------------------------------------
g++ -O3 -Wall -I. -I.. -I../../../include -L. -L..
-L../../../lib-linux -o run.x packet.o
packet_generator.o hub.o main.o -lsystemc -lm 2>&1 |
c++filt
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0x91):
undefined reference to `VTT for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0xa3):
undefined reference to `VTT for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0xad):
undefined reference to `VTT for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0xc2):
undefined reference to `VTT for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0xcc):
undefined reference to `vtable for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0xd3):
undefined reference to `vtable for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0xda):
undefined reference to `vtable for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0xe1):
undefined reference to `vtable for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0x600):
undefined reference to `VTT for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0x612):
undefined reference to `VTT for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0x622):
undefined reference to `VTT for packet_fifo'
main.o:main.cpp:(.text$_ZN11packet_fifoC1EN7sc_core14sc_module_nameE[packet_fifo::packet_fifo(sc_core::sc_module_name)]+0x62f):
undefined reference to `VTT for packet_fifo'
collect2: ld returned 1 exit status
-------------------------------------------------------
thanks
mark
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/