From: kag@kag.citysource.com (Kenneth Graves)
Subject: CIPE on Alpha
Date: 1999/07/23 [thread overview]
Message-ID: <slrn7pfg96.9u.kag@kag.citysource.com> (raw)
Has anyone succeeded in getting CIPE to work on an Alpha?
I'm trying with cipe-1.3.0 (configured with -enable-idea) on RedHat
6.0 (kernel 2.2.5), but I can't get the module to compile. I could
clean up a few things (multiple definitions of htonl, etc.), but am
stuck on:
gcc -D__KERNEL__ -DMODULE -I. -I../. -I/usr/src/linux/include -include\
./config.h -funroll-loops -O3 -Wall -Wstrict-prototypes -fomit-frame-pointer\
-g -O2 -o module.o -c .././module.c
In file included from /usr/src/linux/include/asm/semaphore.h:11,
from /usr/src/linux/include/linux/fs.h:163,
from /usr/src/linux/include/linux/capability.h:13,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:8,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/malloc.h:4,
from /usr/src/linux/include/linux/skbuff.h:132,
from /usr/src/linux/include/linux/netdevice.h:131,
from ../cipe.h:123,
from .././module.c:15:
/usr/src/linux/include/asm/current.h:4: global register variable follows a\
function definition
/usr/src/linux/include/asm/current.h:4: warning: call-clobbered register used\
for global register variable
<asm/current.h> contains:
#ifndef _ALPHA_CURRENT_H
#define _ALPHA_CURRENT_H
register struct task_struct *current __asm__("$8");
#endif /* !(_ALPHA_CURRENT_H) */
Removing the "register" results in a module that hangs the kernel.
Any suggestions welcome.
--kag
next reply other threads:[~1999-07-23 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-23 4:00 Kenneth Graves [this message]
1999-07-25 4:00 ` CIPE on Alpha B. James Phillippe
1999-07-26 4:00 ` Brian Candler
1999-07-27 4:00 ` Kenneth Graves
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox