On 9/29/07, markus reichelt <ml@xxxxxxxxxxxxx> wrote: > * Alon Bar-Lev <alon.barlev@xxxxxxxxx> wrote: > > > On 9/29/07, Jari Ruusu <jariruusu@xxxxxxxxxxxxxxxxxxxxx> wrote: > > > [snip] > > > $ make SUBDIRS="mount" > > > > Oh... doing so by hand... :) I thought to do what we have done > > previously... All utilities as static... But there is a nasty > > issues with this. > > What issues? When I tried to compile util-linux-ng it worked but the > SUBDIRS directive was ignored, IIRC. I would expect something like --with-static-mount --with-static-losetup or something similar as parameters to configure. If I try to compile the whole package with LDFLAGS="-s -static" I get many of these: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DTEST_CAL -include ../config.h -I../include -DLOCALEDIR=\"\" -fsigned-char -g -O2 -MT cal_test-cal.o -MD -MP -MF ".deps/cal_test-cal.Tpo" -c -o cal_test-cal.o `test -f 'cal.c' || echo './'`cal.c; \ then mv -f ".deps/cal_test-cal.Tpo" ".deps/cal_test-cal.Po"; else rm -f ".deps/cal_test-cal.Tpo"; exit 1; fi gcc -fsigned-char -g -O2 -s -static -o cal_test cal_test-cal.o -lncurses /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libc.a(init-misc.o):(.data+0x4): multiple definition of `__progname' cal_test-cal.o:(.data+0x0): first defined here collect2: ld returned 1 exit status make[2]: *** [cal_test] Error 1 Tried to solve them one by one but gave up... :( Alon. - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/