Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 16:52:11 +0100 (WET DST)
From:      Nuno Veiga <nunov@dei.uc.pt>
To:        freebsd-net@FreeBSD.ORG
Cc:        Jorge Miguel Sa Silva <sasilva@eden.dei.uc.pt>, Nuno Veiga <nunov@eden.dei.uc.pt>
Subject:   FreeBSD 2.2 -> 4.0
Message-ID:  <Pine.OSF.4.20.0005291647350.14310-100000@eden.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-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.20.0005291647350.14310-100000>