Skip to contentSkip to conversation

2.5.18 -- build failure -- suspend.c:1052: dereferencing pointer to incomplete type

DISCUSSION Miles Lane 2 participants 2 messages May 25, 2002

lore
Share & tools
lore

Miles Lane

author
#0 lore raw
Quoted 7 lines · Tim
Quoted 2 lines · Miles Lane

I have included the error, the output of ver_linux and snippets of .config.

I have not yet analyzed why I don't get this failunre, but does the following patch fix it for you?

Nope. The builds still fails with the same errors. I will send you my entire .config file in private mail, since the list likely doesn't want to see the whole thing.

Thanks,
Miles

Quoted 11 lines

Tim

kernel/suspend.c Sat May 25 09:25:44 2002 renamed from kernel/suspend.c Sat May 25 09:25:30 2002 +1 -0
@@ -66,6 +66,7 @@
 #include <linux/swap.h>
 #include <linux/pm.h>
 #include <linux/device.h>
+#include <linux/sched.h>
 >  #include <asm/uaccess.h>
 #include <asm/mmu_context.h>
#1 lore raw
Quoted 7 lines · Miles Lane
Quoted 2 lines · Tim

I have not yet analyzed why I don't get this failunre, but does the following patch fix it for you?

Nope. The builds still fails with the same errors. I will send you my entire .config file in private mail, since the list likely doesn't want to see the whole thing.

After looking into this a little bit deeper, I indeed see it has nothing to do with mit sched.h cleanups which I suspected first.

So I'm sorry I can't help you.

Tim