Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-04-10 14:51:24

dodona
Member
Registered: 2020-02-25
Posts: 4

build error: xfce4-mixer

build out of git repo failed with dollowing message:

libxfce4mixer.c: In function ‘xfce_mixer_shutdown’:
libxfce4mixer.c:113:31: error: cast between incompatible function types from ‘void (*)(GstMixer *)’ {aka ‘void (*)(struct _GstMixer *)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
  113 |       g_list_foreach (mixers, (GFunc) _xfce_mixer_destroy_mixer, NULL);
      |                               ^
cc1: all warnings being treated as errors
make[2]: *** [Makefile:526: libxfce4mixer_la-libxfce4mixer.lo] Error 1
make[1]: *** [Makefile:512: all-recursive] Error 1
make: *** [Makefile:444: all] Error 2

any clue?

Offline

#2 2020-04-10 16:40:48

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,688

Re: build error: xfce4-mixer

dodona wrote:

cc1: all warnings being treated as errors

Try passing the "--disable-debug" parameter to your ./autogen or ./configure script.

Offline

#3 2020-04-10 16:58:23

dodona2
Member
Registered: 2020-04-09
Posts: 1

Re: build error: xfce4-mixer

ToZ wrote:
dodona wrote:

cc1: all warnings being treated as errors

Try passing the "--disable-debug" parameter to your ./autogen or ./configure script.

great. Worked.

Thanks a lot!

Offline

Board footer

Powered by FluxBB