scanf doesn't work

Khem Raj raj.khem@gmail.com
Sat Jun 27 00:25:00 GMT 2009


On 6/26/09, Leonitis <rubixqb@gmail.com> wrote:
>
>
> Khem Raj-3 wrote:
>>
>> Could you try compile/run it as a static binary? if you have not done so.
>> It could just be a misatch of libraries on your system Vs the libraries
>> you are using to develop/compile the testcase
>>
>
> I have not done that before. After setting the "-static" flag (that's how
> you do it, right?),
> I get "FATAL: kernel too old" followed by a seg fault.

probably the glibc against which you linked is compiled with --enable-kernel
equal to a version number which is larger than the actual version you
are running
on the target. Check the option passed to configure for glibc when you
built the toolchain

Thanks

-Khem

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list