bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing dependencies?


From: John W. Eaton
Subject: missing dependencies?
Date: Sun, 7 Feb 2010 01:51:44 -0500

I have the following modules listed in the bootstrap.conf file for
Octave:

  # gnulib modules used by this package.
  gnulib_modules="
    c-strcase   crypto/md5    fcntl      fnmatch      getcwd    gethostname
    getopt-gnu  gettimeofday  glob       link         lstat     mkdir
    mkfifo      sleep         nanosleep  pathmax      readlink  rename
    rmdir       sigaction     signal     sigprocmask  sleep     stat
    stdint      strftime      strptime   symlink      sys_stat  sys_time
    sys_times   time          times      unistd       unlink    vsnprintf
    round
  "

and I've received reports about the following undefined references
when linking:

  .libs/liboctave_la-lo-cutils.o:lo-cutils.c:(.text+0x4f): undefined reference 
to
  address@hidden'
  ../libgnu/.libs/libgnu.a(error.o):error.c:(.text+0x181): undefined reference 
to `program_name'
  ../libgnu/.libs/libgnu.a(error.o):error.c:(.text+0x1e5): undefined reference 
to `program_name'
  ../libgnu/.libs/libgnu.a(fcntl.o):fcntl.c:(.text+0x53): undefined reference 
to `getdtablesize

Adding the progname and gtdtablesize modules to the gnulib_modules
list in the bootstrap.conf file avoids the problem, but it seems to me
tat it would be better to only list the modules I use directly and let
gnulib's dependency tracking handle the rest.  Is there a reasonably
easy way to track down which modules are missing these dependencies?
Or am I incorrect in thinking that I should only list the modules I
use directly?

Thanks,

jwe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]