| Summary: | Unable to compile using NDK due to missing network definitions | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | KTSamy <thirumalai.dme> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | busybox-cvs, thirumalai.dme |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | Busybox NDK build log | ||
+#ifndef PACKET_AUXDATA
+#define PACKET_AUXDATA 8
+
+struct tpacket_auxdata
+{
+ uint32_t tp_status;
+ uint32_t tp_len;
+ uint32_t tp_snaplen;
+ uint16_t tp_mac;
+ uint16_t tp_net;
+ uint16_t tp_vlan_tci;
+ uint16_t tp_padding;
+};
+#endif
?
this should work with the latest NDK as they've synced the kernel headers. we don't really support older NDK versions. if that's an issue for you, disable the udhcp applet. |
Created attachment 4970 [details] Busybox NDK build log I am using android ndk r8e. I have tried to compile busybox 1.21.1 stable from the sources using ndk for my android mobile. I have not changed any configuration & used the default one "android_ndk_defconfig". But While compiling I am receiving "networking/udhcp" error. I have attached detailed build log for reference.