From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: util-linux-owner@vger.kernel.org Received: from mondschein.lichtvoll.de ([194.150.191.11]:42055 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbaHDLPU convert rfc822-to-8bit (ORCPT ); Mon, 4 Aug 2014 07:15:20 -0400 From: Martin Steigerwald To: Benno Schulenberg Cc: Util-Linux Subject: Re: undefined reference to symbol 'blkid_probe_lookup_value@@BLKID_2.15' Date: Mon, 04 Aug 2014 13:15:14 +0200 Message-ID: <1432339.8VcROGUuf4@merkaba> In-Reply-To: <1406200041.6182.145163581.650F0C1A@webmail.messagingengine.com> References: <1406200041.6182.145163581.650F0C1A@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Sender: util-linux-owner@vger.kernel.org List-ID: Am Donnerstag, 24. Juli 2014, 13:07:21 schrieb Benno Schulenberg: > Compiling current git, I get this: > > [...] > CC sys-utils/swapoff-swapoff.o > CC sys-utils/swapoff-swapon-common.o > CCLD swapoff > /usr/bin/ld: sys-utils/swapoff-swapon-common.o: undefined reference to > symbol 'blkid_probe_lookup_value@@BLKID_2.15' > /home/ben/ULIX/.libs/libblkid.so.1: error adding symbols: DSO missing from > command line collect2: error: ld returned 1 exit status > make[2]: *** [swapoff] Fout 1 > make[2]: Map '/home/ben/ULIX' wordt verlaten > make[1]: *** [all-recursive] Fout 1 > make[1]: Map '/home/ben/ULIX' wordt verlaten > make: *** [all] Fout 2 > > Do I have stale stuff again somewhere? > > Using 'make -k', a bit later it says this: > > CC disk-utils/swaplabel-swaplabel.o > disk-utils/swaplabel.c: In function ‘main’: > disk-utils/swaplabel.c:175:2: warning: implicit declaration of function > ‘get_swap_prober’ [-Wimplicit-function-declaration] pr = > get_swap_prober(devname); > ^ > disk-utils/swaplabel.c:175:2: warning: nested extern declaration of > ‘get_swap_prober’ [-Wnested-externs] disk-utils/swaplabel.c:175:5: warning: > assignment makes pointer from integer without a cast [enabled by default] > pr = get_swap_prober(devname); > ^ I can confirm this compiling a clean checkout with ./configure --with-slang with merkaba:~> dpkg -l | grep blkid | cut -c1-70 ii libblkid-dev:amd64 2.25-6 ii libblkid1:amd64 2.25-6 on Debian Sid. -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7