[MPlayer-users] build problems with current mplayer

George R Goffe grgoffe at yahoo.com
Wed Mar 20 22:16:33 EET 2024


Howdy,

I'm attempting to build mplayer from source and am experiencing build problems. Builds have succeeded in the past but now don't seem to work any more. My gcc seems to have "incompatible-pointer-types]" turned on. I have turned it off which produces other errors.

Perhaps I'm doing something wrong? For the life of me, I don't see my error.

Can someone help me please?


mplayer.c: In function 'main':
mplayer.c:3539:41: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
 3539 |                 stream_write_buffer(os, &in_size, 4);
      |                                         ^~~~~~~~
      |                                         |
      |                                         int *
In file included from ./mp_core.h:26,
                 from gui/interface.h:23,
                 from mplayer.c:73:
./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *'
  203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
      |                                      ~~~~~~~~~~~~~~~^~~



More information about the MPlayer-users mailing list