[Mplayer-users] Error in GUI-compilation

Arpi arpi at thot.banki.hu
Sat Sep 29 22:16:12 CEST 2001


Hi,

> I get the following error-message when trying to compile the latest CVS 
> snapshot with --enable-new-gui:
> 
> bitmap/png/png.c: In function `pngLoadRaw':
> bitmap/png/png.c:87: `FILE' undeclared (first use in this function)
> bitmap/png/png.c:87: `fp' undeclared (first use in this function)
> bitmap/png/png.c:87: warning: implicit declaration of function `fopen'
> bitmap/png/png.c:87: invalid lvalue in assignment
> bitmap/png/png.c:91: warning: implicit declaration of function `fclose'
> bitmap/png/png.c: In function `pngRead':
> bitmap/png/png.c:125: warning: implicit declaration of function `memcpy'
> make[1]: *** [bitmap/png/png.o] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis 
> »/usr/local/src/MPlayer-20010929/Gui«
> make: *** [Gui/libgui.a] Fehler 2

Strange. try to add this line as first line to png.c:
#include <stdio.h>


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list