From owner-freebsd-questions Fri Apr 2 13:26:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by hub.freebsd.org (Postfix) with ESMTP id 0E22A14CA8 for ; Fri, 2 Apr 1999 13:26:35 -0800 (PST) (envelope-from gjohnson@nola.srrc.usda.gov) Received: (from glenn@localhost) by symbion.srrc.usda.gov (8.9.2/8.9.2) id PAA54480 for questions@freebsd.org; Fri, 2 Apr 1999 15:26:10 -0600 (CST) (envelope-from glenn) From: Glenn Johnson Date: Fri, 2 Apr 1999 15:26:09 -0600 To: questions@freebsd.org Subject: errno definitions Message-ID: <19990402152609.A54392@symbion.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to compile some code (not mine, but it is proprietary) that compiles on Linux and Irix, but not on FreeBSD. The problem I am running into is that the program makes use of the following definitions from errno.h: EMULTIHOP and ENOLINK. I looked in a Linux header file and found the following definitions: #define ENOLINK 67 /* Link has been severed */ #define EMULTIHOP 72 /* Multihop attempted */ The numbers in the FreeBSD errno.h file go up to 86. So I was thinking I could construct a local header file with these definitions using 87 and 88. Or can someone recommend equivalent functions that I could replace these definitions with? Thanks. -- Glenn Johnson Technician USDA, ARS, SRRC New Orleans, LA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message