[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-net
Subject:    FreeBSD 2.2 -> 4.0
From:       Nuno Veiga <nunov () dei ! uc ! pt>
Date:       2000-05-29 15:52:11
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic