On Mon, 26 Mar 2007, Daniel Rall wrote:
> On Sun, 25 Mar 2007, masaru tsuchiyama wrote:
> 
> > I got linker error in swig_python_fs build configuration at  r24095
> > under Windows (VC6). r24026 is OK.
> > 
> > The error is "error LNK2001: unresolved external symbol '_t_output_helper' 
> > ".
> 
> I've been getting a similar build error on my workstation at home:
> 
> $ rpm -q swig
> swig-1.3.31-0.fc6
> $ make swig-py
> ...
> $ make check-swig-py
> cd /home/dlr/src/subversion/subversion/bindings/swig/python; \
>           /usr/bin/python /home/dlr/src/subversion/subversion/bindings/swig/python/tests/run_all.py
> Traceback (most recent call last):
>   File "/home/dlr/src/subversion/subversion/bindings/swig/python/tests/run_all.py", line 2, in ?
>     import client, delta, pool, ra, wc, repository, trac.versioncontrol.tests
>   File "/home/dlr/src/subversion/subversion/bindings/swig/python/tests/client.py", line 3, in ?
>     from svn import core, repos, fs, delta, client, wc
>   File "/home/dlr/src/subversion/subversion/bindings/swig/python/svn/repos.py", line 19, in ?
>     from libsvn.repos import *
>   File "/home/dlr/src/subversion/subversion/bindings/swig/python/libsvn/repos.py", line 39, in ?
>     import fs
>   File "/home/dlr/src/subversion/subversion/bindings/swig/python/libsvn/fs.py", line 7, in ?
>     import _fs
> ImportError: /home/dlr/src/subversion/subversion/bindings/swig/python/.libs/_fs.so: undefined symbol: t_output_helper
> make: *** [check-swig-py] Error 1
> 
> I tried replacing direct usage of t_output_helper() with the
> %append_output() SWIG macro, and while that seemed more appropriate
> for the code base, it didn't fix the test failures.
My original r24061 commit missed a usage of t_output_helper() in
svn_fs.i.  I've fixed this problem in r24181.
- Dan
- application/pgp-signature attachment: stored
 
 
Received on Tue Mar 27 01:09:30 2007