From owner-freebsd-hackers Thu Jun 29 6:36:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.2.163]) by hub.freebsd.org (Postfix) with ESMTP id 14FDE37B8B7 for ; Thu, 29 Jun 2000 06:36:32 -0700 (PDT) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 137eUW-0006xJ-00 for hackers@FreeBSD.org; Thu, 29 Jun 2000 15:36:28 +0200 From: Sheldon Hearn To: hackers@FreeBSD.org Subject: Building a debugging libc Date: Thu, 29 Jun 2000 15:36:27 +0200 Message-ID: <26740.962285787@axl.ops.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi folks, I need to build a debuggable libc, ideally a static library. I thought it'd be as simple as ``cd /usr/src/lib/libc; make obj depend all''. However, doing so scores me the following error: cc -O -g -pipe -c /a/usr/src/lib/libc/../libc/gen/_spinlock_stub.c -o _spinlock_stub.o /a/usr/src/lib/libc/../libc/gen/_spinlock_stub.c:40: spinlock.h: No such file or directory /a/usr/src/lib/libc/../libc/gen/_spinlock_stub.c:53: syntax error before `*' /a/usr/src/lib/libc/../libc/gen/_spinlock_stub.c:61: syntax error before `*' This is with a clean obj tree with sources supped at 10H30 GMT last night. Any ideas? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message