2.18 / current git: $ ./configure --with-slang $ make V=1 ... gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -include ../config.h -I../include - DLOCALEDIR=\"/usr/share/locale\" -fsigned-char -I../shlibs/blkid/src -g -O2 - MT cfdisk-cfdisk.o -MD -MP -MF .deps/cfdisk-cfdisk.Tpo -c -o cfdisk-cfdisk.o `test -f 'cfdisk.c' || echo './'`cfdisk.c cfdisk.c: In function ‘get_string’: cfdisk.c:435:5: warning: implicit declaration of function ‘get_wch’ mv -f .deps/cfdisk-cfdisk.Tpo .deps/cfdisk-cfdisk.Po /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -fsigned-char - I../shlibs/blkid/src -g -O2 -o cfdisk cfdisk-cfdisk.o cfdisk- i386_sys_types.o cfdisk-gpt.o cfdisk-blkdev.o cfdisk-wholedisk.o cfdisk- mbsalign.o cfdisk-linux_version.o cfdisk-mbsalign.o -lslang ../shlibs/blkid/src/libblkid.la libtool: link: gcc -std=gnu99 -fsigned-char -I../shlibs/blkid/src -g -O2 -o .libs/cfdisk cfdisk-cfdisk.o cfdisk-i386_sys_types.o cfdisk-gpt.o cfdisk- blkdev.o cfdisk-wholedisk.o cfdisk-mbsalign.o cfdisk-linux_version.o cfdisk- mbsalign.o -lslang ../shlibs/blkid/src/.libs/libblkid.so /usr/local/src/util- linux/shlibs/uuid/src/.libs/libuuid.so cfdisk-mbsalign.o: In function `mbs_truncate': /usr/local/src/util-linux/fdisk/../lib/mbsalign.c:108: multiple definition of `mbs_truncate' cfdisk-mbsalign.o:/usr/local/src/util-linux/fdisk/../lib/mbsalign.c:108: first defined here cfdisk-mbsalign.o: In function `mbsalign': /usr/local/src/util-linux/fdisk/../lib/mbsalign.c:168: multiple definition of `mbsalign' cfdisk-mbsalign.o:/usr/local/src/util-linux/fdisk/../lib/mbsalign.c:168: first defined here cfdisk-cfdisk.o: In function `get_string': /usr/local/src/util-linux/fdisk/cfdisk.c:435: undefined reference to `get_wch' collect2: ld returned 1 exit status make: *** [cfdisk] Error 1 looks like Makefile.am lists mbsalign.c multiple times incorrectly, and the ncurses-specific get_wch() is used all the time. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.