[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Python bindings build error : unresolved external symbol '_t_output_helper' at r24095

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-03-27 00:05:54 CEST

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
$ 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.

  • application/pgp-signature attachment: stored
Received on Tue Mar 27 00:11:02 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.