Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm having the following error when running linsched What is the reason?
<
VB
ld: Warning: size of symbol `sched_clock' changed from 8 in ../../../tools/linsched/hrtimer.o to 28 in ../../../kernel/sched/clock.o
ld: Warning: size of symbol `linsched_test_main' changed from 60 in ../../../tools/linsched/test_lib.o to 287 in linsched_rand_test.o
ld: Relocatable linking with relocations from format elf64-x86-64 (../../../tools/linsched/linux_linsched.o) to format elf32-i386 (linsched_rand_test.percpu) is not supported
make[1]: *** [linsched_rand_test] Error 1
make[1]: Leaving directory `/home/mojtaba/00/tools/linsched/tests'
make: *** [all] Error 2
>
Posted

1 solution

You don't have a problem running it since it has not been built yet. It would appear that you have some conflicts between 32-bit and 64-bit modules in your build system. You need to check the settings for the make script and ensure that, either all sources are rebuilt to the same configuration, or the source modules are set to build to the same architecture as the associated libraries.
 
Share this answer
 
Comments
mojtaba kamarkhani 23-Jul-14 5:57am    
Thanks for the answer
How do I check?
You yourself have worked with this kit?
Richard MacCutchan 23-Jul-14 6:03am    
This is basic linux code building. If you don't know how to use the compiler, the linker and the make utility, then you need to read the man pages for each one and get familiar with them. You should also check the documentation for linsched as it appears to be some third-party application.
mojtaba kamarkhani 25-Jul-14 2:22am    
Thanks for the answer
I am an amateur and I do not know what documents I read it but did not notice
You can explain it step by step implementation?
Or in the form of a video file as you explain it to me
Richard MacCutchan 25-Jul-14 2:38am    
Sorry, this is the Quick Answers forum, and it would take far to long to teach you these subjects. You need to study the man pages, Google for documentation, or get yourself a book on Linux development.
mojtaba kamarkhani 25-Jul-14 3:23am    
thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900