From owner-freebsd-questions Mon May 10 12:41:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from server.computeralt.com (server.computeralt.com [207.41.29.10]) by hub.freebsd.org (Postfix) with ESMTP id 4F1EC14E37 for ; Mon, 10 May 1999 12:41:10 -0700 (PDT) (envelope-from scott@computeralt.com) Received: from scott (scott.computeralt.com [207.41.29.100]) by server.computeralt.com (8.9.1/8.9.1) with ESMTP id PAA15623 for ; Mon, 10 May 1999 15:41:06 -0400 (EDT) Message-Id: <4.2.0.37.19990510153527.033fc1a0@mail.computeralt.com> X-Sender: scott@mail.computeralt.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.37 (Beta) Date: Mon, 10 May 1999 15:41:00 -0400 To: FreeBSD Questions From: "Scott I. Remick" Subject: libc_r problem Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? Thanks! ----------------------- Scott I. Remick scott@computeralt.com Network and Information (802)388-7545 ext. 236 Systems Manager FAX:(802)388-3697 Computer Alternatives, Inc. http://www.computeralt.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message