Re: Undefined Reference Error

Mark Livingstone <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Organization Constellation
Message-ID <[email protected]>
On Tue, 29 Nov 2005 10:59 am, Vadim Zeitlin wrote:
> On Tue, 29 Nov 2005 10:10:32 +1000 Mark Livingstone
> <[email protected]> wrote: ML> Are any of you seeing this?
> ...
> ML> /usr/local/lib/libwx_gtk2d_xrc-2.7.so: undefined reference to `vtable
> for ML> wxGridXmlHandler'
>
>  Yes, this is the same problem as mentioned on wx-dev. Should be fixed in
> wx cvs now.

OK. I only get wx-user. Unfortunately, after the new files and makefile it is 
now more broken than before. wxWidgets doesn't even make for me (even after a 
make clean, ../configure, make ) :-(

MarkL

mlivingstone@constellation ~/projects/wxWidgets/build $ make
Makefile:24326: warning: overriding commands for target `xrcdll_xh_grid.o'
Makefile:24323: warning: ignoring old commands for target `xrcdll_xh_grid.o'
Makefile:24464: warning: overriding commands for target `xrclib_xh_grid.o'
Makefile:24461: warning: ignoring old commands for target `xrclib_xh_grid.o'
g++ -shared -fPIC -o lib/libwx_gtk2d_xrc-2.7.so.0.0.0  xrcdll_xh_bmpbt.o 
xrcdll_xh_bmp.o xrcdll_xh_bttn.o xrcdll_xh_cald.o xrcdll_xh_chckb.o 
xrcdll_xh_chckl.o xrcdll_xh_choic.o xrcdll_xh_choicbk.o xrcdll_xh_combo.o 
xrcdll_xh_datectrl.o xrcdll_xh_dlg.o xrcdll_xh_frame.o xrcdll_xh_mdi.o 
xrcdll_xh_gauge.o xrcdll_xh_gdctl.o xrcdll_xh_grid.o xrcdll_xh_html.o 
xrcdll_xh_listb.o xrcdll_xh_listbk.o xrcdll_xh_listc.o xrcdll_xh_menu.o 
xrcdll_xh_notbk.o xrcdll_xh_panel.o xrcdll_xh_radbt.o xrcdll_xh_radbx.o 
xrcdll_xh_scrol.o xrcdll_xh_scwin.o xrcdll_xh_sizer.o xrcdll_xh_slidr.o 
xrcdll_xh_spin.o xrcdll_xh_split.o xrcdll_xh_statbar.o xrcdll_xh_stbmp.o 
xrcdll_xh_stbox.o xrcdll_xh_stlin.o xrcdll_xh_sttxt.o xrcdll_xh_text.o 
xrcdll_xh_tglbtn.o xrcdll_xh_toolb.o xrcdll_xh_tree.o xrcdll_xh_treebk.o 
xrcdll_xh_unkwn.o xrcdll_xh_wizrd.o xrcdll_xh_grid.o xrcdll_xmlres.o 
xrcdll_xmlrsall.o -Llib -Llib -Llib -Llib -Llib -pthread   -L/usr/X11R6/lib    
-Llib   -Wl,-soname,libwx_gtk2d_xrc-2.7.so.0          -pthread   
-L/usr/X11R6/lib -Wl,--version-script,version-script -lz -ldl -lm  -pthread 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 
-lglib-2.0 -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff -lwx_gtk2d_html-2.7 
-lwx_gtk2d_adv-2.7 -lwx_gtk2d_core-2.7 -lwx_based_xml-2.7 -lwx_based-2.7
xrcdll_xh_grid.o: In function `size':
../src/xrc/xh_grid.cpp:23: multiple definition of 
`wxGridXmlHandler::ms_classInfo'
xrcdll_xh_grid.o:../src/xrc/xh_grid.cpp:23: first defined here
xrcdll_xh_grid.o: In function `wxGridXmlHandler::GetClassInfo() const':
xh_grid.cpp:(.text+0x0): multiple definition of 
`wxGridXmlHandler::GetClassInfo() const'
xrcdll_xh_grid.o:xh_grid.cpp:(.text+0x0): first defined here
xrcdll_xh_grid.o: In function `size':
../src/xrc/xh_grid.cpp:23: multiple definition of 
`wxGridXmlHandler::wxCreateObject()'
xrcdll_xh_grid.o:../src/xrc/xh_grid.cpp:23: first defined here
xrcdll_xh_grid.o: In function `IsOfClass':
../src/xrc/xh_grid.cpp:26: multiple definition of 
`wxGridXmlHandler::wxGridXmlHandler[in-charge]()'
xrcdll_xh_grid.o:../src/xrc/xh_grid.cpp:26: first defined here
xrcdll_xh_grid.o: In function `IsOfClass':
../src/xrc/xh_grid.cpp:26: multiple definition of 
`wxGridXmlHandler::wxGridXmlHandler[not-in-charge]()'
xrcdll_xh_grid.o:../src/xrc/xh_grid.cpp:26: first defined here
xrcdll_xh_grid.o: In function `wxGridXmlHandler::DoCreateResource()':
../src/xrc/xh_grid.cpp:32: multiple definition of 
`wxGridXmlHandler::DoCreateResource()'
xrcdll_xh_grid.o:../src/xrc/xh_grid.cpp:32: first defined here
xrcdll_xh_grid.o: In function `wxGridXmlHandler::CanHandle(wxXmlNode*)':
../src/xrc/xh_grid.cpp:47: multiple definition of 
`wxGridXmlHandler::CanHandle(wxXmlNode*)'
xrcdll_xh_grid.o:../src/xrc/xh_grid.cpp:47: first defined here
collect2: ld returned 1 exit status
make: *** [lib/libwx_gtk2d_xrc-2.7.so.0.0.0] Error 1
mlivingstone@constellation ~/projects/wxWidgets/build $


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.