Comments (3)
removing `__packed' from radiotap/radiotap.h fixed it.
patch:
From 771899b4f78ecfa9fe068015cad3f1783e766c92 Mon Sep 17 00:00:00 2001
From: 3XITLiGHT <[email protected]>
Date: Wed, 20 May 2020 07:39:25 +0200
Subject: [PATCH] radiotap: remove `__packed` from struct
ieee80211_radiotap_header declaration
Fix compilation error on GCC 10 due to multiple definitions of __packed
Signed-off-by: 3XITLiGHT <[email protected]>
---
radiotap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/radiotap.h b/radiotap.h
index 2055194..b9af740 100644
--- a/radiotap.h
+++ b/radiotap.h
@@ -50,7 +50,7 @@ struct ieee80211_radiotap_header {
* @it_present: (first) present word
*/
uint32_t it_present;
-} __packed;
+};
/* version is always 0 */
#define PKTHDR_RADIOTAP_VERSION 0
--
2.26.2
from owl.
This was a problem with radiotap-library
as they use __packed
instead of __attribute__((__packed__))
. My pull request radiotap/radiotap-library#6 was just merged and solves this problem (#32) and #34.
from owl.
This happened for me when installing from AUR, and this patch fixes it. Thanks! My system is on gcc 10.1.0.
from owl.
Related Issues (20)
- Device does not support radiotap headers HOT 3
- ipv6 address of our device in MDNS is not correct
- Failed to connect to generic netlink HOT 2
- Is Android mobile phone supported? HOT 4
- Receiver Repeated network packet from macOS(ping)
- Error compiling on Linux with GCC 11 HOT 1
- Error when make HOT 1
- Use monitor mode instead of active monitor mode HOT 2
- Has this worked for anyone recently? HOT 1
- compilation error
- documentation on active monitor mode HOT 2
- complation error when performing make or sudo make install HOT 4
- build error: redefinition of 'struct ethhdr' HOT 4
- The project was successfully launched, but Mac10.15 crashed
- AirPlay can't connect HOT 17
- Is there any way I could emulate (?) active monitor mode?
- make error HOT 2
- Net crashes while trying to run owl
- Could not put device in monitor mode HOT 2
- OWL works, but opendrop doesn't
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owl.