This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
C++ problem
- To: egcs at cygnus dot com
- Subject: C++ problem
- From: teunis <teunis at computersupportcentre dot com>
- Date: Mon, 23 Nov 1998 18:55:22 -0700 (MST)
What does
gcc -O9 -fomit-frame-pointer -pipe -fexpensive-optimizations -fexceptions
-D__SMP__ -D_REENTRANT -I./h -DMANAGE_MEM -DNO_CHECK -Isrc
-I/usr/local/include -g -rdynamic -o /root/apps/projects/bin/hive-3D
-L/root/apps/projects/lib hive-3D.o
main.o grid.o cursor.o gears.o md2.o pcx.o fDes.o lisp.o lisp_io.o
lisp_tools.o
lisp_memory.o lisp_number.o lisp_read.o lisp_printing.o dispatch_table.o
font.o
textfont.o C++-test.o Double.o Integer.o Colour.o Dimension.o Point.o
Polygon.o
Rectangle.o AffineTransform.o Arc2D.o ArcIterator.o Area.o CubicCurve2D.o
CubicIterator.o Ellipse2D.o FlatteningPathIterator.o GeneralPath.o
GeneralPathIterator.o Line2D.o QuadCurve2D.o QuadIterator.o Rectangle2D.o
RectangularShape.o RoundRectangle2D.o EllipseIterator.o
RoundRectIterator.o -lgc -lstdc++ -lm -lz -ljpeg -ldl -lpthread -lggi
-lGL
Ellipse2D.o: In function `Ellipse2D::getPathIterator(AffineTransform *)':
/root/apps/projects/hive-3D/src/geom/EllipseIterator.hpp:25: undefined
reference to `EllipseIterator virtual table'
RoundRectIterator.o: In function
`RoundRectIterator::RoundRectIterator(RoundRectangle2D *, AffineTransform
*)':
/root/apps/projects/hive-3D/src/RoundRectIterator.cc:69: undefined
reference to
`RoundRectIterator virtual table'
RoundRectIterator.o: In function
`RoundRectIterator::RoundRectIterator(RoundRectIterator *)':
/root/apps/projects/hive-3D/src/RoundRectIterator.cc:86: undefined
reference to
`RoundRectIterator virtual table'
collect2: ld returned 1 exit status
mean?
It's taking place right at a constructor for both classes.
Any ideas?
G'day, eh? :)
- Teunis
PS: egcs-2.92.13 and egcs-2.92.21 under Linux/glibc
Varying -many- things didn't change anything. All linked-in libraries
compiled with egcs-2.92.13 including glibc.