From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10669a,dc9f1922aa4fe290,start X-Google-Attributes: gid10669a,public X-Google-Thread: 111c93,dc9f1922aa4fe290,start X-Google-Attributes: gid111c93,public From: kag@kag.citysource.com (Kenneth Graves) Subject: CIPE on Alpha Date: 1999/07/23 Message-ID: #1/1 X-Deja-AN: 504220322 Organization: Graves Consulting, Inc. User-Agent: slrn/0.9.5.3 (UNIX) Newsgroups: comp.os.linux.alpha,comp.os.linux.networking 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 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