Skip to content

Compilation is missing the file valgrind/valgrind.h #727

Closed
@Laizhongsheng

Description

git clone https://github.com/ossrs/srs
cd srs/trunk;
./configure --disable-all --with-ssl' Error
if [ ! -d LINUX_2.6.32-358.el6.x86_64_DBG ]; then mkdir LINUX_2.6.32-358.el6.x86_64_DBG; fi
cc -DLINUX -DMD_HAVE_EPOLL -DDEBUG -Wall -g -DMD_HAVE_EPOLL -DMD_VALGRIND -c sched.c -o LINUX_2.6.32-358.el6.x86_64_DBG/sched.o
sched.c:52:31: ??:valgrind/valgrind.h:?????????
sched.c: ???'st_thread_exit'?:
sched.c:272: ??:??????'VALGRIND_STACK_DEREGISTER'
sched.c: ???'st_thread_create'?:
sched.c:642: ??:??????'VALGRIND_STACK_REGISTER'
make[1]: *** [LINUX_2.6.32-358.el6.x86_64_DBG/sched.o] Error 1
make[1]: Leaving directory `/opt/srs/trunk/objs/state-threads-1.9.1'
make: *** [linux-debug] Error 2
Build state-threads failed, ret=2

TRANS_BY_GPT3

Metadata

Assignees

Labels

BugIt might be a bug.TransByAITranslated by AI/GPT.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions