Код: Выделить всё
* installing to library ‘/export/apps/prod/*****/R/x86_64-redhat-linux-gnu-library/4.4’
* installing *source* package ‘ROracle’ ...
** package ‘ROracle’ successfully unpacked and MD5 sums checked
** using staged installation
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20)’
gcc -I"/usr/include/R" -DNDEBUG -I/usr/include/oracle/23/client64 -I/usr/local/include -fpic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rodbi.c -o rodbi.o
rodbi.c: In function ‘rociDrvInit’:
rodbi.c:532:31: error: format not a string literal and no format arguments [-Werror=format-security]
RODBI_ERROR((const char *)errMsg); \
^~~~~~
rodbi.c:217:15: note: in definition of macro ‘RODBI_ERROR’
error(err)
^~~
rodbi.c:1221:3: note: in expansion of macro ‘RODBI_CHECK_DRV’
RODBI_CHECK_DRV(drv, __FUNCTION__, 1, TRUE,
^~~~~~~~~~~~~~~
rodbi.c: In function ‘rociConInit’:
rodbi.c:552:31: error: format not a string literal and no format arguments [-Werror=format-security]
RODBI_ERROR((const char *)errMsg); \
^~~~~~
С уважением,
Николай
Подробнее здесь: https://stackoverflow.com/questions/787 ... ors-on-el8
Мобильная версия