Why does fcs_prepare build fail with the error '/usr/bin/ld: cannot find -lc' on RHEL 8 OS? - Why does fcs_prepare build fail with the error '/usr/bin/ld: cannot find -lc' on RHEL 8 OS?
Description The Makefile from fcs_prepare repository on GitHub uses glibc-static library package. RHEL 8 does not support static linking on files that make use of the glibc-static package; therefore, the following error may be seen when building with the fcs_prepare tool. /usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status make: *** [Makefile:26: fcs_prepare] Error 1 Resolution To work around this problem, remove the following flag from the Makefile: LDFLAGS := -static This is scheduled to be fixed in a future release branch of fcs_prepare.
Custom Fields values:
['novalue']
Troubleshooting
18035295493
False
['novalue']
['novalue']
novalue
novalue
['Agilex™ 7 FPGAs and SoCs']
['novalue']
['novalue']
['novalue'] - 2023-12-13
external_document