[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Build errors: undefined reference to __ctype_b

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2003-03-29 21:27:06 CET

On Sat, Mar 29, 2003 at 01:47:13PM -0600, David Summers wrote:
> I've started getting these errors while trying to build on RedHat 8.0 this
> last week.
>
> What is wierd, is that I've gone back to my 0.20.0 version that built last
> week and I'm *STILL* getting these errors on it! So....how did it build
> correctly last week?

Have you upgraded this system to a db4 package from Raw Hide (or
otherwise not built on 8.0)? I think this is a symptom of having a db4
library which was built against glibc 2.3 on a system running an earlier
glibc. "rpm -q glibc db4" output?

> -L/home/dsummers/rpms/build/subversion-0.20.1/subversion/libsvn_wc/.libs
> -rpath /usr/lib -o svnadmin main.o
> ../../subversion/libsvn_repos/libsvn_repos-1.la
> ../../subversion/libsvn_fs/libsvn_fs-1.la
> ../../subversion/libsvn_delta/libsvn_delta-1.la
> ../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-0.la
> -lgdbm -ldb-4.0 -lexpat /usr/lib/libapr-0.la -lm -lcrypt -lnsl -ldl
> /usr/lib/libdb-4.0.a(env_open.o): In function `__dbenv_config':
> env_open.o(.text+0x882): undefined reference to `__ctype_b'
> /usr/lib/libdb-4.0.a(env_open.o): In function `__db_parse':
> env_open.o(.text+0x13cb): undefined reference to `__ctype_b'
> env_open.o(.text+0x1413): undefined reference to `__ctype_b'
> /usr/lib/libdb-4.0.a(env_open.o): In function `__db_tmp_open':
> env_open.o(.text+0x1f58): undefined reference to `__ctype_b'
> /usr/lib/libdb-4.0.a(env_region.o): In function `__db_e_remfile':
> env_region.o(.text+0xe17): undefined reference to `__ctype_b'
> /usr/lib/libdb-4.0.a(hash_auto.o)(.text+0x468): more undefined references
> to `__ctype_b' follow
> collect2: ld returned 1 exit status
> make[1]: *** [subversion/svnadmin/svnadmin] Error 1
> make[1]: Leaving directory `/home/dsummers/rpms/build/subversion-0.20.1'
>
>
> --
> David Wayne Summers "Linux: Because reboots are for hardware upgrades!"
> david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
> PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 29 21:28:43 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.