bug-gnulib
[Top][All Lists]
Advanced

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

gnulib/tests/utimecmp.c:183: undefined reference to `hash_insert'


From: Richard W.M. Jones
Subject: gnulib/tests/utimecmp.c:183: undefined reference to `hash_insert'
Date: Mon, 18 Jun 2012 10:26:57 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

With gnulib from around May 25th, I get this error when compiling
on RHEL 5.

bash ../../libtool-kill-dependency_libs.sh ../../libtool --tag=CC --mode=link 
gcc  -g -O2   -o test-futimens  test-futimens.o libtests.a 
../../gnulib/lib/libgnu.la libtests.a  -lrt 
gcc -g -O2 -o test-futimens test-futimens.o  ../../gnulib/lib/.libs/libgnu.a 
libtests.a -lrt  
libtests.a(utimecmp.o): In function `utimecmp':
/home/rjones/d/libguestfs/gnulib/tests/utimecmp.c:183: undefined reference to 
`hash_insert'
/home/rjones/d/libguestfs/gnulib/tests/utimecmp.c:200: undefined reference to 
`hash_lookup'
/home/rjones/d/libguestfs/gnulib/tests/utimecmp.c:171: undefined reference to 
`hash_initialize'
collect2: ld returned 1 exit status
make[3]: *** [test-futimens] Error 1

I tried to add 'hash' as a dependency of the utimens-tests module, but
that didn't appear to make a difference.  Perhaps something is missing
in the 'Link:' section of the module?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw



reply via email to

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