David. Good day. Possible solution by trinitronx (2025-10-04) and ejona86 (2024-08-17).
trinitronx
> For systems with a newer compiler that defaults to std=c23, there are
> build errors:
> To work around these, CFLAGS must be set to use an older C standard
> (e.g. c17, c99, gnu17, etc...)
ejona86
> The only trick to compile 1.2.3 is to use options=('!lto') to fix
> "IEEE-754 float byte-ordering" not being detected.
I have attached these to this message as TXT and XHTML documents.
Kind regards,
Schimon
On Mon, 22 Sep 2025 16:18:52 +0100
david thompson via gtk-gnutella-devel
<[email protected]> wrote:
> hi
>
> Just tried to compile the latest gtk-gnutella on slackware 14.2
> (gtk-gnutella-1.2.3), obviously would not compile and got the
> instruction to send an email - so here it is.
>
> What I got was the following error messages
>
> Remote Shell Interface (deprecated): no
> -------------------------------------------------
> ERROR: Cannot compile against GLib. Library or header files might be
> missing. ERROR: Cannot compile against zlib. Library or header files
> might be missing. ERROR: Cannot compile against Gtk+. Library or
> header files might be missing.
>
> Can anyone help?
>
> Yours and thanks for any help.
>
> David
>
>
>
> _______________________________________________
> gtk-gnutella-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
Latest Comments
1 2 3 Next ⺠Last »
darose commented on 2025-10-04 16:07 (UTC)
Thanks for the tip @trinitronx. Package updated.
trinitronx commented on 2025-10-04 04:43 (UTC)
For systems with a newer compiler that defaults to std=c23, there are build
errors:
cc -c -I../.. -I.. -I../if/gen -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread
-I/usr/include/p11-kit-1 -DCORE_SOURCES -DCURDIR=src/core -O2 -g -pthread
-momit-leaf-frame-pointer -W -Wall -Wformat=2 -Wshadow -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=3
-O2 alive.c
In file included from ../common.h:286,
from ../lib/prop.h:28,
from gui_property.c:32:
../types.h:50:13: error: âboolâ cannot be defined via âtypedefâ
50 | typedef int bool;
| ^~~~
../types.h:50:13: note: âboolâ is a keyword with â-std=c23â onwards
../types.h:50:1: warning: useless type name in empty declaration
50 | typedef int bool;
| ^~~~~~~
[...SNIP...]
To work around these, CFLAGS must be set to use an older C standard (e.g. c17,
c99, gnu17, etc...)
For example, this PKGBUILD patch fixed the build for me:
diff --git a/PKGBUILD b/PKGBUILD
index 956f991..83a383a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,6 +23,7 @@ sha256sums=(
build() {
cd "$srcdir/$pkgname-$pkgver"
+ export CFLAGS="${CFLAGS} -std=gnu17"
./build.sh --prefix=/usr
}
ejona86 commented on 2024-08-17 01:55 (UTC)
The only trick to compile 1.2.3 is to use options=('!lto') to fix "IEEE-754
float byte-ordering" not being detected.
darose commented on 2021-07-13 16:04 (UTC)
Ah. Thanks for the pointer. I didn't realize they had moved over to GitHub.
(The link to GH from their SF page is not very obvious or prominent.)
Will work on updating to the new version ASAP.
postcd commented on 2021-07-13 15:31 (UTC)
@darose it is at https://github.com/gtk-gnutella/gtk-gnutella which is the page
linked from http://gtk-gnutella.sourceforge.net
darose commented on 2021-07-13 15:25 (UTC)
@Manifest0 Why the out of date flag? I don't see any newer version of the code
than 1.2.0. (https://sourceforge.net/projects/gtk-gnutella/files/gtk-gnutella/)
darose commented on 2020-03-24 15:22 (UTC)
FYI, I filed a bug, and this has been fixed upstream:
https://sourceforge.net/p/gtk-gnutella/bugs/556/
Just waiting for a new release from upstream and I'll update the package.
darose commented on 2020-03-16 01:09 (UTC)
Will take a look when I have a moment, but the issue is probably in the
upstream code and I'll likely just have to file a bug and wait till they fix
it. This code is very brittle - often breaks due to other package updates
changing API's and such.
artivision commented on 2020-03-13 19:53 (UTC)
Good day, cannot even build now.
darose commented on 2020-01-02 03:25 (UTC)
@artivision: I just updated to v1.1.15-2, which integrates a patch from the
author. (See https://sourceforge.net/p/gtk-gnutella/bugs/552/) LMK if that
fixes it.
1 2 3 Next ⺠Last »
Created: Wed Oct 15 2025 4:23:32 AM
Source: https://aur.archlinux.org/packages/gtk-gnutella#comment-1041993
Title: AUR (en) - gtk-gnutella
Document generated using Paper Clip
https://greasyfork.org/en/scripts/465960-paper-clip
Save selected content into clean HTML, Markdown or Text
aur_en_gtk_gnutella_2025-10-15_04-23-32.xhtml
Description: application/xhtml
_______________________________________________ gtk-gnutella-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
