xlog-discussion
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to compile XLog 2.0.22 on Debian Buster


From: Robert Kennedy
Subject: Unable to compile XLog 2.0.22 on Debian Buster
Date: Thu, 18 Mar 2021 17:23:23 +0000

I am running Anti-X linux on an 32-bit PC.  Anti-X linux uses the Debian Buster repos.

I installed XLog 2.0.14 from the Debian Buster repos.  XLog runs fine.

But I want to upgrade to the latest verson of Xlog - version 2.0.22.
So I am trying to compile XLog 2.0.22 from source.

I made sure that the following Debian Buster packages were installed first:
  • libhamlib2  (version 3.3-5)
  • libhamlib-dev
  • gcc  (version 8.3.0-6)
  • pkg-config
  • libglib2.0-dev
  • libgtk2.0-dev
  • libusb1.0-0-dev
  • libcanberra-gtk-module

"./ configure" runs fine without any errors.


But when I run "make" to compile the code, I get the following error:


gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.22\" -DPACKAGE_STRING=\"xlog\ 2.0.22\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.22\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include   -g -O2 -Werror -Wno-deprecated-declarations -Wall -Wno-stringop-truncation -Wno-unused-but-set-variable -MT adif3.o -MD -MP -MF .deps/adif3.Tpo -c -o adif3.o adif3.c
adif3.c: In function ‘adif_qso_append’:
adif3.c:527:4: error: ‘strncpy’ source argument is the same as destination [-Werror=restrict]
    strncpy (qfield, q[fld], qfield_len);  // Save the string from start to space, not including the space.
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:370: adif3.o] Error 1
make[2]: Leaving directory '/home/user/Downloads/xlog/Source/Extracted/xlog-2.0.22/src/logfile'
make[1]: *** [Makefile:600: all-recursive] Error 1
make[1]: Leaving directory '/home/user/Downloads/xlog/Source/Extracted/xlog-2.0.22/src'
make: *** [Makefile:381: all-recursive] Error 1

Any ideas on how to resolve the error and get XLog 2.0.22 to compile on my Debian Buster 32-bit PC?

Rob

reply via email to

[Prev in Thread] Current Thread [Next in Thread]