I've seen a bunch of complaints about the compiler situation on RH7.0
as well as not too positive evaluations of the general package. We are
currently planning on waiting for 7.1 or a RH patch set.
On Sun, Oct 08, 2000 at 12:43:44PM -0400, C. W. Wright (1698) wrote:
>
> Why would ksyms show "console_drivers"
> as "c02099a0 console_drivers_R__ver_console_drivers" ???????
>
> I've done a "so called" "Upgrade" from Redhat 6.2 to Red Hat 7.0 and note
> the following problems getting v3.0 pre8 installed and working.
>
> After getting the rh 7.0 system installed, I downloaded a fresh 2.2.17
> kernel package from www.kernel.org, compiled and installed it. It
> required patching in kgcc in place of gcc to get it to compile. After
> that, I copied the whole 2.2.17 source tree and created an rt-2.2.17 tree.
> I patched rtlinux 3.0 pre 8 against this tree and got a fresh rtlinux
> kernel which boots and the new kernel works normally. To get rtlinux to
> compile I had to:
>
> 1) Modify the Makefile and change HOSTCC to kgcc and
> CC to kgcc.
>
> 2) In the file: /usr/src/linux/include/asm/rtlinux_cli.h
> remove all the stuff after the actual name in all #undef statements.
> The stuff causes warnings, not errors, but are annoying. For example I
> changed:
> #undef __cli()
> to
> #undef __cli
> and the warnings go away.
>
> 3) After you do a "make" there will be errors caused by the
> "-mpreferred-stack-boundary=2" flag being set. The only way I found
> get past it was to edit the file: rtl.mk and remove it from the
> CFLAGS and the CXXFLAGS. The rtl.mk is automatically generated. It
> wasn't clear where (in what file) the option was actually defined.
> The compiler claims to be "egcs-1.1.2 release" by:
> [root@vicki rtlinux-3.0]# kgcc -v
> Reading specs from /usr/lib/gcc-lib/i386-glibc21-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>
>
> 4) The insrtl produced:
> [root@vicki rtlinux-3.0]# sh scripts/insrtl
> modules/rtl.o: unresolved symbol console_drivers
> modules/rtl.o: unresolved symbol __start_rtlinux_funcs
> modules/rtl_time.o: unresolved symbol rtl_printf
> modules/rtl_time.o: unresolved symbol rtl_rt_system_is_idle
> modules/rtl_time.o: unresolved symbol rtl_request_global_irq
> modules/rtl_time.o: unresolved symbol rtl_hard_enable_irq
> ....... and many more.........
>
> In looking at the ksyms I got:
>
> [root@vicki rtlinux-3.0]# ksyms -a | grep console_drivers
> c02099a0 console_drivers_R__ver_console_drivers
>
> [root@vicki rtlinux-3.0]# ksyms -a | grep __start_rtlinux_funcs
> c01fd048 __start_rtlinux_funcs_R__ver___start_rtlinux_funcs
>
>
> Anyone have any idea hoe to fix this?
>
> Best regards,
> C. W. Wright
>
>
> -- [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/
--
---------------------------------------------------------
Victor Yodaiken
Finite State Machine Labs: The RTLinux Company.
www.fsmlabs.com www.rtlinux.com
-- [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/