From: William J. W. <wil...@gm...> - 2009-09-08 04:56:26
|
System: Vista64 MSYS: 1.0.11 MinGW: 5.1.4 installed requirements (all from sources, so I've got a validated MinGW make/gcc/g++ environment): tcl8.5.7 libxslt-1.1.24 libxml2-2.7.3 I've effectively had the same error with tclxml3.2 and the current svn trunk (the former after having touched win/win32config.h): oodles of the following undefined references: $ make rm -f Tclxml33.dll gcc -shared -o Tclxml33.dll tclxml.o docObj.o tclxml-libxml2.o nodeObj.o tcldom- libxml2.o tclxslt-libxslt.o tclxmlStubInit.o tclxmlStubLib.o -L/usr/local/lib - lxml2 -lws2_32 -L/usr/local/lib -lxslt -lxml2 -lws2_32 -lexslt "/usr/local/lib/l ibtclstub85.a" -L/usr/local/lib -lxslt -lxml2 -lws2_32 -lexslt tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x84f): undefined reference to `_imp__TclXML_libxml2_SetErrorNodeFunc' tcldom-libxml2.o:tcldom-libxml2.c:(.text+0xfb6): undefined reference to `_imp__TclXML_libxml2_GetTclDocFromObj' tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x1195): undefined reference to `_imp__TclXML_libxml2_NewDocObj' tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x11af): undefined reference to `_imp__TclXML_libxml2_DocKeep' tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x11dd): undefined reference to `_imp__TclXML_libxml2_CreateObjFromDoc' tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x1245): undefined reference to `_imp__TclXML_libxml2_CreateObjFromDoc' tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x1585): undefined reference to `_imp__TclXML_libxml2_GetDocFromObj' <snipped> I almost feel like I'm missing something obvious.. but.. .. .. help? - William Webb -- William J. Webb wil...@gm... |
From: Steve B. <Ste...@ex...> - 2009-09-09 20:54:02
|
I have replied to William privately on this matter, but for the benefit of the mailing list the answer is that I have not yet been able to get TclXML to compile using MinGW/MSYS. IMO to do so will require major reengineering of TclXML's module structure, something I don't have time to do right now. In the meantime, I do have binaries for the (not yet released) v3.3 available, built using MS Visual Studio, available upon request. This will be included in the v3.3 distribution (when I get time to do the release engineering... sigh). Cheers, Steve Ball On 08/09/2009, at 2:56 PM, William J. Webb wrote: > > System: Vista64 > MSYS: 1.0.11 > MinGW: 5.1.4 > > installed requirements (all from sources, so I've got a validated > MinGW make/gcc/g++ environment): > tcl8.5.7 > libxslt-1.1.24 > libxml2-2.7.3 > > I've effectively had the same error with tclxml3.2 and the current > svn trunk (the former after having touched win/win32config.h): > > oodles of the following undefined references: > > $ make > rm -f Tclxml33.dll > gcc -shared -o Tclxml33.dll tclxml.o docObj.o tclxml-libxml2.o > nodeObj.o tcldom- > libxml2.o tclxslt-libxslt.o tclxmlStubInit.o tclxmlStubLib.o -L/usr/ > local/lib - > lxml2 -lws2_32 -L/usr/local/lib -lxslt -lxml2 -lws2_32 -lexslt "/usr/ > local/lib/l > ibtclstub85.a" -L/usr/local/lib -lxslt -lxml2 -lws2_32 -lexslt > tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x84f): undefined reference > to `_imp__TclXML_libxml2_SetErrorNodeFunc' > tcldom-libxml2.o:tcldom-libxml2.c:(.text+0xfb6): undefined reference > to `_imp__TclXML_libxml2_GetTclDocFromObj' > tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x1195): undefined > reference to `_imp__TclXML_libxml2_NewDocObj' > tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x11af): undefined > reference to `_imp__TclXML_libxml2_DocKeep' > tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x11dd): undefined > reference to `_imp__TclXML_libxml2_CreateObjFromDoc' > tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x1245): undefined > reference to `_imp__TclXML_libxml2_CreateObjFromDoc' > tcldom-libxml2.o:tcldom-libxml2.c:(.text+0x1585): undefined > reference to `_imp__TclXML_libxml2_GetDocFromObj' > > <snipped> > > I almost feel like I'm missing something obvious.. but.. .. .. help? > > - William Webb > > > > > > -- > William J. Webb > wil...@gm... > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > Tclxml-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclxml-users |