Matchup of kernel header and source, and apt-get problem
I just installed Linux Suse 10.1, but i'm not sure that the source files and headerfiles versions match.
i checked the source with
how to I check what version the header files are? (i know that i can do this somewhere in YAST but i'm not entirely sure where to find this...)
And if they are not the same, how can i get them to match?
Also.... one small other thing...
Bash does not recgonise the apt-get command... is there a way i should configure that?
because i tried to use the following, and i got the following error...
Suse does not come with apt, did you install it?
Why do you need the headers, what are you trying to do?
What I am trying to do is find the offset of a member of the struct task_struct in sched.h.
I have a small C (standalone) program that uses the offsetof () function to find eg: 'pid' in the struct.
However this is giving me a multitude of errors, from files that are in the includes of sched.h, when i try to compile it with gcc.
I was wondering if the reason for these errors was because of the version of the headers not being the same as the kernel.. (that's why I need to check)
However,I am beginning to suspect that the problem is with gcc...
|All times are GMT -5. The time now is 09:42 AM.|