From owner-freebsd-questions Wed Oct 30 22:27:56 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA02831 for questions-outgoing; Wed, 30 Oct 1996 22:27:56 -0800 (PST) Received: from ns1.ilinks.net (ns1.ilinks.net [206.137.194.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA02825 for ; Wed, 30 Oct 1996 22:27:53 -0800 (PST) Received: from LOCALNAME (dial-05.ilinks.net [206.137.194.105]) by ns1.ilinks.net (8.7.3/8.6.12) with SMTP id BAA22586 for ; Thu, 31 Oct 1996 01:27:47 -0500 (EST) Message-ID: <3277C7FA.606B@nirvanatech.com> Date: Wed, 30 Oct 1996 13:26:18 -0800 From: Mana Bando Organization: nirvanatech X-Mailer: Mozilla 2.01 (Win16; U) MIME-Version: 1.0 To: questions@freebsd.org Subject: Portability problem X-URL: http://www.freebsd.org/support.html Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Greetings, This is a problem regarding compiling a program from BSD to AIX. You see, I got a piece of code called 'strings.c'. This code came along with FreeBSD. I do not know what version is this, looks like "5.10 (Berkeley) 5/23/91". Anyway, when I am trying to compile this code under AIX 4.1.2 I am getting error specifically in two areas. 1. "struct EXEC" is not defined -- seems to me some of the header file which is mentioned in the code may not contain the same thing in AIX's header file. 2. I am also getting errors on "N_BADMAG" and "N_TXTOFF". My compiler is failing to use this part from the header file mentioned in the program. Incidentally, I found all the header file in AIX OS except "sys/types.h" Now can anybody help me out to resolve this incompatibility / portability problem between BSD and AIX. If necessary I can also send the program if that help. My phone # is 404.250.1575. Any kind of early help or even clue to the help will be appriciated. Mana