Hallo Zusammen,
ich versuche gerade mal wieder xine-hde mit xine-lib 1.2 zu übersetzen, - leider nach wie vor erfolglos.
Der Compiler bricht mit folgendem Fehler ab:
vdr02 xine-hde # make
creating dependencies for pkg xineplug_hde
cc -O2 -funroll-loops -fomit-frame-pointer -march=pentium-mmx -mmmx -Wall -Wstrict-prototypes -c -D_GNU_SOURCE -D__LINUX__ -DCONFIG_MPEGVIDEO_PARSER -DCONFIG_MPEG4VIDEO_PARSER -DCONFIG_H264_PARSER -I/usr/include/xine -I/usr/include/xine/xine -I../hdshm3/src/include -I/usr/src/linux/include hde_xine.c
cc -O2 -funroll-loops -fomit-frame-pointer -march=pentium-mmx -mmmx -Wall -Wstrict-prototypes -c -D_GNU_SOURCE -D__LINUX__ -DCONFIG_MPEGVIDEO_PARSER -DCONFIG_MPEG4VIDEO_PARSER -DCONFIG_H264_PARSER -I/usr/include/xine -I/usr/include/xine/xine -I../hdshm3/src/include -I/usr/src/linux/include hde_xine_video.c
hde_xine_video.c: In Funktion »hde_alloc_frame«:
hde_xine_video.c:122: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/local/include/xine/xineutils.h:136)
hde_xine_video.c: In Funktion »hde_update_frame_format«:
hde_xine_video.c:149: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/local/include/xine/xineutils.h:136)
hde_xine_video.c:155: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/local/include/xine/xineutils.h:136)
hde_xine_video.c:156: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/local/include/xine/xineutils.h:136)
hde_xine_video.c:157: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/local/include/xine/xineutils.h:136)
hde_xine_video.c: In Funktion »hde_vo_open_plugin«:
hde_xine_video.c:272: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/local/include/xine/xineutils.h:136)
hde_xine_video.c: In Funktion »hde_video_init«:
hde_xine_video.c:322: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/local/include/xine/xineutils.h:136)
hde_xine_video.c:326: Fehler: »video_driver_class_t« hat kein Element namens »get_identifier«
hde_xine_video.c:327: Fehler: »video_driver_class_t« hat kein Element namens »get_description«
make: *** [hde_xine_video.o] Fehler 1
vdr02 xine-hde #
Alles anzeigen
In der "/usr/local/include/xine/xineutils.h" steht in Zeile 136 folgendes (blau):
ZitatAlles anzeigen.....
/*
* Allocate and clean memory size_t 'size', then return the pointer
* to the allocated memory.
*/
void *xine_xmalloc(size_t size) XINE_MALLOC XINE_DEPRECATED XINE_PROTECTED;
void *xine_xcalloc(size_t nmemb, size_t size) XINE_MALLOC XINE_PROTECTED;
/*
.....
Also, wenn ich das richtig interpretiere, dann gibt es bei den neueren Versionen von xine-lib die Funktion "xine_xmalloc" nicht mehr, oder?
Es müssten doch also nur die Aufrufe von "xine_xmalloc" in der "hde_xine_video.c" entfernt werden, oder liege ich da falsch?
Nun, leider spreche ich kein "C", ich hänge deshalb mal die "hde_xine_video.c" an, evtl. kann sich das ja mal Jemand, der "C" kann, ansehen.
--> Kann aber auch hier ausgecheckt werden: