* hamachi (G-NIC II driver) compilation problem
@ 1999-05-04 4:00 ici
1999-05-08 4:00 ` Chris Worley
0 siblings, 1 reply; 2+ messages in thread
From: ici @ 1999-05-04 4:00 UTC (permalink / raw)
Hi.
Compiling hamachi.c (v0.14 3/11/1999), a G-NIC II driver,
failed with the following error messages. The version of
kernel is 2.2.5 and the host machine is 164SX based one.
Please let me know how to install the driver. I appreciate
any stories on how to install G-NIC II on 164SX based machine
successfully.
Thanks in advance.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Toshinao Ishii 石井俊直
email: ici@osk.3web.ne.jp (NeXTMAIL/MIME Welcome)
% gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes \
-I/usr/src/linux/net/inet -O6 -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
% cat /usr/include/asm/current.h
#ifndef _ALPHA_CURRENT_H
#define _ALPHA_CURRENT_H
register struct task_struct *current __asm__("$8");
#endif /* !(_ALPHA_CURRENT_H) */
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: hamachi (G-NIC II driver) compilation problem
1999-05-04 4:00 hamachi (G-NIC II driver) compilation problem ici
@ 1999-05-08 4:00 ` Chris Worley
0 siblings, 0 replies; 2+ messages in thread
From: Chris Worley @ 1999-05-08 4:00 UTC (permalink / raw)
To: ici
ici@osk.3web.ne.jp wrote:
>
> Hi.
>
> Compiling hamachi.c (v0.14 3/11/1999), a G-NIC II driver,
> failed with the following error messages. The version of
> kernel is 2.2.5 and the host machine is 164SX based one.
>
> Please let me know how to install the driver. I appreciate
> any stories on how to install G-NIC II on 164SX based machine
> successfully.
>
You need to add "-mno-fp-regs" to the compile line (an AXP only
consideration).
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-05-08 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-04 4:00 hamachi (G-NIC II driver) compilation problem ici
1999-05-08 4:00 ` Chris Worley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox