[Mplayer-felhasznalok] GUI-val nem fordul

mhamk mhamk at bekes.hungary.net
Thu Feb 7 13:43:00 CET 2002


>
> Nem tud DPMS - t geped.
>
Letöltöttem a legfrissebbet, de most az már a confignál leáll. PNG - t
hiányol, pedig fent vannak a csomagok.

#include <png.h>
#include <string.h>
int main(void) {
  printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
  printf("libpng: %s\n", png_get_libpng_ver(NULL));
  return (strcmp(PNG_LIBPNG_VER_STRING, png_get_libpng_ver(NULL)));
}

gcc    /tmp/mplayer-conf-882623907-831.c -o
/tmp/mplayer-conf-2105789533-831.o -lpng -lz -lm
/tmp/mplayer-conf-882623907-831.c: In function `main':
/tmp/mplayer-conf-882623907-831.c:6: warning: passing arg 2 of `strcmp'
makes pointer from integer without a cast
/tmp/ccQRJ7mF.o: In function `main':
/tmp/ccQRJ7mF.o(.text+0x24): undefined reference to `png_get_libpng_ver'
/tmp/ccQRJ7mF.o(.text+0x44): undefined reference to `png_get_libpng_ver'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-2105789533-831.o
ldd: can't open /tmp/mplayer-conf-2105789533-831.o (No such file or
directory)

Result is: no


Please help!!!!


               Oláh Ferenc
              rendszergazda
  Mezohegyes József Attila ÁMK




More information about the MPlayer-felhasznalok mailing list