Strange error when compiling lightdm-gtk-greeter-2.0.3.tar.gzCannot find libgmp when compiling GCC 4.5.2Error...
Should you avoid redundant information after dialogue?
Alternatives to using writing paper for writing practice
GPIO and Python - GPIO.output() not working
How would someone destroy a black hole that’s at the centre of a planet?
Would letting a multiclass character rebuild their character to be single-classed be game-breaking?
Why is dry soil hydrophobic? Bad gardener paradox
Could the crash sites of the Apollo 11 and 16 LMs be seen by the LRO?
Why is "dark" an adverb in this sentence?
Are there any double stars that I can actually see orbit each other?
Postgresql numeric and decimal is automatically rounding off
Is this more than a packing puzzle?
Hot object in a vacuum
Are L-functions uniquely determined by their values at negative integers?
Published paper containing well-known results
Adding a vertical line at the right end of the horizontal line in frac
How did Southern slaveholders in the United States relate to the Caribbean and Latin America?
Nested-Loop-Join: How many comparisons and how many pages-accesses?
how to generate correct single and double quotes in tex
What are some symbols representing peasants/oppressed persons fighting back?
Is killing off one of my queer characters homophobic?
Why do candidates not quit if they no longer have a realistic chance to win in the 2020 US presidents election
Possible isometry groups of open manifolds
Why use null function instead of == []
Why didn't Al Powell investigate the lights at the top of the building?
Strange error when compiling lightdm-gtk-greeter-2.0.3.tar.gz
Cannot find libgmp when compiling GCC 4.5.2Error compiling glibLightdm does not start after using webkit greeterLFS-7.5 chapter 6.9 `make check` failsGCC warning when compiling OrangeError compiling source code, possibly related to cppError compiling gettext“configure: error: cannot run C compiled programs” when compiling gcc on Alpine LinuxHow to change cursor size in LightDM+GTKHow to install OURLINK AC600 USB wireless adapter in kali linux
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I got the error when compiling lightdm-gtk-greeter-2.0.3.tar.gz as below
make[2]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/po'
Making all in src
make[2]: Entering directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make all-am
make[3]: Entering directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
CC lightdm_gtk_greeter-lightdm-gtk-greeter.o
lightdm-gtk-greeter.c: In function ‘sigterm_cb’:
lightdm-gtk-greeter.c:447:41: error: cast between incompatible function types from ‘void (*)(GPid, gboolean)’ {aka ‘void (*)(int, int)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
g_slist_foreach (pids_to_close, (GFunc)close_pid, GINT_TO_POINTER (FALSE));
^
lightdm-gtk-greeter.c: In function ‘menu_command_run’:
lightdm-gtk-greeter.c:927:77: error: cast between incompatible function types from ‘void (*)(GtkWidget *)’ {aka ‘void (*)(struct _GtkWidget *)’} to ‘void (*)(GtkWidget *, void *)’ {aka ‘void (*)(struct _GtkWidget *, void *)’} [-Werror=cast-function-type]
gtk_container_foreach (GTK_CONTAINER (command->widget), (GtkCallback)gtk_widget_destroy, NULL);
^
lightdm-gtk-greeter.c: In function ‘reassign_menu_item_accel’:
lightdm-gtk-greeter.c:1489:57: error: cast between incompatible function types from ‘void (*)(GtkWidget *)’ {aka ‘void (*)(struct _GtkWidget *)’} to ‘void (*)(GtkWidget *, void *)’ {aka ‘void (*)(struct _GtkWidget *, void *)’} [-Werror=cast-function-type]
gtk_container_foreach (GTK_CONTAINER (submenu), (GtkCallback)reassign_menu_item_accel, NULL);
^
lightdm-gtk-greeter.c: In function ‘main’:
lightdm-gtk-greeter.c:2756:33: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-type]
g_unix_signal_add (SIGTERM, (GSourceFunc)sigterm_cb, /* is_callback */ GINT_TO_POINTER (TRUE));
^
lightdm-gtk-greeter.c:3152:40: error: cast between incompatible function types from ‘gboolean (*)(void)’ {aka ‘int (*)(void)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-typ]
gdk_threads_add_timeout (1000, (GSourceFunc) clock_timeout_thread, NULL);
^
cc1: all warnings being treated as errors
make[3]: *** [Makefile:536: lightdm_gtk_greeter-lightdm-gtk-greeter.o] Error 1
make[3]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make[2]: *** [Makefile:415: all] Error 2
make[2]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make[1]: *** [Makefile:452: all-recursive] Error 1
make[1]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3'
make: *** [Makefile:384: all] Error 2
Here is my configure:
OUR_CFLAGS="-Wno-declaration-after-statement
-Wno-error=deprecated-declarations"
CFLAGS="$CFLAGS $OUR_CFLAGS"
HAVE_EXO_CSOURCE=yes
./configure
--prefix=/usr
--libexecdir=/usr/lib/lightdm
--sbindir=/usr/bin
--sysconfdir=/etc
--with-libxklavier
--enable-kill-on-sigterm
--disable-libido
--disable-libindicator
--disable-static
--docdir=/usr/share/doc/lightdm-gtk-greeter-2.0.3 &&
make
I am using glibc-2.28 and gcc-8.2.0. Could anyone help?
Thanks
linux gcc glibc display-manager lightdm-gtk-greeter
New contributor
add a comment |
I got the error when compiling lightdm-gtk-greeter-2.0.3.tar.gz as below
make[2]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/po'
Making all in src
make[2]: Entering directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make all-am
make[3]: Entering directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
CC lightdm_gtk_greeter-lightdm-gtk-greeter.o
lightdm-gtk-greeter.c: In function ‘sigterm_cb’:
lightdm-gtk-greeter.c:447:41: error: cast between incompatible function types from ‘void (*)(GPid, gboolean)’ {aka ‘void (*)(int, int)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
g_slist_foreach (pids_to_close, (GFunc)close_pid, GINT_TO_POINTER (FALSE));
^
lightdm-gtk-greeter.c: In function ‘menu_command_run’:
lightdm-gtk-greeter.c:927:77: error: cast between incompatible function types from ‘void (*)(GtkWidget *)’ {aka ‘void (*)(struct _GtkWidget *)’} to ‘void (*)(GtkWidget *, void *)’ {aka ‘void (*)(struct _GtkWidget *, void *)’} [-Werror=cast-function-type]
gtk_container_foreach (GTK_CONTAINER (command->widget), (GtkCallback)gtk_widget_destroy, NULL);
^
lightdm-gtk-greeter.c: In function ‘reassign_menu_item_accel’:
lightdm-gtk-greeter.c:1489:57: error: cast between incompatible function types from ‘void (*)(GtkWidget *)’ {aka ‘void (*)(struct _GtkWidget *)’} to ‘void (*)(GtkWidget *, void *)’ {aka ‘void (*)(struct _GtkWidget *, void *)’} [-Werror=cast-function-type]
gtk_container_foreach (GTK_CONTAINER (submenu), (GtkCallback)reassign_menu_item_accel, NULL);
^
lightdm-gtk-greeter.c: In function ‘main’:
lightdm-gtk-greeter.c:2756:33: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-type]
g_unix_signal_add (SIGTERM, (GSourceFunc)sigterm_cb, /* is_callback */ GINT_TO_POINTER (TRUE));
^
lightdm-gtk-greeter.c:3152:40: error: cast between incompatible function types from ‘gboolean (*)(void)’ {aka ‘int (*)(void)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-typ]
gdk_threads_add_timeout (1000, (GSourceFunc) clock_timeout_thread, NULL);
^
cc1: all warnings being treated as errors
make[3]: *** [Makefile:536: lightdm_gtk_greeter-lightdm-gtk-greeter.o] Error 1
make[3]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make[2]: *** [Makefile:415: all] Error 2
make[2]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make[1]: *** [Makefile:452: all-recursive] Error 1
make[1]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3'
make: *** [Makefile:384: all] Error 2
Here is my configure:
OUR_CFLAGS="-Wno-declaration-after-statement
-Wno-error=deprecated-declarations"
CFLAGS="$CFLAGS $OUR_CFLAGS"
HAVE_EXO_CSOURCE=yes
./configure
--prefix=/usr
--libexecdir=/usr/lib/lightdm
--sbindir=/usr/bin
--sysconfdir=/etc
--with-libxklavier
--enable-kill-on-sigterm
--disable-libido
--disable-libindicator
--disable-static
--docdir=/usr/share/doc/lightdm-gtk-greeter-2.0.3 &&
make
I am using glibc-2.28 and gcc-8.2.0. Could anyone help?
Thanks
linux gcc glibc display-manager lightdm-gtk-greeter
New contributor
add a comment |
I got the error when compiling lightdm-gtk-greeter-2.0.3.tar.gz as below
make[2]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/po'
Making all in src
make[2]: Entering directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make all-am
make[3]: Entering directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
CC lightdm_gtk_greeter-lightdm-gtk-greeter.o
lightdm-gtk-greeter.c: In function ‘sigterm_cb’:
lightdm-gtk-greeter.c:447:41: error: cast between incompatible function types from ‘void (*)(GPid, gboolean)’ {aka ‘void (*)(int, int)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
g_slist_foreach (pids_to_close, (GFunc)close_pid, GINT_TO_POINTER (FALSE));
^
lightdm-gtk-greeter.c: In function ‘menu_command_run’:
lightdm-gtk-greeter.c:927:77: error: cast between incompatible function types from ‘void (*)(GtkWidget *)’ {aka ‘void (*)(struct _GtkWidget *)’} to ‘void (*)(GtkWidget *, void *)’ {aka ‘void (*)(struct _GtkWidget *, void *)’} [-Werror=cast-function-type]
gtk_container_foreach (GTK_CONTAINER (command->widget), (GtkCallback)gtk_widget_destroy, NULL);
^
lightdm-gtk-greeter.c: In function ‘reassign_menu_item_accel’:
lightdm-gtk-greeter.c:1489:57: error: cast between incompatible function types from ‘void (*)(GtkWidget *)’ {aka ‘void (*)(struct _GtkWidget *)’} to ‘void (*)(GtkWidget *, void *)’ {aka ‘void (*)(struct _GtkWidget *, void *)’} [-Werror=cast-function-type]
gtk_container_foreach (GTK_CONTAINER (submenu), (GtkCallback)reassign_menu_item_accel, NULL);
^
lightdm-gtk-greeter.c: In function ‘main’:
lightdm-gtk-greeter.c:2756:33: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-type]
g_unix_signal_add (SIGTERM, (GSourceFunc)sigterm_cb, /* is_callback */ GINT_TO_POINTER (TRUE));
^
lightdm-gtk-greeter.c:3152:40: error: cast between incompatible function types from ‘gboolean (*)(void)’ {aka ‘int (*)(void)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-typ]
gdk_threads_add_timeout (1000, (GSourceFunc) clock_timeout_thread, NULL);
^
cc1: all warnings being treated as errors
make[3]: *** [Makefile:536: lightdm_gtk_greeter-lightdm-gtk-greeter.o] Error 1
make[3]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make[2]: *** [Makefile:415: all] Error 2
make[2]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make[1]: *** [Makefile:452: all-recursive] Error 1
make[1]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3'
make: *** [Makefile:384: all] Error 2
Here is my configure:
OUR_CFLAGS="-Wno-declaration-after-statement
-Wno-error=deprecated-declarations"
CFLAGS="$CFLAGS $OUR_CFLAGS"
HAVE_EXO_CSOURCE=yes
./configure
--prefix=/usr
--libexecdir=/usr/lib/lightdm
--sbindir=/usr/bin
--sysconfdir=/etc
--with-libxklavier
--enable-kill-on-sigterm
--disable-libido
--disable-libindicator
--disable-static
--docdir=/usr/share/doc/lightdm-gtk-greeter-2.0.3 &&
make
I am using glibc-2.28 and gcc-8.2.0. Could anyone help?
Thanks
linux gcc glibc display-manager lightdm-gtk-greeter
New contributor
I got the error when compiling lightdm-gtk-greeter-2.0.3.tar.gz as below
make[2]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/po'
Making all in src
make[2]: Entering directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make all-am
make[3]: Entering directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
CC lightdm_gtk_greeter-lightdm-gtk-greeter.o
lightdm-gtk-greeter.c: In function ‘sigterm_cb’:
lightdm-gtk-greeter.c:447:41: error: cast between incompatible function types from ‘void (*)(GPid, gboolean)’ {aka ‘void (*)(int, int)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
g_slist_foreach (pids_to_close, (GFunc)close_pid, GINT_TO_POINTER (FALSE));
^
lightdm-gtk-greeter.c: In function ‘menu_command_run’:
lightdm-gtk-greeter.c:927:77: error: cast between incompatible function types from ‘void (*)(GtkWidget *)’ {aka ‘void (*)(struct _GtkWidget *)’} to ‘void (*)(GtkWidget *, void *)’ {aka ‘void (*)(struct _GtkWidget *, void *)’} [-Werror=cast-function-type]
gtk_container_foreach (GTK_CONTAINER (command->widget), (GtkCallback)gtk_widget_destroy, NULL);
^
lightdm-gtk-greeter.c: In function ‘reassign_menu_item_accel’:
lightdm-gtk-greeter.c:1489:57: error: cast between incompatible function types from ‘void (*)(GtkWidget *)’ {aka ‘void (*)(struct _GtkWidget *)’} to ‘void (*)(GtkWidget *, void *)’ {aka ‘void (*)(struct _GtkWidget *, void *)’} [-Werror=cast-function-type]
gtk_container_foreach (GTK_CONTAINER (submenu), (GtkCallback)reassign_menu_item_accel, NULL);
^
lightdm-gtk-greeter.c: In function ‘main’:
lightdm-gtk-greeter.c:2756:33: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-type]
g_unix_signal_add (SIGTERM, (GSourceFunc)sigterm_cb, /* is_callback */ GINT_TO_POINTER (TRUE));
^
lightdm-gtk-greeter.c:3152:40: error: cast between incompatible function types from ‘gboolean (*)(void)’ {aka ‘int (*)(void)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-typ]
gdk_threads_add_timeout (1000, (GSourceFunc) clock_timeout_thread, NULL);
^
cc1: all warnings being treated as errors
make[3]: *** [Makefile:536: lightdm_gtk_greeter-lightdm-gtk-greeter.o] Error 1
make[3]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make[2]: *** [Makefile:415: all] Error 2
make[2]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/src'
make[1]: *** [Makefile:452: all-recursive] Error 1
make[1]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3'
make: *** [Makefile:384: all] Error 2
Here is my configure:
OUR_CFLAGS="-Wno-declaration-after-statement
-Wno-error=deprecated-declarations"
CFLAGS="$CFLAGS $OUR_CFLAGS"
HAVE_EXO_CSOURCE=yes
./configure
--prefix=/usr
--libexecdir=/usr/lib/lightdm
--sbindir=/usr/bin
--sysconfdir=/etc
--with-libxklavier
--enable-kill-on-sigterm
--disable-libido
--disable-libindicator
--disable-static
--docdir=/usr/share/doc/lightdm-gtk-greeter-2.0.3 &&
make
I am using glibc-2.28 and gcc-8.2.0. Could anyone help?
Thanks
linux gcc glibc display-manager lightdm-gtk-greeter
linux gcc glibc display-manager lightdm-gtk-greeter
New contributor
New contributor
New contributor
asked 26 mins ago
zeropointzeropoint
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
zeropoint is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f530173%2fstrange-error-when-compiling-lightdm-gtk-greeter-2-0-3-tar-gz%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
zeropoint is a new contributor. Be nice, and check out our Code of Conduct.
zeropoint is a new contributor. Be nice, and check out our Code of Conduct.
zeropoint is a new contributor. Be nice, and check out our Code of Conduct.
zeropoint is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f530173%2fstrange-error-when-compiling-lightdm-gtk-greeter-2-0-3-tar-gz%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown