sm-users AT lists.ibiblio.org
Subject: Sourcemage Users List
List archive
- From: Treeve Jelbert <treeve01 AT pi.be>
- To: sm-users AT lists.ibiblio.org
- Subject: [SM-Users] stange error message
- Date: Sun, 7 Dec 2003 13:01:08 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Does anyone understand what is causing these error messages.
I am trying to build some examples which are part of sptk, which depends on
fltk
I suspected the 'combreloc strip' optimisations, but removing them in the two
spells makes no difference.
what does "undefined reference to `vtable for Fl_Menu_Bar'" mean?
fltk installs the following libraries:
/usr/lib/libfltk.a
/usr/lib/libfltk_forms.a
/usr/lib/libfltk_gl.a
/usr/lib/libfltk_images.a
____
root@Sourcemage:/usr/share/doc/sptk/examples# make
g++ -O3 -Wall -I. `fltk-config --cxxflags` -s -lodbc -lspdb2 -lsptk2
`fltk-config --ldflags` -lpthread ceditor_test.cpp -o ceditor_test
/tmp/ccuFsY6i.o(.text+0x2850): In function `main':
: undefined reference to `Fl_Window::show(int, char**)'
/tmp/ccuFsY6i.o(.gnu.linkonce.r._ZTV8CMenuBar+0x10): undefined reference to
`Fl_Menu_Bar::draw()'
/tmp/ccuFsY6i.o(.gnu.linkonce.r._ZTV8CMenuBar+0x14): undefined reference to
`Fl_Menu_Bar::handle(int)'
/tmp/ccuFsY6i.o(.gnu.linkonce.t._ZN8CMenuBarD1Ev+0x12): In function
`CMenuBar::~CMenuBar [in-charge]()':
: undefined reference to `vtable for Fl_Menu_Bar'
/tmp/ccuFsY6i.o(.gnu.linkonce.t._ZN8CMenuBarD0Ev+0x15): In function
`CMenuBar::~CMenuBar [in-charge deleting]()':
: undefined reference to `vtable for Fl_Menu_Bar'
/tmp/ccuFsY6i.o(.gnu.linkonce.r._ZTI8CMenuBar+0x10): undefined reference to
`typeinfo for Fl_Menu_Bar'
collect2: ld returned 1 exit status
make: *** [ceditor_test] Error 1
Regards, Treeve
- --
PGP Key ID: AB929B24
PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/0xaMlpc0xauSmyQRAglXAJ9+1DQ7e0vvaFch0JG35JCGhDHHqwCgijjI
/M9YbOjIpaozk7e41oqn82A=
=4LfC
-----END PGP SIGNATURE-----
-
[SM-Users] stange error message,
Treeve Jelbert, 12/07/2003
- Re: [SM-Users] stange error message, Jason Flatt, 12/07/2003
- Re: [smgl] [SM-Users] stange error message, Treeve Jelbert, 12/07/2003
Archive powered by MHonArc 2.6.24.