On Thu, 24 Jul 2003, Daniel Grunblatt wrote:

> I have checked in a first attempt to make parrot generate an executable.
>
> It works fine on x86 - OpenBSD/linux/FreeBSD and should also work on NetBSD

 It's not working for me on Linux/x86 -- the build is failing with:

  In file included from exec.c:20:
  include/parrot/exec_dep.h: In function `Parrot_exec_save':
  include/parrot/exec_dep.h:383: `ELFOSABI_LINUX' undeclared (first use in
  this function)
  include/parrot/exec_dep.h:383: (Each undeclared identifier is reported
  only onceinclude/parrot/exec_dep.h:383: for each function it appears in.)
  make: *** [exec.o] Error 1

 Looking in elf.h, these are the only ELFOSABI... constants defined:

  #define EI_OSABI      7               /* OS ABI identification */
  #define ELFOSABI_SYSV         0       /* UNIX System V ABI */
  #define ELFOSABI_HPUX         1       /* HP-UX */
  #define ELFOSABI_ARM          97      /* ARM */
  #define ELFOSABI_STANDALONE   255     /* Standalone (embedded) application */

 I'm using a 2.4 kernel, libc v2.2.4 & gcc v2.96

 Simon

Reply via email to