hamachi 0.14 cpmpilation error on Linux Alpha 2.2.5

Toshinao Ishii ici@qua.crl.melco.co.jp
Fri May 7 01:42:08 1999


Hi.

I am a new user of G-NIC II. (I hope this mailing list is not only for
G-NIC)

I tried to compile hamachi.c v 0.14 on Linux Alpha kernel version 2.2.5.

The machine is 164SX based one.

The compilation failed because of the following error. It looks like
problem
of current.h. This file has essentially only one line.

    register struct task_struct *current __asm__("$8");

Please let me know how to solve this problem of compilation.

Thank you.

gcc-egcs -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes
-I/usr/src/linux/net/inet -O6 -o hamachi.o -c hamachi.c
In file included from /usr/include/asm/semaphore.h:11,
                 from /usr/include/linux/fs.h:161,
                 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

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
$B@P0f=SD>(B   Toshinao Ishii

   Advanced Technology R&D Center (ATC)   $B;0I)EE5!(B($B3t(B)
   Mitsubishi Electric Corporation        $B@hC<5;=QAm9g8&5f=j(B

   email: ici@qua.crl.melco.co.jp (NeXTMail/MIME Welcome)
   fax:   +81-6-497-7288


 | 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.