buntu@ubuntu:~/Desktop$ sudo apt install --only-upgrade linux-libc-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
linux-libc-dev
1 upgraded, 0 newly installed, 0 to remove and 513 not upgraded.
1 not fully installed or removed.
Need to get 1315 kB of archives.
After this operation, 225 kB of additional disk space will be used.
Get:1 http://security.ubuntu.com/ubuntu jammy-security/main amd64 linux-libc-dev amd64 5.15.0-185.195 [1315 kB]
Fetched 1315 kB in 1s (1628 kB/s)
(Reading database ... 221299 files and directories currently installed.)
Preparing to unpack .../linux-libc-dev_5.15.0-185.195_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.15.0-185.195) over (5.15.0-119.129) ...
Setting up feitcsi (2.0.0) ...
make: Entering directory '/usr/share/feitcsi'
g++ `pkg-config --cflags gtkmm-3.0 libnl-3.0 libnl-genl-3.0 libpcap` -g -O1 -Wall -std=c++17 -DFEITCSI_VERSION="\"2.0.0"\" -Iinclude -Iinclude/gui -Ilib/include -c src/WiFiFtmController.cpp -o obj/WiFiFtm
Controller.o
In file included from /usr/include/libnl3/netlink/msg.h:17,
from include/Netlink.h:23,
from include/WiFiFtmController.h:22,
from src/WiFiFtmController.cpp:19:
src/WiFiFtmController.cpp: In static member function ‘static int WiFiFtmController::ftmHandler(nl80211_state*, nl_msg*, void*)’:
src/WiFiFtmController.cpp:154:54: error: ‘NL80211_CHAN_WIDTH_320’ was not declared in this scope; did you mean ‘NL80211_CHAN_WIDTH_20’?
154 | NLA_PUT_U32(msg, NL80211_ATTR_CHANNEL_WIDTH, NL80211_CHAN_WIDTH_320);
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnl3/netlink/attr.h:181:30: note: in definition of macro ‘NLA_PUT_TYPE’
181 | type __tmp = value; \
| ^~~~~
src/WiFiFtmController.cpp:154:9: note: in expansion of macro ‘NLA_PUT_U32’
154 | NLA_PUT_U32(msg, NL80211_ATTR_CHANNEL_WIDTH, NL80211_CHAN_WIDTH_320);
| ^~~~~~~~~~~
src/WiFiFtmController.cpp: In static member function ‘static int WiFiFtmController::ftmResponderHandler(nl80211_state*, nl_msg*, void*)’:
src/WiFiFtmController.cpp:199:54: error: ‘NL80211_CHAN_WIDTH_320’ was not declared in this scope; did you mean ‘NL80211_CHAN_WIDTH_20’?
199 | NLA_PUT_U32(msg, NL80211_ATTR_CHANNEL_WIDTH, NL80211_CHAN_WIDTH_320);
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnl3/netlink/attr.h:181:30: note: in definition of macro ‘NLA_PUT_TYPE’
181 | type __tmp = value; \
| ^~~~~
src/WiFiFtmController.cpp:199:9: note: in expansion of macro ‘NLA_PUT_U32’
199 | NLA_PUT_U32(msg, NL80211_ATTR_CHANNEL_WIDTH, NL80211_CHAN_WIDTH_320);
| ^~~~~~~~~~~
make: *** [Makefile:43: obj/WiFiFtmController.o] Error 1
make: Leaving directory '/usr/share/feitcsi'
dpkg: error processing package feitcsi (--configure):
installed feitcsi package post-installation script subprocess returned error exit status 2
Setting up linux-libc-dev:amd64 (5.15.0-185.195) ...
Errors were encountered while processing:
feitcsi
E: Sub-process /usr/bin/dpkg returned an error code (1)