Bug#258449: vdr-plugin-bitstreamout_0.61-1(hppa/unstable): FTBFS: including kernel headers

Christoph Martin pkg-vdr-dvb-devel@lists.alioth.debian.org
Fri, 16 Jul 2004 09:06:52 +0200


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig84567CE125310160495221E0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit



Thomas Schmidt schrieb:
> 
> Leider mag das der gcc noch nicht ganz:
> 
> g++ -O2  -Wall -Woverloaded-virtual -pthread -fPIC -DPIC -c -DPLUGIN_NAME_I18N='"bitstreamout"' -D_GNU_SOURCE  -I/usr/include/vdr/include -I/usr/include/include bitstreamout.c
> In file included from bitstreamout.c:34:
> types.h: In function `int test_and_set_bit(int, void*)':
> types.h:73: error: invalid conversion from `void*' to `int*'
> types.h: In function `int test_and_clear_bit(int, void*)':
> types.h:81: error: invalid conversion from `void*' to `int*'
> make[1]: *** [bitstreamout.o] Fehler 1
> make[1]: Verlasse Verzeichnis /home/chelli/vdr/cvs-buildpackage/vdr-plugin-bitstreamout/vdr-plugin-bitstreamout-0.61b
> make: *** [build-stamp] Fehler 2
> 
> Und wenn man aus dem void* ein int* macht, mag er es auch nicht.
> 

Versuchs mal mit:


int inline test_and_set_bit( int n, void *a )
{
  int *addr = (int *)a;
  int result = test_bit(n, addr);
  set_bit(n, addr);
  return result;
}

int inline test_and_clear_bit( int n, void *a )
{
  int *addr = (int *)a;
  int result = test_bit(n, addr);
  clear_bit(n, addr);
  return result;
}


-- 
============================================================================
Christoph Martin, EDV der Verwaltung, Uni-Mainz, Germany
 Internet-Mail:  Christoph.Martin@Uni-Mainz.DE
  Telefon: +49-6131-3926337
      Fax: +49-6131-3922856

--------------enig84567CE125310160495221E0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA936QgeVih7XOVJcRAuC2AJ9luirXIjZvLYe5s3KzT/LW93uSyACfXsMj
CE9Fco96VGPH2BKj6gIdjNU=
=LOX5
-----END PGP SIGNATURE-----

--------------enig84567CE125310160495221E0--