www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <20070110060230.7684.qmail@web53605.mail.yahoo.com> |
X-YMail-OSG: | LCcoQNYVM1mBtn0KnNMudgQ_r1TukP1RXoiOofcBGxzjvhn2aEh4PPIHRMNX9GdoO3gC6yIZ14QRQh365QlY5jt57b64i1HyVQaxEUwp6wbXTxbBjwxL_4hpB3R6_Xb6dJRWWZ8wyLqc7Qof5rFtYM5icwgz.Kx2xGfIYf6IF0QjrsKCHnH0TgO0RnuR |
Date: | Tue, 9 Jan 2007 22:02:30 -0800 (PST) |
From: | George <zingafriend AT yahoo DOT com> |
Subject: | Link errors related to vtable |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |