Package Details: gnocky 0.0.7-3

Git Clone URL: https://aur.archlinux.org/gnocky.git (read-only, click to copy)
Package Base: gnocky
Description: GTK written GUI frontend for gnokii
Upstream URL: http://www.gnokii.org/
Licenses: GPL
Submitter: DarwinSurvivor
Maintainer: DarwinSurvivor
Last Packager: DarwinSurvivor
Votes: 2
Popularity: 0.000000
First Submitted: 2015-09-15 05:19 (UTC)
Last Updated: 2025-03-07 18:04 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

DarwinSurvivor commented on 2025-03-07 18:13 (UTC) (edited on 2025-03-07 18:13 (UTC) by DarwinSurvivor)

Thanks dreieck, I was able to reproduce this and confirmed that the CFLAGS edit allows it to compile.

I've included your patch and bumped the release number. Let me know if you run into further errors.

Be warned that those error detections are often correct, so don't be surprised if this is simply masking a bug that could crash (or corrupt) the program during execution.

dreieck commented on 2025-03-07 12:05 (UTC)

Ahoj,

please add

export CFLAGS+=" -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types"

to build(), otherwise, with GCC 14.2.1, make fails with
monitor.c:755:33: error: implicit declaration of function ‘gnocky_set_button_active’; did you mean ‘gtk_clist_set_button_actions’? [-Wimplicit-function-declaration]
and
utils.c:44:60: error: passing argument 4 of ‘g_io_channel_read_chars’ from incompatible pointer type [-Wincompatible-pointer-types]:

[...]
In file included from /usr/include/glib-2.0/glib.h:34:
/usr/include/glib-2.0/glib/gasyncqueue.h:117:14: note: declared here
  117 | gpointer     g_async_queue_timed_pop            (GAsyncQueue      *queue,
      |              ^~~~~~~~~~~~~~~~~~~~~~~
monitor.c:755:33: error: implicit declaration of function ‘gnocky_set_button_active’; did you mean ‘gtk_clist_set_button_actions’? [-Wimplicit-function-declaration]
  755 |                                 gnocky_set_button_active(FALSE);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                 gtk_clist_set_button_actions
[...]
utils.c: In function ‘gnocky_chan_message_from_thread’:
utils.c:44:60: error: passing argument 4 of ‘g_io_channel_read_chars’ from incompatible pointer type [-Wincompatible-pointer-types]
   44 |             g_io_channel_read_chars(source, &c, sizeof(c), &bytes_read, NULL);
      |                                                            ^~~~~~~~~~~
      |                                                            |
      |                                                            gint * {aka int *}
[...]

I have reported this by email to the author of "gnokii", which seems to be the same as the author of "gnocky".

Regards and thanks for the package!

<deleted-account> commented on 2019-07-01 13:48 (UTC)

Yep, it's still here.

DarwinSurvivor commented on 2018-11-24 20:51 (UTC)

I'm unable to recreate this error on a relatively fresh archlinux machine (installed a few days ago).

Can you check if you're still getting the error?

noko commented on 2016-11-30 16:02 (UTC)

Same error as Franek here.

Franek commented on 2016-01-01 22:25 (UTC)

Something seems to be wrong: > gnocky ** (gnocky:23435): WARNING **: Couldn't find XML file: gnocky.glade (gnocky:23435): Gtk-CRITICAL **: IA__gtk_main_quit: assertion 'main_loops != NULL' failed (gnocky:23435): libglade-CRITICAL **: glade_xml_signal_autoconnect: assertion 'self != NULL' failed (gnocky:23435): libglade-CRITICAL **: glade_xml_get_widget: assertion 'self != NULL' failed (gnocky:23435): libglade-CRITICAL **: glade_xml_get_widget: assertion 'self != NULL' failed (gnocky:23435): libglade-CRITICAL **: glade_xml_get_widget: assertion 'self != NULL' failed (gnocky:23435): libglade-CRITICAL **: glade_xml_get_widget: assertion 'self != NULL' failed ** (gnocky:23435): WARNING **: Couldn't find XML file: gnocky-phone-view.glade ** (gnocky:23435): ERROR **: Cannot create phone view! -> terminated by SIGTRAP