Menu

Compilation error in SuSE

2002-05-31
2002-06-06
  • M.P Dushyant

    M.P Dushyant - 2002-05-31

    Hi
        I am getting the following compilation error in SuSE 7.3.
    ld: kernel.exe: Not enough room for program headers (allocated 2, need 3)
    ld: final link failed: Bad value

    I am usign ld version 2.11

    Please let me know the source of the error..or a pointer to do so

    thanks
    Dushyant

     
    • David Hovemeyer

      David Hovemeyer - 2002-06-06

      I have never seen this.  It looks pretty strange, since kernel.exe is just a normal ELF executable.  There's really nothing special about the way it's built except for the base address of the .text section being specified.

      As a point of reference, I've compiled GeekOS successfully using RedHat 7.2, Debian 2.2r3, and FreeBSD 4.5, usually with gcc 2.95.2 or 2.95.3.  (I can't remember binutils versions offhand.) I've never used SuSE.

      You might try logging into a Linux or FreeBSD machine in the sourceforge compile farm and try building GeekOS there.

      -Dave

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.