Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 1996 13:26:18 -0800
From:      Mana Bando <mana@ilinks.net>
To:        questions@freebsd.org
Subject:   Portability problem
Message-ID:  <3277C7FA.606B@nirvanatech.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3277C7FA.606B>