Date: Mon, 10 May 1999 15:41:00 -0400 From: "Scott I. Remick" <scott@computeralt.com> To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: libc_r problem Message-ID: <4.2.0.37.19990510153527.033fc1a0@mail.computeralt.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.0.37.19990510153527.033fc1a0>