Bruce Korb wrote: > Eric Blake wrote: >> According to Bruce Korb on 11/14/2009 11:36 AM: >>> Still trying to build shar (now without "gnits"). >>> I see the sources for these in sharutils/lib, but: >> Are you using gnulib-tool --import, the bootstrap script from gnulib, or >> some other means to import gnulib modules? I'm wondering if it is just a >> case of not importing enough modules. > > That was part, but not all, of it:
Hi Eric, I've solved it. No. Not true. I've kludged my way around it. I now #include md5.c and whoami.c into shar.c and added unlocked-io to my module list. It works, but it would be better to compile those .c files into libgnu. How to do that is not obvious enough from the gnulib-tool --list output. Perhaps a ``gnulib-tool --apropos md5_stream get_submitter'' ?? I know what functions I want. I know what files they're in. I just don't know which modules provide those functions or cause those sources to get compiled. Thanks for your help. gnulib_libs=" error inttostr malloc realloc unlocked-io xalloc xgetcwd xstrtoimax " ${glib} --import ${gnulib_libs}