Hello Niels,

On 15 Oct 2001, Niels M�ller wrote:
> The configure script should figure out whether or not you have it, and
> adapt the build to the situation. I still want to see what you get in
> your config.log (and if rerunning configure, you may have to delete an
> config.cache first, or the tests will be omitted).

here we go:

  robert@callisto:~/embedded/lsh-1.2.5-rs/src/argp ! \
  PATH=/usr/i386-linux-uclibc/bin:$PATH ./configure

  [...]
  checking for program_invocation_name... yes
  checking for program_invocation_short_name... yes
  [...]

  robert@callisto:~/embedded/lsh-1.2.5-rs/src/argp ! \
  tail -n 4 config.log
  configure:2150: checking for program_invocation_name
  configure:2162: gcc -o conftest -g -O2  -D_GNU_SOURCE  conftest.c  1>&5
  configure:2183: checking for program_invocation_short_name
  configure:2195: gcc -o conftest -g -O2  -D_GNU_SOURCE  conftest.c  1>&5
  robert@callisto:~/embedded/lsh-1.2.5-rs/src/argp !

Nevertheless, the result is

  robert@callisto:~/embedded/lsh-1.2.5-rs/src/argp ! \
  PATH=/usr/i386-linux-uclibc/bin:$PATH make
  [...]
  gcc  -g -O2 -ggdb3 -Wall -W  -Wmissing-prototypes -Wmissing-declarations
  -Wstrict-prototypes  -Waggregate-return  -Wpointer-arith
  -Wbad-function-cast -Wnested-externs  -o argp-test  argp-test.o
  libargp.a libargp.a(argp-parse.o): In function `argp_default_parser':
  /home/robert/embedded/lsh-1.2.5-rs/src/argp/argp-parse.c:122: undefined
  reference to `program_invocation_name'
  /home/robert/embedded/lsh-1.2.5-rs/src/argp/argp-parse.c:133: undefined
  reference to `program_invocation_short_name'
  libargp.a(argp-help.o): In function `__argp_short_program_name':
  /home/robert/embedded/lsh-1.2.5-rs/src/argp/argp-help.c:1750: undefined
  reference to `program_invocation_short_name'
  collect2: ld returned 1 exit status
  make: *** [argp-test] Error 1

This is with yesterday's uClibc CVS (before the disabling of the
variables).

HTH,

Robert
-- 
 +--------------------------------------------------------+
 |             Dipl.-Ing. Robert Schwebel                 |
 |      Linux Solutions for Science and Industry          |
 |  Braunschweiger Stra�e 79, 31134 Hildesheim, Germany   |
 |     Phone: +49-5121-28619-0  Fax: +49-5121-28619-4     |
 +--------------------------------------------------------+


Reply via email to