The latest redhat has an experimental version of gcc 2.96.  It's not an
actual gcc release.  Read linux-kernel for the rationale for this folly.
Stock gcc on redhat 7.0 fails to build a kernel but I've been told you can
use 'kgcc' and it will work.  We haven't tested that and don't recommend
it.

We've been using gcc 2.95.2 for our builds and tests.  It does have bugs,
but they're known bugs and we have workarounds in RTLinux and the kernel.

You may want to grab some gcc rpms of an actual gcc release, get the source
and build it yourself, or go back to redhat 6.2 (or any other
distribution).

} Has anyone succuesfully compiled this?
} 
} I have a fresh install of Red Hat 7.0 (2.2.16).
} 
} I have tried the prepatched kernals and downloading 2.2.17 and
} patching them myself, but both fail at the same point
} (see end of message).
} 
} I assume the "latest" compilers choke on the code (evident by 
} redunt warning messages).  What packages are needed to properly 
} build a new rt-kernal.
} 
} In the past I have successfully compiled rt kernals (under 2.2.14).  I 
} can recompile the current version of the kernal (2.2.16) 
} successfully, I just can't compile 2.2.17 for some reason.
} 
} I have already linked /usr/include/linux to point to /usr/src/linux-
} 2.2.17/include/linux.
} 
} I have also tried using gcc (version 2.96) and egcs (which ever 
} version is with Red Hat 7.0).
} 
} Here is the end of "Make bzImage"
} 
} ...
} make all_targets
} make[2]: Entering directory `/usr/src/linux-2.2.17/arch/i386/mm'
} make[2]: Nothing to be done for `all_targets'.
} make[2]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/mm'
} make[1]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/mm'
} make -C  arch/i386/lib
} make[1]: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib'
} make all_targets
} make[2]: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib'
} cc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -
} D__SMP__ -traditional -c checksum.S -o checksum.o
} checksum.S:231: badly punctuated parameter list in #define
} checksum.S:237: badly punctuated parameter list in #define
} make[2]: *** [checksum.o] Error 1
} make[2]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/lib'
} make[1]: *** [first_rule] Error 2
} make[1]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/lib'
} make: *** [_dir_arch/i386/lib] Error 2
} 
} -- [rtl] ---
} To unsubscribe:
} echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
} echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
} ---
} For more information on Real-Time Linux see:
} http://www.rtlinux.org/rtlinux/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to