Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* compiling starfire.c driver on DS20
@ 1999-11-16  5:00 marklarsen
  0 siblings, 0 replies; only message in thread
From: marklarsen @ 1999-11-16  5:00 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-11-16  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-16  5:00 compiling starfire.c driver on DS20 marklarsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox