Results 1 to 10 of 13

Thread: Missing predefs.h

Threaded View

  1. #1
    Join Date
    Oct 2010
    Beans
    79

    Missing predefs.h

    I'm trying to build the ANSI C port for Unix v6. I'm cloned this git repo, git://pdos.csail.mit.edu/xv6/xv6.git

    When I run make I get the following error:
    Code:
    /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
    Does anyone know what could be causing it and how to fix it?

    Found a fix. I needed the proper libc includes for 32-bit builds. I'm running a 64-bit machine. So I just ran:

    sudo apt-get install libc6-dev-i386
    Last edited by Rodayo; November 10th, 2011 at 09:08 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •