mirror of
https://github.com/iputils/iputils.git
synced 2026-01-12 00:04:28 +08:00
master
Along with checking for presence of <error.h> some toolchains also
require to check for error() function to avoid linking error, e.g.
powerpc64-unknown-linux-musl-gcc from Gentoo:
[17/18] powerpc64-unknown-linux-musl-gcc -o ping/ping ping/ping.p/ping.c.o ping/ping.p/ping_common.c.o ping/ping.p/ping6_common.c.o ping/ping.p/node_info.c.o -Wl,--as-needed -Wl,--no-undefined -Os -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--start-group libcommon.a -lm -lresolv -Wl,--end-group
FAILED: ping/ping
powerpc64-unknown-linux-musl-gcc -o ping/ping ping/ping.p/ping.c.o ping/ping.p/ping_common.c.o ping/ping.p/ping6_common.c.o ping/ping.p/node_info.c.o -Wl,--as-needed -Wl,--no-undefined -Os -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--start-group libcommon.a -lm -lresolv -Wl,--end-group
/usr/lib/gcc/powerpc64-unknown-linux-musl/14/../../../../powerpc64-unknown-linux-musl/bin/ld: ping/ping.p/ping.c.o: in function `ping_strtod':
ping.c:(.text+0x1c8): undefined reference to `error'
Closes: https://github.com/iputils/iputils/pull/601
Dowstream-bug: https://bugs.gentoo.org/951050
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Brahmajit Das <listout@listout.xyz>
The iputils package is set of small useful utilities for Linux networking.
Installation
$ ./configure && meson build
# cd builddir && meson install
Configuration can be adjusted (prefix, what is being build, etc.), see
meson_options.txt,
meson.build.
Build dependencies are listed in scripts in ci directory.
Supported libc
Contributing
Issues
- If reporting a bug, please document how to reproduce it.
- Please always test the latest master branch.
- Finding the commit which introduced the problem helps (bisecting).
- Document the kernel and distribution that were used.
- Tests should ideally use network namespaces to not interfere with the rest of the system.
Pull requests
- If fixing a bug, please document how to reproduce it.
- Finding the commit which introduced the problem helps (bisecting). Add
Fixme:tag. - If adding a feature, please describe why it's useful to add it.
- Commits should be signed:
Signed-off-by: Your Name <me@example.org>, see https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin. - Although the coding style for most tools is ancient, new code should follow the Linux kernel coding style. See https://www.kernel.org/doc/html/latest/process/coding-style.html.
- To update the code in the pull request, use
git push -f. Do not open a new pull request.
Reviewers
- Reviewers are very welcome. Post your comments or add
Reviewed-by: Your Name <me@example.org>.
Translators
Localization is hosted on Fedora Weblate.
Tools included in iputils
Tools removed from iputils
Some obsolete tools has been removed (see #363).
| Tool | Removing commit | Last release | Replacement |
|---|---|---|---|
| ninfod | 8f0d897 | 20211215 | experimental unused protocol |
| rarpd | fba7b62 | 20211215 | superseded by DHCP protocol |
| rdisc | 7447806 | 20211215 | superseded by DHCP protocol |
| tftpd | 341975a | 20210722 | tftp-hpa, dnsmasq |
| traceroute6 | a139421 | 20210722 | mtr, traceroute, tracepath |
History
Alexey Kuznetsov (1999–2002)
- first release (1999-01-07):
iputils-ss990107.tar.gz(source code not available) - first downloadable release (1999-04-16):
iputils-ss990417.tar.gz - latest release (2002-09-26):
iputils-ss020927.tar.gz
Hideaki Yoshifuji (2006–2015)
- first release (2006-04-25):
iputils-s20060425.tar.bz2 - latest release (2015-12-18):
iputils-s20151218.tar.bz2
Description
Languages
C
83.6%
Shell
6.2%
Meson
5.1%
Perl
4.2%
Python
0.8%