Constantine Kousoulos, le Sun 01 Oct 2006 04:10:22 +0300, a écrit :
> a) expression 'extern void cpu_idle(void);' produces the following errors
> 
> error: expected expression before 'void'
> error: expected ')' before '->' token
> error: expected ')' before '==' token

Looks like you already have a cpu_idle() macro somewhere in Mach sources

> 1 static inline void task_lock(struct task_struct *p)
> 2{
> 3    spin_lock(&p->alloc_lock);
> 4}
> 
> the following error messages appear:
> 2: error: expected identifier or '(' before '{' token

Just the same, with task_lock()

> c)
> 1 enum rpc_accept_stat {
> 2    RPC_SUCCESS = 0,
> 3    RPC_PROG_UNAVAIL = 1,
> 4    RPC_PROG_MISMATCH = 2,
> 5    RPC_PROC_UNAVAIL = 3,
> 6    RPC_GARBAGE_ARGS = 4,
> 7    RPC_SYSTEM_ERR = 5
> 8};
> 
> 2: error: expected identifier before numeric constant

Just the same.

Samuel


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to