[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arm
Subject: still compile error
From: <lamppost1981 () vip ! sina ! com>
Date: 2004-05-30 10:57:59
Message-ID: 200405301054.i4UAsINN002200 () mailer ! progressive-comp ! com
[Download RAW message or body]
Hello! I was almost crazy.
I use arm-linux-gcc(version 2.95.3), it matches kernel 2.4.21.
As Erick Mouw told me: arm-linux-gcc ¨CI/¡¡../linux-2.4.21/include, still
head file error:
The errors likes those occurred the day before yesterday:
>linux/timex.h:173:field ¡®time¡¯ has incomplete type
>In file include from /¡¡¡¡¡¡¡¡./linux-2.4.21/include/
>linux/sched.h:18,from 5_28.c:19
>/¡¡¡¡¡¡../semaphore.h:18:
>parse error before wait_queue_head_t¡±
>/¡¡¡¡¡¡ /semaphore.h:In
>function ¡®sema_init¡¯;
>/¡¡¡¡¡../semaphore.h:47:
>dereferencing pointer to incomplete type.
>/¡¡¡¡¡./semaphore.h:49:
>dereferencing pointer to incomplete type.
¡¡¡¡¡¡ and so on.
My header file:
#define MODULE
#include<linux/module.h>
#include<linux/sched.h>
#include<linux/interrupt.h>
#include <asm/io.h>
I compiled it on red hat 8.0 linux(2.4.18). I used arm-linux-gcc ¨C
I/usr/scr/linux-2.4.18-14/include (though this way is wrong),
still these errors!
What can I do?
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette: http://www.arm.linux.org.uk/armlinux/mailinglists.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic