Open apkmodz opened 1 year ago
cc -I. -O3 -g -fcommon -Wl,--allow-multiple-definition -g -c hydra-nntp.c -DNO_STRRCHR clang-16: warning: -Wl,--allow-multiple-definition: 'linker' input unused [-Wunused-command-line-argument] hydra-nntp.c:36:20: error: call to undeclared library function 'rindex' with type 'char (const char , int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((ptr = rindex(buf, '\n')) != NULL) { ^ hydra-nntp.c:36:20: note: include the header
or explicitly provide a declaration for 'rindex' 1 error generated. make: [Makefile:80: hydra-nntp.o] Error 1 cc -I. -O3 -g -fcommon -Wl,--allow-multiple-definition -g -c hydra-nntp.c -DNO_STRRCHR clang-16: warning: -Wl,--allow-multiple-definition: 'linker' input unused [-Wunused-command-line-argument] hydra-nntp.c:36:20: error: call to undeclared library function 'rindex' with type 'char (const char , int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((ptr = rindex(buf, '\n')) != NULL) { ^ hydra-nntp.c:36:20: note: include the header or explicitly provide a declaration for 'rindex' 1 error generated. make: [Makefile:80: hydra-nntp.o] Error 1 cp: cannot stat 'hydra': No such file or directory
Fixed : Redownload repo & follow instructions ( Check Readme )
cc -I. -O3 -g -fcommon -Wl,--allow-multiple-definition -g -c hydra-nntp.c -DNO_STRRCHR clang-16: warning: -Wl,--allow-multiple-definition: 'linker' input unused [-Wunused-command-line-argument] hydra-nntp.c:36:20: error: call to undeclared library function 'rindex' with type 'char (const char , int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((ptr = rindex(buf, '\n')) != NULL) { ^ hydra-nntp.c:36:20: note: include the header or explicitly provide a declaration for 'rindex' 1 error generated.
make: [Makefile:80: hydra-nntp.o] Error 1
cc -I. -O3 -g -fcommon -Wl,--allow-multiple-definition -g -c hydra-nntp.c -DNO_STRRCHR
clang-16: warning: -Wl,--allow-multiple-definition: 'linker' input unused [-Wunused-command-line-argument]
hydra-nntp.c:36:20: error: call to undeclared library function 'rindex' with type 'char (const char , int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
if ((ptr = rindex(buf, '\n')) != NULL) {
^
hydra-nntp.c:36:20: note: include the header or explicitly provide a declaration for 'rindex'
1 error generated.
make: [Makefile:80: hydra-nntp.o] Error 1
cp: cannot stat 'hydra': No such file or directory