DBusKit 0.1.1 with GNU runtime: dk_make_protocol error while building

Patrick Cardona <[email protected]>
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <2236af53f527243fff503e60393ddeae@pi400>
Hello,

I am trying to build libdbuskit 0.1.1 with the GNU runtime.

There are the steps followed:

### Dependencies
### already there : libdbus-1-dev libdbus-1-3

### Fetching the 0.1.1 release as recommended by Philippe
wget https://github.com/gnustep/libs-dbuskit/archive/refs/tags/0.1.1.tar.gz
gunzip --force 0.1.1.tar.gz
tar xvf 0.1.1.tar && rm 0.1.1.tar
cd libs-dbuskit-0.1.1

### To avoid the config.guess type error:
### We must update config.guess... and  config.sub

wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'

### Configuring
./configure --disable-libclang

### Building
make nonstrict=yes

And now the error log:

(...)
 Linking framework DBusKit ...
 Creating DBusKit.framework/Versions/0/Resources/Info-gnustep.plist...
Making all in Tools ...
ln -s ../Source/DBusKit.framework/Versions/Current/Headers DBusKit
Making all for tool dk_make_protocol...
 Compiling file dk_make_protocol.m ...
dk_make_protocol.m: In function ‘main’:
dk_make_protocol.m:92:8: warning: variable ‘useObjC2’ set but not used [-Wunused
-but-set-variable]
   92 |   BOOL useObjC2 = NO;
      |        ^~~~~~~~
 Linking tool dk_make_protocol ...
/usr/bin/ld : ../Source/DBusKit.framework/Versions/Current/./libDBusKit.so : réf
érence indéfinie vers « GS_GC_HIDE »
/usr/bin/ld : ../Source/DBusKit.framework/Versions/Current/./libDBusKit.so : réf
érence indéfinie vers « GS_GC_UNHIDE »
collect2: error: ld returned 1 exit status
gmake[4]: *** [/System/Library/Makefiles/Instance/tool.make:89: obj/dk_make_prot
ocol] Error 1
gmake[3]: *** [/System/Library/Makefiles/Instance/tool.make:74: internal-tool-al
l_] Error 2
gmake[2]: *** [/System/Library/Makefiles/Master/rules.make:297: dk_make_protocol
.all.tool.variables] Error 2
gmake[1]: *** [/System/Library/Makefiles/Master/tool.make:71: internal-all] Erro
r 2
make: *** [/System/Library/Makefiles/Master/serial-subdirectories.make:53: inter
nal-all] Error 2

Help would be appreciated.

Regards,
Patrick



-- 
Patrick Cardona - Pi400 - GNU/Linux aarch64 (Debian 13.1) 
Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64)
Window Maker (0.96.0) - GWorkspace (1.1.0 - 02 2025) - Theme: AGNOSTEP - MUA: GNUMail (1.4.0)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.