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

List:       linux-vlan
Subject:    Re: [VLAN] vlan_ioctl_hook undeclared
From:       Ben Greear <greearb () candelatech ! com>
Date:       2001-12-31 3:13:24
[Download RAW message or body]

I've never heard of anyone using it on PPC...  However,
with some patches that went into the latest linux kernel,
it does seem to work on Alpha.  If you can, try that
kernel and see if it works.

Peter Stuge wrote:

> On Mon, Dec 31, 2001 at 09:44:02AM +0800, yah wrote:
> 
>>Hi all,
>>   I use the vlan-1.5.tar to patch the kernel(linux-2.4.6.tar.gz). I
>>compiled it into the kernel, but failed.Following is the error message:
>>
>>af_inet.c: In function `inet_ioctl':
>>af_inet.c:875: `vlan_ioctl_hook' undeclared (first use in this function)
>>af_inet.c:875: (Each undeclared identifier is reported only once
>>af_inet.c:875: for each function it appears in.)
>>af_inet.c:879: `vlan_ioctl_hook' used prior to declaration
>>af_inet.c:879: warning: implicit declaration of function `vlan_ioctl_hook'
>>make[3]: *** [af_inet.o] Error 1
>>make[3]: Leaving directory `/usr/local/linuxppc_2_4/net/ipv4'
>>make[2]: *** [first_rule] Error 2
>>make[2]: Leaving directory `/usr/local/linuxppc_2_4/net/ipv4'
>>make[1]: *** [_subdir_ipv4] Error 2
>>make[1]: Leaving directory `/usr/local/linuxppc_2_4/net'
>>make: *** [_dir_net] Error 2
>>
>>What's wrong? Any advice will be appreciated.
>>
> 
> The root of the problem is probably that the VLAN patch hasn't been
> extensively tested, if at all, on the PowerPC architecture.
> 
> Hmm.  I'm looking at the code but I don't see why the arch should matter..
> Try sending me the two files /usr/local/linuxppc_2_4/.config and
> /usr/local/linuxppc_2_4/net/ipv4/af_inet.c and I'll have a look at them now.
> 
> 
> //Peter
> 
> 


-- 
Ben Greear <greearb@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear


_______________________________________________
VLAN mailing list  -  VLAN@Scry.WANfear.com
http://www.WANfear.com/mailman/listinfo/vlan
VLAN Page:  http://scry.wanfear.com/~greear/vlan.html
[prev in list] [next in list] [prev in thread] [next in thread] 

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