[Samba] Compiling python_ext ?

Gerald (Jerry) Carter jerry at samba.org
Fri Jan 17 19:17:37 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 11 Jan 2003, Brendan F. Dolan-Gavitt wrote:

> Using samba-2.999+3.0.alpha21 (debian unstable source package), I can't
> get the python modules to compile correctly. The problem seems to be
> that py_common.c and py_smb.c declare global_myname as an extern
> pstring, while it is defined in include/proto.h as const char
> *global_myname(void). Changing the definition in the two files allows it
> to compile, but "from samba import smb" then causes a segfault.
> 
> Any ideas what could be causing this problem? I can retry with cvs if
> necessary.

Try the latest SAMBA_3_0 code (maybe HEAD even as that is hwere Tim does 
most of his development).




cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2         "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+KFS4IR7qMdg1EfYRAqo3AKCogUJPN0q37+cP4t1pFn617acvrQCg2RVL
HpeTxkA/5el10Rp5bOpczKU=
=heKm
-----END PGP SIGNATURE-----




More information about the samba mailing list