Quote:
|
Originally Posted by comprookie2000
Suse does not come with apt, did you install it?
|
ok, after a lot of trouble, i solved this problem, thanks
Quote:
|
Originally Posted by comprookie2000
Why do you need the headers, what are you trying to do?
|
That would be my next problem.
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...