[RP-PPPoE] [PATCH] cross compilation fix

David F. Skoll dfs at roaringpenguin.com
Wed Jul 13 11:49:34 EDT 2011


Hi,

I don't think your patch is correct.  The packing order of bit-fields may
or may not be related to the endian-ness of the machine.

If you want to cross-compile, you need to explicitly set
rppppoe_cv_pack_bitfields on the command line:

rpppoe_cv_pack_bitfields=normal ./configure

or

rpppoe_cv_pack_bitfields=rev ./configure

[It so happens that it's moot since both "ver" and "type"
are 1 for the current PPPoE standard...]

Regards,

David.


More information about the RP-PPPoE mailing list