[lxml-dev] Link error on __ftol2
![](https://secure.gravatar.com/avatar/b6073970eae005069be426177e2e7779.jpg?s=120&d=mm&r=g)
While trying to build lxml for Python 2.3 I hit an error that seems to have an easy solution, described here: http://mail.gnome.org/archives/xml/2004-March/msg00182.html Now, the suggested fix is to add the said decl to some .cpp file. I am wondering where would be a place to put that in lxml. -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
![](https://secure.gravatar.com/avatar/8b97b5aad24c30e4a1357b38cc39aeaa.jpg?s=120&d=mm&r=g)
Hi Sidnei, Sidnei da Silva wrote:
While trying to build lxml for Python 2.3 I hit an error that seems to have an easy solution, described here:
http://mail.gnome.org/archives/xml/2004-March/msg00182.html
Now, the suggested fix is to add the said decl to some .cpp file. I am wondering where would be a place to put that in lxml.
"etree_defs.h" should be the right place. That's where we handle C-level adaptation and configuration. I applied it to the trunk. Could you check if it works? BTW, don't bother too much preparing Windows builds for 1.2. I'll put up a 1.2.1 in a few days that contains the compile fixes and a few other bug fixes that are currently on the trunk. That will give us a stable 1.2 version before switching to the deeper changes for 1.3. I'll also see if I can get a 1.3beta ready by then, so that I can release both at the same day. Thanks for the builds, Stefan
participants (2)
-
Sidnei da Silva
-
Stefan Behnel