From owner-freebsd-questions Mon Sep 3 23: 2:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web10706.mail.yahoo.com (web10706.mail.yahoo.com [216.136.130.214]) by hub.freebsd.org (Postfix) with SMTP id 34AFC37B405 for ; Mon, 3 Sep 2001 23:02:46 -0700 (PDT) Message-ID: <20010904060246.73341.qmail@web10706.mail.yahoo.com> Received: from [203.200.52.16] by web10706.mail.yahoo.com via HTTP; Mon, 03 Sep 2001 23:02:46 PDT Date: Mon, 3 Sep 2001 23:02:46 -0700 (PDT) From: Manas Subject: i had to hack regex.h file To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi all, I was trying to build gnut-0.4.27 on my freebsd 4.3-stable box. This software had build properly on previous freebsd box (4.0-stable). But when i tried to build it on 4.3-stable, make started giving error at line 46 in regex.h file (saying off_t not defined). I checked the regex.h file and found it had included sys/cdef.h file and this file didn't have off_t defined. Then i search for off_t in other header file and found that it was defined in sys/types.h which i duly included in regex.h and the gnut got build properly. My questions is this. Is it alright for me to hack header files like this and should i now revert the changes that i have made. thanks -manas __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message