Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 1999 13:40:37 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "Scott I. Remick" <scott@computeralt.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: libc_r problem
Message-ID:  <Pine.BSF.4.03.9905121340110.23756-100000@resnet.uoregon.edu>
In-Reply-To: <4.2.0.37.19990510153527.033fc1a0@mail.computeralt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 May 1999, Scott I. Remick wrote:

> Hello... I'm having trouble with ht://dig and libc_r.  Here's what happened:
> 
> I was compiling ht://dig and things halted at the following:
> 
> gcc -c -O -I. -I./../include -D_THREAD_SAFE ./../clib/getlong.c
> gcc -o db_archive  db_archive.o err.o getlong.o libdb.a -lc_r
> ld: -lc_r: no match
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> I poked around, and read that on older FreeBSD versions (mine is 2.2.2), 
> libc_r wasn't installed by default.  Ok... so I went looking for it.  As I 
> have CVSup fetch the latest sources each night, I decided to look in /src 
> .... and found it in /usr/src/lib/libc_r.  So I tried doing a make from 
> that directory, and got:
> 
> Warning: Object directory not changed from original /usr/src/lib/libc_r
> printf '#include "SYS.h"\nRSYSCALL(access)\n' > access.S
> cc -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc_r/../libc/include 
> -DPTHREAD_KERNEL -D_THREAD_SAFE -I/usr/src/lib/libc_r/uthread 
> -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE 
> -I/usr/src/lib/libc_r/../libc/locale -DYP 
> -I/usr/src/lib/libc_r/../libc/i386 -c access.S -o access.o
> In file included from /usr/src/lib/libc_r/../libc/i386/SYS.h:42,
>                   from access.S:1:
> /usr/src/lib/libc_r/../libc/i386/DEFS.h:40: machine/asm.h: No such file or 
> directory
> *** Error code 1
> 
> Stop.
> 
> Well, I'm not sure what to make from THIS... so, does anyone have any 
> advice to offer?

Check out revision RELENG_2_2_2_RELEASE instead of -current. :-)

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9905121340110.23756-100000>