Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string.h? #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

string.h? #1

wants to merge 4 commits into from

Conversation

l29ah
Copy link

@l29ah l29ah commented Sep 27, 2015

‰ make
[ -d build-Linux-x86_64/src/tcsip ] || mkdir -p build-Linux-x86_64/src/tcsip
cc -std=gnu99 -Werror src/tcsip/tcmedia.c -o build-Linux-x86_64/src/tcsip/tcmedia.o -c -Ideps/include/ -I./src -I./src/util -I../srtp/include/ -I../srtp/crypto/include/ -I../opus/include/ -I../speex/include -Ig711 -I./src/rehttp/ -Ideps/Linux-x86_64//srtp -Ideps/Linux-x86_64//speex -DHAVE_INTTYPES_H -DHAVE_STDBOOL_H -DHAVE_INET6 -DHAVE_GAI_STRERROR -DRELEASE -fPIC -O0 -g
src/tcsip/tcmedia.c: В функции «sdp_crypto»:
src/tcsip/tcmedia.c:86:5: ошибка: неявная декларация функции «strlen» [-Werror=implicit-function-declaration]
re_regex(value, strlen(value), "[0-9]+ [a-zA-Z0-9_]+ [a-zA-Z]+:[A-Za-z0-9+/]+",
^
src/tcsip/tcmedia.c:86:21: ошибка: несовместимая неявная декларация внутренней функции «strlen» [-Werror]
re_regex(value, strlen(value), "[0-9]+ [a-zA-Z0-9_]+ [a-zA-Z]+:[A-Za-z0-9+/]+",
^
src/tcsip/tcmedia.c: В функции «tcmedia_set_format»:
src/tcsip/tcmedia.c:454:5: ошибка: неявная декларация функции «strcmp» [-Werror=implicit-function-declaration]
if(!strcmp(fmt_name, "speex"))
^
cc1: all warnings being treated as errors
make: *** [build-Linux-x86_64/src/tcsip/tcmedia.o] Ошибка 1

@muromec
Copy link
Owner

muromec commented Sep 27, 2015

please, add missing include and submit pull request if that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants