On 1/20/06, Francesco Montorsi <[EMAIL PROTECTED]> wrote: > make[1]: Entering directory `/home/frm/work/wxLua/modules/wxlua/src' > g++ -shared -o /usr/local/lib/libwx_gtk2ud_wxlua-2.7.so.1.5.0 internal.o > wxlbind.o wxlcallb.o wxlintrp.o wxlstate.o > /usr/bin/ld: internal.o: relocation R_X86_64_32 against `a local symbol' > can not be used when making a shared object; recompile with -fPIC > internal.o: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[1]: *** [/usr/local/lib/libwx_gtk2ud_wxlua-2.7.so.1.5.0] Error 1 > make[1]: Leaving directory `/home/frm/work/wxLua/modules/wxlua/src' > make: *** [wxLuaLib] Error 2 > [EMAIL PROTECTED]:~/work/wxLua/apps/wxlua/src$ > > And this did not work with both a static and a shared build of wxWidgets. > > Last, I searched for the unresolved linker symbols: i.e. > s_wxluatag_wxWindow, s_wxluatag_wxBitmap, s_wxluatag_wxEvtHandler, > s_wxluatag_wxEvent and I found that they are all declared as extern > symbols at the beginning of some CPP files (like wxlstate.cpp) but then > they are not defined anywhere. > > How did you manage to compile these sources ? > Do I have to run some bind generator ? > Or you have some un-committed sources in your local copy ?
You have to run make in bindings/wxwidgets to generate the bindings in modules/wxbind/. This is because of the number of changes being made to the binding generator. Regards, John Labenski ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wxlua-users mailing list Wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users