Thanks everybody's reply
After posted the problem , I tested some case on it
1. no "atoi" and no "ld -r -o mod.o frank_module.o -L/usr/lib -lc"
sprintf can be called and work good
2. test "atoi" by "ld -r -o mod.o frank_module.o -L/usr/lib -lc"
- file size of mod.o and frank_module.o is
frank_module.o 3120
mod.o 3195280
- atoi can be called and work good
3. no "atoi" but did "ld -r -o mod.o frank_module.o -L/usr/lib -lc"
insmod failed in sprintf call and linux down, same as before.
why? after link standard C library, the sprintf call is diffrent
to 1.?
Pavel's project that port libc-2.1.2 functions for linking with RT
modules seem is the best solution for my problem
Is there any way to do it smart?
Regards
--
[EMAIL PROTECTED]
-- [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/