All of lore.kernel.org
 help / color / mirror / Atom feed
* ideas of what lib might be missing?  (2.29.2 has missing symbols @ link)
@ 2017-03-11 12:41 L A Walsh
  2017-03-11 14:33 ` J William Piggott
  2017-03-13 11:41 ` Karel Zak
  0 siblings, 2 replies; 6+ messages in thread
From: L A Walsh @ 2017-03-11 12:41 UTC (permalink / raw)
  To: util-linux

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_init
get_fd_tabsize
get_terminal_name
initproctitle
pager_redirect
parse_kmsg_recordsetproctitle
plymouth_command
string_to_bitarray
strnchr
strtimeval_iso
strtos32_or_err
strtou32_or_err
unhexmangle_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 )



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ideas of what lib might be missing? (2.29.2 has missing symbols @ link)
  2017-03-11 12:41 ideas of what lib might be missing? (2.29.2 has missing symbols @ link) L A Walsh
@ 2017-03-11 14:33 ` J William Piggott
  2017-03-11 22:50   ` L A Walsh
  2017-03-13 11:41 ` Karel Zak
  1 sibling, 1 reply; 6+ messages in thread
From: J William Piggott @ 2017-03-11 14:33 UTC (permalink / raw)
  To: L A Walsh, util-linux



On 03/11/2017 07:41 AM, L A Walsh wrote:
> 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_init get_fd_tabsize
> 
> get_terminal_name
> 
> initproctitle
> 
> pager_redirect
> 
> parse_kmsg_recordsetproctitle
> 
> plymouth_command
> 
> string_to_bitarray
> 
> 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?


> --- 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 )
> 
> 
> -- To unsubscribe from this list: send the line "unsubscribe
> util-linux" in
> 
> the body of a message to majordomo@vger.kernel.org
> 
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ideas of what lib might be missing? (2.29.2 has missing symbols @ link)
  2017-03-11 14:33 ` J William Piggott
@ 2017-03-11 22:50   ` L A Walsh
  0 siblings, 0 replies; 6+ messages in thread
From: L A Walsh @ 2017-03-11 22:50 UTC (permalink / raw)
  To: J William Piggott; +Cc: util-linux

J William Piggott wrote:
> On 03/11/2017 07:41 AM, L A Walsh wrote:
>   
>> 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_init get_fd_tabsize get_terminal_name
>> initproctitle pager_redirect parse_kmsg_recordsetproctitle 
>> plymouth_command string_to_bitarray 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?
>   
----
    
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?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ideas of what lib might be missing?  (2.29.2 has missing symbols @ link)
  2017-03-11 12:41 ideas of what lib might be missing? (2.29.2 has missing symbols @ link) L A Walsh
  2017-03-11 14:33 ` J William Piggott
@ 2017-03-13 11:41 ` Karel Zak
  2017-03-14  2:03   ` L A Walsh
  1 sibling, 1 reply; 6+ messages in thread
From: Karel Zak @ 2017-03-13 11:41 UTC (permalink / raw)
  To: L A Walsh; +Cc: util-linux

On Sat, Mar 11, 2017 at 04:41:08AM -0800, L A Walsh wrote:
> 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).

> 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.

> 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 )

 This copy & past from some build system, or what? It would be better
 to have ./configure command line.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ideas of what lib might be missing?  (2.29.2 has missing symbols @ link)
  2017-03-13 11:41 ` Karel Zak
@ 2017-03-14  2:03   ` L A Walsh
  2017-03-14 10:16     ` Karel Zak
  0 siblings, 1 reply; 6+ messages in thread
From: L A Walsh @ 2017-03-14  2:03 UTC (permalink / raw)
  To: Karel Zak; +Cc: util-linux


>  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?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ideas of what lib might be missing?  (2.29.2 has missing symbols @ link)
  2017-03-14  2:03   ` L A Walsh
@ 2017-03-14 10:16     ` Karel Zak
  0 siblings, 0 replies; 6+ messages in thread
From: Karel Zak @ 2017-03-14 10:16 UTC (permalink / raw)
  To: L A Walsh; +Cc: util-linux

On Mon, Mar 13, 2017 at 07:03:32PM -0700, L A Walsh wrote:
> 
> >  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?

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

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-14 10:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-11 12:41 ideas of what lib might be missing? (2.29.2 has missing symbols @ link) L A Walsh
2017-03-11 14:33 ` J William Piggott
2017-03-11 22:50   ` L A Walsh
2017-03-13 11:41 ` Karel Zak
2017-03-14  2:03   ` L A Walsh
2017-03-14 10:16     ` Karel Zak

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.