From: Francesco M. <f18...@ya...> - 2006-05-24 15:30:30
|
John Labenski ha scritto: > On 5/24/06, Francesco Montorsi > <f18...@ya...> wrote: >> k. holwerda ha scritto: >> > Hi, >> > >> > I downloaded the latest snapshot. >> > On fedora i get this error: >> > >> > make[1]: Entering directory `/home/db348/wxwin/wxLua/apps' >> > g++ -o ../bin/wxlua app_wxlua_wxlua.o app_wxlua_lconsole.o -L../lib >> > -lwxlua_gtk2d_wxlua-2.6 -lwxlua_gtk2d_wxbindstc-2.6 >> > -lwxlua_gtk2d_wxbind-2.6 -lwxlua_gtk2d_wxluasocket-2.6 >> > -lwxlua_gtk2d_wxluadebug-2.6 -lwxlua_gtk2d_lua-2.6 -lstedit >> > -L/usr/local/lib -pthread -L/usr/X11R6/lib >> > /usr/local/lib/libwx_gtk2d_stc-2.6.a >> > /usr/local/lib/libwx_gtk2d_xrc-2.6.a >> > /usr/local/lib/libwx_gtk2d_html-2.6.a >> > /usr/local/lib/libwx_gtk2d_adv-2.6.a >> > /usr/local/lib/libwx_based_net-2.6.a >> > /usr/local/lib/libwx_based_xml-2.6.a >> > /usr/local/lib/libwx_gtk2d_core-2.6.a /usr/local/lib/libwx_based-2.6.a >> > -lexpat -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 >> > -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 >> > -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -ljpeg -ltiff -lz >> > -ldl -lm >> > app_wxlua_wxlua.o(.text+0xd1d): In function >> `wxLuaStandaloneApp::OnInit()': >> > ../apps/wxlua/src/wxlua.cpp:194: undefined reference to >> > `wxLuaBinding_wxluasocket_init()' >> > collect2: ld returned 1 exit status >> > make[1]: *** [../bin/wxlua] Error 1 >> > make[1]: Leaving directory `/home/db348/wxwin/wxLua/apps' >> > make: *** [apps] Error 2 >> > [db348@s159749 wxLua]$ >> strange: here wxLua (CVS) compiles fine wxlua app and the fact that it's >> complaining about wxLuaBinding_wxluasocket_init() is rather strange as >> "-lwxlua_gtk2d_wxluasocket-2.6 " is given to the linker... >> which GCC are you using ? >> Can you try with latest CVS ? >> >> >> > I did regenerate the bindings, now i wonder what i am doing wrong? >> can you find somewhere wxLuaBinding_wxluasocket_init() in your wxLua >> sources ? right - those files were not compiled when the snapshot was generated... > > It should be in modules/wxluasocket/include/wxluasocket_bind.h and > modules/wxluasocket/src/ wxluasocket_bind.cpp. > >> > I went into modules/wxluasocket/src and typed make again. Strange its >> > starts making this part, but wants to write the library into >> > /usr/local/lib/libwx_gtk2d_wxluasocket-2.6.a?? Maybe this is not the >> > right makefile?? >> It's a makefile which writes directly in the same folder where wxWidgets >> is installed... John hand-wrote it; it's not part of bakefile build >> system > > Francesco, could you rebake the sources to get the new files in the > wxluasocket module? I already did this morning... this evening the snapshot will be okay. Francesco |