All of lore.kernel.org
 help / color / mirror / Atom feed
* undefined reference to symbol 'blkid_probe_lookup_value@@BLKID_2.15'
@ 2014-07-24 11:07 Benno Schulenberg
  2014-08-04 11:15 ` Martin Steigerwald
  2014-08-04 11:54 ` Martin Steigerwald
  0 siblings, 2 replies; 3+ messages in thread
From: Benno Schulenberg @ 2014-07-24 11:07 UTC (permalink / raw)
  To: Util-Linux


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

Benno

-- 
http://www.fastmail.fm - Accessible with your email software
                          or over the web


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

* Re: undefined reference to symbol 'blkid_probe_lookup_value@@BLKID_2.15'
  2014-07-24 11:07 undefined reference to symbol 'blkid_probe_lookup_value@@BLKID_2.15' Benno Schulenberg
@ 2014-08-04 11:15 ` Martin Steigerwald
  2014-08-04 11:54 ` Martin Steigerwald
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Steigerwald @ 2014-08-04 11:15 UTC (permalink / raw)
  To: Benno Schulenberg; +Cc: Util-Linux

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

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

* Re: undefined reference to symbol 'blkid_probe_lookup_value@@BLKID_2.15'
  2014-07-24 11:07 undefined reference to symbol 'blkid_probe_lookup_value@@BLKID_2.15' Benno Schulenberg
  2014-08-04 11:15 ` Martin Steigerwald
@ 2014-08-04 11:54 ` Martin Steigerwald
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Steigerwald @ 2014-08-04 11:54 UTC (permalink / raw)
  To: Benno Schulenberg; +Cc: Util-Linux

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?

Work-around is to configure with --disable-libblkid

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

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

end of thread, other threads:[~2014-08-04 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-24 11:07 undefined reference to symbol 'blkid_probe_lookup_value@@BLKID_2.15' Benno Schulenberg
2014-08-04 11:15 ` Martin Steigerwald
2014-08-04 11:54 ` Martin Steigerwald

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.