[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] more strangeness with 0.12.1
From: |
Robert Weber |
Subject: |
Re: [rdiff-backup-users] more strangeness with 0.12.1 |
Date: |
Wed, 23 Jul 2003 11:45:08 -0600 |
Changing python won't make a difference, but the fragment of code gave me
the solution. Just add
#include <sys/mkdev.h>
after
#include <sys/types.h>
in cmodule.c and it works fine.
--
2 3 5 7 B D 11 13 17 1D 1F 25 29 2B 2F 35 3B Robert Weber
3D 43 47 49 4F 53 59 61 65 67 6B 6D 71 7F 83 UnixOps/ITS UCB
89 8B 95 97 9D A3 A7 AD B3 B5 BF C1 C5 C7 D3 (303) 492-4532
DF E3 E5 E9 EF F1 FB ... still searching ...
>
> >>>>> "RW" == Robert Weber <address@hidden>
> >>>>> wrote the following on Tue, 22 Jul 2003 16:01:01 -0600
>
> RW> On a solaris system, rdiff-backup builds/installs fine but when
> RW> I run rdiff-backup -V I get:
>
> RW> /usr/local/python/lib/python2.2/site-packages/rdiff_backup/C.so:
> RW> symbol minor: referenced symbol not found
>
> The problem seems to have something to do with extracting device
> numbers. Right now there is a line:
>
> int minor_num = (int)(minor(devnums));
>
> which I suppose could be replaced with the way it used to be:
>
> int minor_num = (int)(devnums & 0xff);
>
> However, since it compiled fine the new way should work. Perhaps if
> you recompiled python, and then made sure that rdiff-backup gets built
> with the same python that will be running it?
>
>
> --
> Ben Escoto
>
> --==_Exmh_-1274726332P
> Content-Type: application/pgp-signature
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> Comment: Exmh version 2.5CVS 01/04/2003
>
> iD8DBQE/HdfC+owuOvknOnURAo1AAJ4u0VMU0IF+sEi5YmuHxGj+Ly6vDACfRMVI
> pUXVhLAaNJ1AdIwebOZLSw0=
> =MjWb
> -----END PGP SIGNATURE-----
>
> --==_Exmh_-1274726332P--
>
>
>
> --===============0504135094==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> rdiff-backup-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
>
> --===============0504135094==--
>
>
--------
----------
Status: by weberr Wed Jul 23 11:43:48 2003
----------