Friday, May 2, 2008 - New servers are in! Click-in for more info!
VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4] ]
Subject: Re: How to RP-PPPoE + Radius (beta version) - Possible Solve


Author:
Shannon Wynter
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 11:32:11 2004-02-11 Wed
Author Host/IP: 150.101.189.204
In reply to: Shannon Wynter 's message, "Re: How to RP-PPPoE + Radius (beta version)" on 11:08:42 2004-02-11 Wed

I'm no expert... I hope it's right (tell me if it's not) but I solved it (it compiles, dunno about "works")... here's the diff/patch file...

*** /usr/include/asm/byteorder.h 2004-02-12 02:21:37.765392432 +1000
--- /usr/include/asm/byteorder.h.orig 2004-02-12 02:17:12.335743872 +1000
***************
*** 21,27 ****
return x;
}

! #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
static inline __u64 ___arch__swab64(__u64 val)
{
union {
--- 21,27 ----
return x;
}

!
static inline __u64 ___arch__swab64(__u64 val)
{
union {
***************
*** 42,52 ****
}

#define __arch__swab64(x) ___arch__swab64(x)
- #define __BYTEORDER_HAS_U64__
- #endif
#define __arch__swab32(x) ___arch__swab32(x)
#define __arch__swab16(x) ___arch__swab16(x)


#endif /* __GNUC__ */

--- 42,51 ----
}

#define __arch__swab64(x) ___arch__swab64(x)
#define __arch__swab32(x) ___arch__swab32(x)
#define __arch__swab16(x) ___arch__swab16(x)

+ #define __BYTEORDER_HAS_U64__

#endif /* __GNUC__ */



>>http://www.superonda.com.br/pppoe.txt
>
>
>I am getting a problem with using this how to on
>mandrake 9.2 upgraded to kernel 2.6.2 and kernel
>source 2.6.2 from the mandrake cooker
>

[ Next Thread | Previous Thread | Next Message | Previous Message ]


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.