Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2000 11:03:55 +0100
From:      Nuno Veiga <nunov@dei.uc.pt>
To:        freebsd-questions@FreeBSD.ORG
Subject:   FreeBSD 2.2 -> 4.0
Message-ID:  <393B7B0A.A2CE50F5@dei.uc.pt>

next in thread | raw e-mail | index | archive | help
Hi!

I have the code of an ATM driver for FreeBSD 2.2
I would like to port it to FreeBSD 4.0
What cautions should I have?

When I tried to compile the code, I got a warning:
"Don't #include ioctl.h in the kernel. Include xxxio.h instead."
So I did it.

Then an error:
...
################: MAKING DRIVER ################
#####: [1]> [install] driver (host)
#####: [2]> [install] driver/FREEBSD (host)
#####: [3]> [install] driver/FREEBSD/i386 (host)
#####: [5]> [install] driver/FREEBSD/i386/host (host)
gmake[6]: *** No rule to make target `/usr/include/machine/spl.h',
needed by `_lebuscom.ldep'.  Stop.
gmake[5]: *** [host] Error 2
gmake[4]: *** [install] Error 2
gmake[3]: *** [install] Error 2
gmake[2]: *** [install] Error 2
gmake[1]: *** [driver] Error 2
gmake: *** [all] Error 2


Could you help me?

Thank you

Nuno Veiga




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393B7B0A.A2CE50F5>