Linker Error With Kernel 2.4.4pre6 and GCC 2.95.3 (Debian)

From: ruschein@brimstone.ucr.edu
Date: Sat Apr 21 2001 - 19:18:51 EDT

  • Next message: Jesper Juhl: "[PATCH] minor correctness fix to the Documentation/rtc.txt example program."

    Here is what I get under a fairly recent Debian woody:

    /usr/src/kernel/linux-2.4.4-pre6/lib/lib.a(rwsem.o): In function `__rwsem_do_wake':
    rwsem.o(.text+0x2e): undefined reference to `__builtin_expect'
    rwsem.o(.text+0x6f): undefined reference to `__builtin_expect'
    make: *** [vmlinux] Error 1
    bender:/usr/src/kernel/linux-2.4.4-pre6 [root]# gcc --version
    2.95.3

    -- 
    Johannes
    --
    Dr. Johannes Ruscheinski
    Infomine Lead Programmer            ***              LINUX,             ***
    EMail:    ruschein@infomine.ucr.edu ***                                 ***
    Location: science library, room 218 *** The Choice Of A GNU Generation! ***
    Phone:    (909) 787-2290
    

    If you want to send me any documents please read http://www.infradead.org/fileexchange.html first. Thanks!

    /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \

    "Sanity's just a one trick pony anyway. You only get one trick -- rational thinking -- but when you're good and crazy, the sky's the limit!" -- The Tick" - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Apr 21 2001 - 19:21:15 EDT