All of lore.kernel.org
 help / color / mirror / Atom feed
From: L A Walsh <lkml@tlinx.org>
To: J William Piggott <elseifthen@gmx.com>
Cc: util-linux@vger.kernel.org
Subject: Re: ideas of what lib might be missing? (2.29.2 has missing symbols @ link)
Date: Sat, 11 Mar 2017 14:50:32 -0800	[thread overview]
Message-ID: <58C47F38.9030104@tlinx.org> (raw)
In-Reply-To: <0b737f79-ed0d-53f0-bbf7-2b4e44be7543@gmx.com>

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?


  reply	other threads:[~2017-03-11 22:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2017-03-13 11:41 ` Karel Zak
2017-03-14  2:03   ` L A Walsh
2017-03-14 10:16     ` Karel Zak

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=58C47F38.9030104@tlinx.org \
    --to=lkml@tlinx.org \
    --cc=elseifthen@gmx.com \
    --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.