ideas of what lib might be missing? (2.29.2 has missing symbols @ link)
I thought 'configure' was supposed to test for what was present and what was missing? Seems to have missed a few... :-(
In trying to make new release 2.29.2, I'm getting
several undefined symbols:
color_fdisablecolor_scheme_fenable color_sequence_from_colornamecolormode_or_errcolors_initget_fd_tabsizeget_terminal_name
initproctitlepager_redirectparse_kmsg_recordsetproctitleplymouth_commandstring_to_bitarray
strnchrstrtimeval_isostrtos32_or_errstrtou32_or_errunhexmangle_to_buffer
---
Was wondering what library I might be missing? or why they are being referenced when 'whatever library' they are in, evidently isn't on my system... configure bug?
I just ran the existing configure with the options listed further on down...
Thanks!
-linda
uname -a:
Linux Ishtar 4.10.1-Isht-Van #1 SMP PREEMPT Tue Feb 28 18:57:48 PST 2017 x86_64 GNU/Linux
gcc (SUSE Linux) 4.9.0
glibc:
Name : glibc
Version : 2.19
Release : 16.9.1
vendor openSuSE 13.2
options:
array enable=(
fs-paths-default
last libmount-support-mtab line newgrp
reset
static-programs=mount sulogin-emergency-mount vipw write
)
array disable=( assert nls pylibmount )
array with=( audit
bashcompletiondir=/usr/share/bash-completion gnu-ld
readline
)
array without=( python )
Quoted 29 lines · L A Walsh
I thought 'configure' was supposed to test for what was present and what was missing? Seems to have missed a few... :-(
In trying to make new release 2.29.2, I'm getting several undefined symbols:
color_fdisable
color_scheme_fenable
color_sequence_from_colorname
colormode_or_err
colors_initget_fd_tabsize
get_terminal_nameinitproctitle
pager_redirect
parse_kmsg_recordsetproctitle
plymouth_command
string_to_bitarray
Quoted 8 lines
strnchr
strtimeval_iso
strtos32_or_err
strtou32_or_err
unhexmangle_to_buffer
These are all in util-linux/src/include/*.h
Where did you get your util-linux source from?
Quoted 57 lines
--- Was wondering what library I might be missing? or why they are being referenced when 'whatever library' they are in, evidently isn't on my system... configure bug?
I just ran the existing configure with the options listed further on down...
Thanks! -linda
uname -a: Linux Ishtar 4.10.1-Isht-Van #1 SMP PREEMPT Tue Feb 28 18:57:48 PST 2017
x86_64GNU/Linuxgcc (SUSE Linux) 4.9.0
glibc: Name : glibc Version : 2.19 Release : 16.9.1
vendor openSuSE 13.2
options:
array enable=(
fs-paths-default
last libmount-support-mtab line
newgrp
reset
static-programs=mount sulogin-emergency-mount
vipw write
) array disable=( assert nls pylibmount) array with=( audit
bashcompletiondir=/usr/share/bash-completion
gnu-ld
readline) array without=( python )
-- To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · J William Piggott
Quoted 6 lines · L A Walsh
I thought 'configure' was supposed to test for what was present and what was missing? Seems to have missed a few... :-(
In trying to make new release 2.29.2, I'm getting several undefined symbols:
Quoted 9 lines
Quoted 5 lines
color_fdisablecolor_scheme_fenablecolor_sequence_from_colornamecolormode_or_errcolors_initget_fd_tabsizeget_terminal_name
initproctitlepager_redirectparse_kmsg_recordsetproctitleplymouth_commandstring_to_bitarraystrnchrstrtimeval_isostrtos32_or_errstrtou32_or_errunhexmangle_to_bufferThese are all in util-linux/src/include/*.h
Where did you get your util-linux source from?
----
https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-2.29.2.tar.xz
----
The build had use the include files in that directory, or they
wouldn't have compiled, but the link phase must be missing output
from that directory. This is one of the links that
emits the error:
libtool: link: /usr/bin/gcc -std=gnu99 -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 -m64 -march=native -pipe -O2 -fasynchronous-unwind-tables -fbranch-target-load-optimize -fdelete-null-pointer-checks -fgcse-after-reload -fgcse-las -fgcse-sm -fgraphite-identity -finline-functions -fipa-pta -fivopts -floop-block -floop-flatten -floop-interchange -floop-strip-mine -fmessage-length=0 -fpredictive-commoning -frename-registers -freorder-blocks-and-partition -ftracer -fsched-stalled-insns=1 -fsched-stalled-insns-dep=1 -ftree-loop-linear -ftree-loop-distribution -ftree-loop-distribute-patterns -ftree-loop-im -ftree-loop-ivcanon -ftree-partial-pre -ftree-vectorize -ftree-slp-vectorize -funswitch-loops -funwind-tables -fvariable-expansion-in-unroller -fvect-cost-model -fweb -flto -Og -g3 -ggdb -m64 -march=native -pipe -O2 -fasynchronous-unwind-tables -fbranch-target-load-optimize -fdelete-null-pointer-checks -fgcse-after-reload -fgcse-las -fgcse-sm -fgraphite-identity -finline-functions -fipa-pta -fivopts -floop-block -floop-flatten -floop-interchange -floop-strip-mine -fmessage-length=0 -fpredictive-commoning -frename-registers -freorder-blocks-and-partition -ftracer -fsched-stalled-insns=1 -fsched-stalled-insns-dep=1 -ftree-loop-linear -ftree-loop-distribution -ftree-loop-distribute-patterns -ftree-loop-im -ftree-loop-ivcanon -ftree-partial-pre -ftree-vectorize -ftree-slp-vectorize -funswitch-loops -funwind-tables -fvariable-expansion-in-unroller -fvect-cost-model -fweb -flto -Og -g3 -ggdb -o login login-utils/login.o login-utils/logindefs.o ./.libs/libcommon.a -lpam -lpam_misc -laudit /tmp/ccTKupap.ltrans0.ltrans.o: In function `init_tty':/home/tools/util-linux/util-linux-2.29.2/login-utils/login.c:360: undefined reference to `get_terminal_name'/tmp/ccTKupap.ltrans0.ltrans.o: In function `main':/home/tools/util-linux/util-linux-2.29.2/login-utils/login.c:1153: undefined reference to `initproctitle'/home/tools/util-linux/util-linux-2.29.2/login-utils/login.c:1207: undefined reference to `get_fd_tabsize'/home/tools/util-linux/util-linux-2.29.2/login-utils/login.c:1288: undefined reference to `setproctitle'
collect2: error: ld returned 1 exit status
Makefile:6042: recipe for target 'login' failed
make[2]: *** [login] Error 1
make[2]: Leaving directory '/home/tools/util-linux/util-linux-2.29.2'
Makefile:11443: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tools/util-linux/util-linux-2.29.2'
Makefile:4774: recipe for target 'all' failed
make: *** [all] Error 2
--------
Should there be a -L.libs/ in the above?
Karel Zak
maintainerQuoted 2 lines · L A Walsh
I thought 'configure' was supposed to test for what was present and what was missing? Seems to have missed a few... :-(
Please, send complete step by step way how to reproduce the problem (used commands and output).
Quoted 3 lines
Was wondering what library I might be missing? or why they are being referenced when 'whatever library' they are in, evidently isn't on my system... configure bug?
It's lib/ stuff in the package, nothing external.
Quoted 6 lines
array enable=( fs-paths-default
last libmount-support-mtab line newgrp
reset
static-programs=mount sulogin-emergency-mount vipw write
Quoted 8 lines
)
array disable=( assert nls pylibmount )
array with=( audit
bashcompletiondir=/usr/share/bash-completion gnu-ld
readline
)
array without=( python )
This copy & past from some build system, or what? It would be better to have ./configure command line.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Quoted 4 lines
This copy & past from some build system, or what? It would be better to have ./configure command line.
---
Attached configure and summary lines to
https://bugzilla.kernel.org/show_bug.cgi?id=194857
Are those sufficient to reproduce things?
Karel Zak
maintainerQuoted 8 lines · L A Walsh
Quoted 3 lines
This copy & past from some build system, or what? It would be better to have ./configure command line.
---
Attached configure and summary lines to
https://bugzilla.kernel.org/show_bug.cgi?id=194857Are those sufficient to reproduce things?
I see many:
ar: plugin needed to handle lto object
and
ranlib: plugin needed to handle lto object
warnings... It seems that your CFLAGS and LDFLAGS are too messy. If I try just your configure without CFLAGS and LDFLAGS than all works as expected.
make clean
./configure \
--prefix=/ \
--exec-prefix=/ --bindir=/bin --sbindir=/sbin --datadir=/share \
--datarootdir=/share --includedir=/include --oldincludedir=/include \
--libdir=/lib64 --libexecdir=/lib64/util-linux --localstatedir=/var \
--sharedstatedir=/com --sysconfdir=/etc --docdir=/share/doc --prefix=/ \
--bindir=/bin --sbindir=/sbin --datadir=/share --datarootdir=/share \
--docdir=/share/doc --includedir=/include --oldincludedir=/include \
--libdir=/lib64 --libexecdir=/lib64/util-linux --localstatedir=/var \
--sharedstatedir=/com --sysconfdir=/etc --enable-chfn-chsh \
--enable-dependency-tracking --enable-fs-paths-default --enable-last \
--enable-libmount-support-mtab --enable-line --enable-newgrp --enable-pg \
--enable-reset --enable-static-programs=mount --enable-sulogin-emergency-mount \
--enable-tunelp --enable-vipw --enable-write --disable-assert --disable-nls \
--disable-plymouth_support --disable-pylibmount --disable-symvers --with-audit \
--with-bashcompletiondir=/usr/share/bash-completion --with-gnu-ld \
--with-ncursesw --with-readline --without-python --without-systemd
make
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com