dragondrain-and-time icon indicating copy to clipboard operation
dragondrain-and-time copied to clipboard

Error while running "make"

Open srikanthprathi opened this issue 3 years ago • 4 comments

Issue type

REMOVE THOSE WHICH DO NOT APPLY

  • Defect - Compilation or make check issue - Attach config.log and provide relevant system information such as lscpu - Make sure dependencies are installed. lscpu.txt config.log

System information

  • OS: Linux kali 5.9.0-kali5-amd64 #1 SMP Debian 5.9.15-1kali1 (2020-12-18) x86_64 GNU/Linux
  • CPU: Intel Core i7 - 10875H (allocated 8 cores)
  • Wireless card and chipset (if relevant): ath9k_htc - Qualcomm Atheros Communications AR9271 802.11n (TL-WN722N - v1)

Aircrack-ng version

  • Version: Aircrack-ng 1.6
  • Commit Revision hash:

Defect

How to reproduce the issue

I tried running the installation steps mentioned in the https://github.com/vanhoefm/dragondrain-and-time#compilation after installing the dependencies:

apt-get update apt-get install autoconf automake libtool shtool libssl-dev pkg-config

autoreconf -i ./configure make

The commands "autoreconf -i" and "./configure" got successful and while running the "make" I got the below error:

/usr/bin/ld: radiotap/.libs/libradiotap.a(radiotap.o):(.bss+0x0): multiple definition of `__packed'; .libs/libaircrack_osdep_la-linux.o:(.bss+0x18): first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:776: libaircrack-osdep.la] Error 1 make[3]: Leaving directory '/home/kali/dragonfly/dragondrain-and-time/src/aircrack-osdep' make[2]: *** [Makefile:977: all-recursive] Error 1 make[2]: Leaving directory '/home/kali/dragonfly/dragondrain-and-time/src/aircrack-osdep' make[1]: *** [Makefile:2089: all-recursive] Error 1 make[1]: Leaving directory '/home/kali/dragonfly/dragondrain-and-time/src' make: *** [Makefile:588: all-recursive] Error 1

Related issues

Link to any related issue from within the project or outside (GitHub or any other bug tracker or relevant forum post, etc...).

srikanthprathi avatar Apr 23 '21 09:04 srikanthprathi

srikanthprathi avatar Apr 23 '21 09:04 srikanthprathi

@srikanthprathi as a workaround you can remove the definition of __packed in radiotap.h: https://github.com/vanhoefm/dragondrain-and-time/blob/82616a731032b0abca69acebfeda4574960bd5f4/src/aircrack-osdep/radiotap/radiotap.h#L42

and replace it with };

ppartarr avatar Apr 26 '21 21:04 ppartarr

Thanks, that worked

srikanthprathi avatar Feb 04 '22 12:02 srikanthprathi