BigMAC icon indicating copy to clipboard operation
BigMAC copied to clipboard

Error when trying to make selinux

Open vamsishankar2711763 opened this issue 2 years ago • 0 comments

Getting the following error while trying to make selinux, attached screenshot. The errors are due to different gcc versions; need to make changes so that these errors can be avoided. Currently using docker to run previous version of ubuntu and running the tool there.

/usr/bin/ld: ../cil/src/cil_verify.lo:(.bss+0x4f8): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x4f8): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:51: libsepol.so.1] Error 1
make[2]: Leaving directory '/home/vamsi/BigMAC/sefcontext-parser/selinux/libsepol/src'
make[1]: *** [Makefile:6: all] Error 2
![Screenshot from 2023-09-17 21-39-44](https://github.com/FICS/BigMAC/assets/28599904/c927cd66-f5dc-48b6-a23e-4e4bf6d47211)

make[1]: Leaving directory '/home/vamsi/BigMAC/sefcontext-parser/selinux/libsepol'
make: *** [Makefile:19: all] Error 1

Screenshot from 2023-09-17 21-39-44

vamsishankar2711763 avatar Sep 18 '23 01:09 vamsishankar2711763