[Samba] Quicktest Failure - Python Interpreter Version Mismatch
Stuart Wehrly
swehrly at gdeb.com
Tue Mar 30 07:47:40 MDT 2010
I tried compiling the latest source with a merged build. When compiling
source4 with PYTHON_VER=2.5 I get the following error:
In file included from ./../source4/include/includes.h:61,
from ../lib/torture/torture.c:21:
../lib/torture/../../lib/util/util.h:683: warning: parameter has
incomplete type
../lib/torture/../../lib/util/util.h:688: warning: parameter has
incomplete type
../lib/torture/../../lib/util/util.h:688: warning: parameter has
incomplete type
../lib/torture/../../lib/util/util.h:688: warning: parameter has
incomplete type
Compiling ../lib/torture/subunit.c
In file included from ./include/includes.h:61,
from ../lib/torture/subunit.c:20:
../lib/torture/../../lib/util/util.h:683: warning: parameter has
incomplete type
../lib/torture/../../lib/util/util.h:688: warning: parameter has
incomplete type
../lib/torture/../../lib/util/util.h:688: warning: parameter has
incomplete type
../lib/torture/../../lib/util/util.h:688: warning: parameter has
incomplete type
Partially linking bin/mergedobj/torture.o
Linking bin/smbtorture
/usr/local/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function
`posix_tmpnam':
(.text+0x4c93): warning: the use of `tmpnam_r' is dangerous, better use
`mkstemp'
/usr/local/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function
`posix_tempnam':
(.text+0x4b98): warning: the use of `tempnam' is dangerous, better use
`mkstemp'
Linking bin/wbinfo
../nsswitch/wbinfo.o: In function `parse_wbinfo_domain_user':
wbinfo.c:(.text+0x205): undefined reference to `safe_strcpy_fn'
wbinfo.c:(.text+0x22b): undefined reference to `safe_strcpy_fn'
wbinfo.c:(.text+0x261): undefined reference to `safe_strcpy_fn'
wbinfo.c:(.text+0x289): undefined reference to `safe_strcpy_fn'
wbinfo.c:(.text+0x2bc): undefined reference to `safe_strcpy_fn'
../nsswitch/wbinfo.o:wbinfo.c:(.text+0x2e2): more undefined references to
`safe_strcpy_fn' follow
collect2: ld returned 1 exit status
make: *** [bin/wbinfo] Error 1
Jelmer Vernooij <jelmer at samba.org> wrote on 03/29/2010 03:56:20 PM:
> Jelmer Vernooij <jelmer at samba.org>
> 03/29/2010 03:56 PM
>
> To
>
> Stuart Wehrly <swehrly at gdeb.com>
>
> cc
>
> samba-technical <samba-technical at lists.samba.org>
>
> Subject
>
> Re: [Samba] Quicktest Failure - Python Interpreter Version Mismatch
>
> On Thu, Mar 04, 2010 at 08:41:19AM -0500, Stuart Wehrly wrote:
> > We have two version of python install on our system. In /usr/bin we
have
> > python 2.4.3 and in /usr/local/bin we have python 2.5. Is there a way
to
> > force samba to use the version in /usr/local/bin? I tried setting
> > PYTHON_VER=2.5
> Did you set PYTHON_VER=2.5 when running ./configure ? I've just tried
this
> here locally (my default python is 2.6) and things seem to work as
usual.
>
> Cheers,
>
> Jelmer
More information about the samba-technical
mailing list