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

../../src/rtpp_module.h:142:5: error: unknown type name ‘pthread_t’ #110

Open
ramagurijala opened this issue Jun 5, 2020 · 2 comments
Assignees

Comments

@ramagurijala
Copy link

I am trying to compile on CentOS 7 with GCC 7 and I'm getting below error:

Making all in acct_rtcp_hep
make[2]: Entering directory /usr/src/rtpproxy/modules/acct_rtcp_hep' /bin/sh ../../libtool --tag=CC --mode=compile gcc -Wall -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -DHAVE_CONFIG_H -I../../src -DRTPP_MODULE -Dmalloc=mod_malloc -Dfree=mod_free -Drealloc=mod_realloc -I../../hepconnector -I../../external/libucl/include -D_DEFAULT_SOURCE -D_ISOC99_SOURCE -DLINUX_XXX -g3 -O2 -std=c11 -D_BSD_SOURCE -D_XOPEN_SOURCE -pipe -MT rtpp_acct_rtcp_hep_la-rtpp_acct_rtcp_hep.lo -MD -MP -MF .deps/rtpp_acct_rtcp_hep_la-rtpp_acct_rtcp_hep.Tpo -c -o rtpp_acct_rtcp_hep_la-rtpp_acct_rtcp_hep.lo test -f 'rtpp_acct_rtcp_hep.c' || echo './'rtpp_acct_rtcp_hep.c libtool: compile: gcc -Wall -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -DHAVE_CONFIG_H -I../../src -DRTPP_MODULE -Dmalloc=mod_malloc -Dfree=mod_free -Drealloc=mod_realloc -I../../hepconnector -I../../external/libucl/include -D_DEFAULT_SOURCE -D_ISOC99_SOURCE -DLINUX_XXX -g3 -O2 -std=c11 -D_BSD_SOURCE -D_XOPEN_SOURCE -pipe -MT rtpp_acct_rtcp_hep_la-rtpp_acct_rtcp_hep.lo -MD -MP -MF .deps/rtpp_acct_rtcp_hep_la-rtpp_acct_rtcp_hep.Tpo -c rtpp_acct_rtcp_hep.c -fPIC -DPIC -o .libs/rtpp_acct_rtcp_hep_la-rtpp_acct_rtcp_hep.o In file included from rtpp_acct_rtcp_hep.c:41:0: ../../src/rtpp_module.h:142:5: error: unknown type name ‘pthread_t’ pthread_t thread_id; ^~~~~~~~~ make[2]: *** [rtpp_acct_rtcp_hep_la-rtpp_acct_rtcp_hep.lo] Error 1 make[2]: Leaving directory /usr/src/rtpproxy/modules/acct_rtcp_hep'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/rtpproxy/modules'
make: *** [all-recursive] Error 1

@Sh0g0Cub3
Copy link

I'm getting the same error.
gcc version 10.1.0 (GCC)

@sobomax
Copy link
Member

sobomax commented Jul 6, 2020

Should be fixed in the latest master. Sorry for the breakage. :(

Anyone know any good CI that supports github and has centos/rhel images?

@sobomax sobomax self-assigned this Jul 6, 2020
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

No branches or pull requests

3 participants