Additional GNIC-II Compile Problems

Michael Sloan michael@theprintinghouse.com
Fri Aug 6 09:45:00 1999


The 0.14 version of the hamachi driver for GNIC-II cards compiled fine
under Slackware Linux (kernel 2.2.9) running on an Intel Pentium-200,
although I haven't had a chance to bring that system down to install one
of the GNIC-II cards.

I've tried compiling the driver on a DEC Alpha XL-266 running RedHat
Linux 6.0 (kernel 2.2.5) and had numerous problems. Has anyone tried
compilig this on an Alpha, or have suggestions as to how to get this to
work ?

Alternatively, are there other gigabit cards with more widely supported
drivers ? Is the 3Com 3C985 widely supported under various architectures
? It is possible that we will be running Linux on x86, Alpha, G3
(powerpc) and Sparc platforms.

Thanks once again for any help anyone can provide.

The compile command:

gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes
-I/usr/src/linux/net/inet 
-O6 -o hamachi.o -c hamachi.c

The error messages:

In file included from /usr/include/asm/semaphore.h:11,
                 from /usr/include/linux/fs.h:163,
                 from /usr/include/linux/capability.h:13,
                 from /usr/include/linux/binfmts.h:5,
                 from /usr/include/linux/sched.h:8,
                 from hamachi.c:100:
/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
hamachi.c: In function `hamachi_probe1':
hamachi.c:596: warning: unsigned int format, different type arg (arg 4)
hamachi.c:617: warning: unsigned int format, different type arg (arg 7)
hamachi.c: In function `hamachi_open':
hamachi.c:831: warning: unsigned int format, different type arg (arg 3)
hamachi.c:831: warning: unsigned int format, different type arg (arg 4)
hamachi.c: In function `hamachi_timer':
hamachi.c:889: warning: unsigned int format, different type arg (arg 3)
hamachi.c:889: warning: unsigned int format, different type arg (arg 4)
hamachi.c:897: warning: unsigned int format, different type arg (arg 3)
hamachi.c:897: warning: unsigned int format, different type arg (arg 4)
hamachi.c:897: warning: unsigned int format, different type arg (arg 5)
hamachi.c:897: warning: unsigned int format, different type arg (arg 6)
hamachi.c:897: warning: unsigned int format, different type arg (arg 7)
hamachi.c:897: warning: unsigned int format, different type arg (arg 8)
hamachi.c: In function `hamachi_interrupt':
hamachi.c:1210: warning: unsigned int format, different type arg (arg 3)
hamachi.c: In function `hamachi_error':
hamachi.c:1487: warning: unsigned int format, different type arg (arg 3)
hamachi.c:1487: warning: unsigned int format, different type arg (arg 4)
hamachi.c:1487: warning: unsigned int format, different type arg (arg 5)
hamachi.c:1487: warning: unsigned int format, different type arg (arg 6)
hamachi.c: In function `hamachi_close':
hamachi.c:1522: warning: unsigned int format, different type arg (arg 3)
hamachi.c:1522: warning: unsigned int format, different type arg (arg 4)
hamachi.c:1522: warning: unsigned int format, different type arg (arg 5)
make: *** [hamachi] Error 1

-- 
Michael Sloan
The Printing House, Ltd.
michael@theprintinghouse.com
 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.