This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/13243] New: undefined reference to symbol 'operatornew(unsigned int)@@GLIBCXX_3.
- From: "lkozlovskiy at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 01 Oct 2011 10:49:02 +0000
- Subject: [Bug c++/13243] New: undefined reference to symbol 'operatornew(unsigned int)@@GLIBCXX_3.
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13243
Bug #: 13243
Summary: undefined reference to symbol 'operator new(unsigned
int)@@GLIBCXX_3.
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: lkozlovskiy@hotmail.com
Classification: Unclassified
Target: i686-redhat-linux
gcc version 4.6.1 20110908 (Red Hat 4.6.1-9) (GCC)
SciTE:compile -OK
>make
cc -o vlasov2d vlasov2d.o `pkg-config --libs ibsimu`
/usr/bin/ld: vlasov2d.o: undefined reference to symbol 'operator new(unsigned
int)@@GLIBCXX_3.4'
/usr/bin/ld: note: 'operator new(unsigned int)@@GLIBCXX_3.4' is defined in DSO
/usr/lib/libstdc++.so.6 so try adding it to the linker command line
/usr/lib/libstdc++.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [vlasov2d] Error 1
>Exit code: 2
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.