From: L A Walsh <lkml@tlinx.org>
To: util-linux@vger.kernel.org
Subject: Build problem in 2.31
Date: Sun, 17 Dec 2017 19:33:51 -0800 [thread overview]
Message-ID: <5A37371F.5070307@tlinx.org> (raw)
In some of the utils in 2.31, I've had a problem where I build
and get an error like:
make AM_DEFAULT_VERBOSITY=1 swapon
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fsigned-char
-fno-common -Wall -Werror=sequence-point -Wextra -Wmissing-declarations
-Wmissing-parameter-type -Wmissing-prototypes
-Wno-missing-field-initializers -Wredundant-decls -Wsign-compare
-Wtype-limits -Wuninitialized -Wunused-but-set-parameter
-Wunused-but-set-variable -Wunused-parameter -Wunused-result
-Wunused-variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes
-Wimplicit-function-declaration -I./libblkid/src -I./libmount/src
-I./libsmartcols/src -fpic -march=native -pipe -Og -fpic -march=native
-pipe -Og -Wl,--default-symver -Wl,--stats -o swapon
sys-utils/swapon-swapon.o sys-utils/swapon-swapon-common.o
lib/swapon-swapprober.o libblkid.la libcommon.la libmount.la
libsmartcols.la
libtool: link: /usr/bin/gcc -fsigned-char -fno-common -Wall
-Werror=sequence-point -Wextra -Wmissing-declarations
-Wmissing-parameter-type -Wmissing-prototypes
-Wno-missing-field-initializers -Wredundant-decls -Wsign-compare
-Wtype-limits -Wuninitialized -Wunused-but-set-parameter
-Wunused-but-set-variable -Wunused-parameter -Wunused-result
-Wunused-variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes
-Wimplicit-function-declaration -I./libblkid/src -I./libmount/src
-I./libsmartcols/src -fpic -march=native -pipe -Og -fpic -march=native
-pipe -Og -Wl,--default-symver -Wl,--stats -o .libs/swapon
sys-utils/swapon-swapon.o sys-utils/swapon-swapon-common.o
lib/swapon-swapprober.o ./.libs/libblkid.so ./.libs/libcommon.a
./.libs/libmount.so
/home/tools/util-linux/util-linux-2.31/.libs/libblkid.so
/home/tools/util-linux/util-linux-2.31/.libs/libuuid.so -lrt
./.libs/libsmartcols.so -Wl,-rpath -Wl,//lib64
/usr/lib64/gcc/x86_64-pc-linux-gnu/7/../../../../lib64/crt1.o:/home/abuild/rpmbuild/BUILD/glibc-2.19/csu/../sysdeps/x86_64/start.S:67:
multiple definition of `swapon'
collect2: error: ld returned 1 exit status
Makefile:6756: recipe for target 'swapon' failed
make: *** [swapon] Error 1
----
Not all of the utils have these errors, but when the util may
also be the name of a system call, is my guess of when these
arise.
Any idea of what I might be doing wrong?
Appreciate pointers!
Tnx,
-linda
next reply other threads:[~2017-12-18 3:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 3:33 L A Walsh [this message]
2017-12-18 12:38 ` Build problem in 2.31 Karel Zak
2017-12-18 12:57 ` L A Walsh
2017-12-18 13:28 ` Karel Zak
2017-12-18 23:02 ` L A Walsh
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=5A37371F.5070307@tlinx.org \
--to=lkml@tlinx.org \
--cc=util-linux@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.