From: Petr Uzel <petr.uzel@suse.cz>
To: util-linux <util-linux@vger.kernel.org>
Subject: 2.22-rc1 build fails if configured with --disable-static
Date: Fri, 27 Jul 2012 13:55:23 +0200 [thread overview]
Message-ID: <20120727115523.GA22051@foxbat.suse.cz> (raw)
[-- Attachment #1: Type: text/plain, Size: 3172 bytes --]
Hi list,
I just encountered that 2.22-rc1 build fails if
./configure --disable-static
make
The error I'm getting is:
==================
...
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -DTEST_PROGRAM -I./libblkid/src -I./libblkid/src -I./libuuid/src -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_GNU_SOURCE libuuid.la -static -o test_blkid_cache libblkid/src/test_blkid_cache-cache.o libblkid.la
libtool: link: gcc -std=gnu99 -DTEST_PROGRAM -I./libblkid/src -I./libblkid/src -I./libuuid/src -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_GNU_SOURCE -o test_blkid_cache libblkid/src/test_blkid_cache-cache.o ./.libs/libuuid.so ./.libs/libblkid.so /home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/.libs/libuuid.so -Wl,-rpath -Wl,/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/.libs -Wl,-rpath -Wl,/usr/lib64
libblkid/src/test_blkid_cache-cache.o: In function `blkid_get_cache_filename':
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:113: undefined reference to `safe_getenv'
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:115: undefined reference to `blkid_strdup'
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:117: undefined reference to `blkid_strdup'
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:119: undefined reference to `blkid_read_config'
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:125: undefined reference to `blkid_free_config'
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:121: undefined reference to `blkid_strdup'
libblkid/src/test_blkid_cache-cache.o: In function `blkid_get_cache':
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:162: undefined reference to `blkid_read_cache'
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:158: undefined reference to `blkid_strdup'
libblkid/src/test_blkid_cache-cache.o: In function `blkid_put_cache':
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:178: undefined reference to `blkid_flush_cache'
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:188: undefined reference to `blkid_free_dev'
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:203: undefined reference to `blkid_free_tag'
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:205: undefined reference to `blkid_free_tag'
libblkid/src/test_blkid_cache-cache.o: In function `blkid_gc_cache':
/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1/libblkid/src/cache.c:233: undefined reference to `blkid_free_dev'
collect2: error: ld returned 1 exit status
make[2]: *** [test_blkid_cache] Error 1
make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/util-linux-2.22-rc1'
make: *** [all] Error 2
==================
Anyone else getting this?
Petr
--
Petr Uzel
IRC: ptr_uzl @ freenode
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next reply other threads:[~2012-07-27 11:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-27 11:55 Petr Uzel [this message]
2012-07-30 7:21 ` 2.22-rc1 build fails if configured with --disable-static Sami Kerola
2012-07-30 13:49 ` Mike Frysinger
2012-07-30 16:02 ` Karel Zak
2012-08-02 18:27 ` 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=20120727115523.GA22051@foxbat.suse.cz \
--to=petr.uzel@suse.cz \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).