From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,254d85fd443f0e4b,start X-Google-Attributes: gid111c93,public From: marklarsen@my-deja.com Subject: compiling starfire.c driver on DS20 Date: 1999/11/16 Message-ID: <80qikh$5b1$1@nnrp1.deja.com>#1/1 X-Deja-AN: 549081855 X-Http-Proxy: 1.0 x38.deja.com:80 (Squid/1.1.22) for client 147.155.4.51 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 16 03:21:57 1999 GMT X-MyDeja-Info: XMYDJUIDmarklarsen Newsgroups: comp.os.linux.alpha X-Http-User-Agent: Mozilla/4.7 [en] (X11; I; Linux 2.2.13 alpha) I am having trouble compiling the starfire driver for the alpha's on a DS20. It will work on the 21164 machines, but not our 21264 machines. Are there special options for these alphas? When I try to compile I get the following errors: [root@grimm /tmp]# gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c starfire.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS` In file included from /usr/include/asm/semaphore.h:11, from /usr/include/linux/fs.h:164, from /usr/include/linux/capability.h:13, from /usr/include/linux/binfmts.h:5, from /usr/include/linux/sched.h:8, from starfire.c:85: /usr/include/asm/current.h:4: global register variable follows a function definition /usr/include/asm/current.h:4: warning: call-clobbered register used for global register variable starfire.c: In function `starfire_probe1': starfire.c:566: warning: unsigned int format, different type arg (arg 2) starfire.c: In function `netdev_timer': starfire.c:805: warning: unsigned int format, different type arg (arg 3) starfire.c:815: warning: unsigned int format, different type arg (arg 4) starfire.c: In function `tx_timeout': starfire.c:831: warning: unsigned int format, different type arg (arg 3) starfire.c: In function `intr_handler': starfire.c:1064: warning: unsigned int format, different type arg (arg 3) starfire.c: In function `netdev_close': starfire.c:1375: warning: unsigned int format, different type arg (arg 3) I have tried adding the typical alpha options '-ffixed-8' and '-mno-fp-regs' but to no avail (output similar) Any help or pointers to compiling on the DS20/212164 platform would be great. Thanks Mark Larsen Sent via Deja.com http://www.deja.com/ Before you buy.