From: Bernard f6bvp <f6bvp@free.fr>
To: Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de>
Cc: linux-hams@vger.kernel.org
Subject: ax25tools axgetput compile error
Date: Sat, 30 Jul 2022 10:37:21 +0200 [thread overview]
Message-ID: <32aa83bc-481f-f025-023f-0c173b34efd4@free.fr> (raw)
Hi,
On Linux ubuntu-f6bvp 5.19.0-rc8-next-20220728-F6BVP-next-1+ #2 SMP
PREEMPT_DYNAMIC Fri Jul 29 21:59:56 CEST 2022 x86_64 x86_64 x86_64
GNU/Linux
with
gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)
there is a compile error with ax25tools/ ax25/axgetput/axgetput.c
Making all in axgetput
make[3]: Entering directory
'/usr/local/src/ax25/linuxax25-master/ax25tools/ax25/axgetput'
gcc -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -g -O2 -MT axgetput.o
-MD -MP -MF .deps/axgetput.Tpo -c -o axgetput.o axgetput.c
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_FR.UTF-8)
In file included from axgetput.c:18:
../../config.h:308:16: error: two or more data types in declaration
specifiers
308 | #define mode_t int
| ^~~
../../config.h:311:15: error: two or more data types in declaration
specifiers
311 | #define pid_t int
| ^~~
axgetput.c: In function 'eol_convention':
axgetput.c:113:17: warning: ignoring return value of 'write' declared
with attribute 'warn_unused_result' [-Wunused-result]
113 | write(fderr, BIN_ON, strlen(BIN_ON));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
axgetput.c:116:17: warning: ignoring return value of 'write' declared
with attribute 'warn_unused_result' [-Wunused-result]
116 | write(fderr, BIN_OFF, strlen(BIN_OFF));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:380: axgetput.o] Error 1
make[3]: Leaving directory
'/usr/local/src/ax25/linuxax25-master/ax25tools/ax25/axgetput'
make[2]: *** [Makefile:595: all-recursive] Error 1
make[2]: Leaving directory
'/usr/local/src/ax25/linuxax25-master/ax25tools/ax25'
make[1]: *** [Makefile:392: all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/ax25/linuxax25-master/ax25tools'
make: *** [Makefile:331: all] Error 2
How can we fix it in order to compile ax25tools ?
73 de Bernard, f6bvp / ai7bg
--
73 de Bernard f6bvp / ai7bg
http://radiotelescope-lavillette.fr/au-jour-le-jour/
next reply other threads:[~2022-07-30 8:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-30 8:37 Bernard f6bvp [this message]
2022-07-30 14:08 ` ax25tools axgetput compile error Bernard f6bvp
2022-07-30 19:56 ` Thomas Osterried
[not found] <CAFAa3YCsS23P3iYg9SXBuSbKX=-OECVqVa+9bLLy4yiv9fHX2A@mail.gmail.com>
2022-08-05 9:41 ` Bernard Pidoux
2022-08-05 10:50 ` Thomas Osterried
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32aa83bc-481f-f025-023f-0c173b34efd4@free.fr \
--to=f6bvp@free.fr \
--cc=linux-hams@vger.kernel.org \
--cc=thomas@x-berg.in-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).