Build problem in 2.31

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

 



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


--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux