[Live-devel] Live555 compile error

Jim Ham jimham at porcine.com
Tue Apr 29 08:07:42 PDT 2025


Hello,

Yesterday I downloaded the tar file live555-latest.tar.tz  from the 
website. Unfortunately I trashed the tar after extracting the files. The 
latest date is Apr 24 13:16 on the sources.

The machine is an Arm64 running debian stable linux. I made one change 
to the sources, I added -DLOG_RTSPSERVER_ACCESS to COMPILE_OPTS in 
config.linux-64bit:

COMPILE_OPTS =          $(INCLUDES) -m64 -fPIC -I/usr/local/include -I. 
-O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 
-DLOG_RTSPSERVER_ACCESS
C =                     c
C_COMPILER =            cc
C_FLAGS =               $(COMPILE_OPTS)
CPP =                   cpp
CPLUSPLUS_COMPILER =    c++
CPLUSPLUS_FLAGS =       $(COMPILE_OPTS) -Wall -DBSD=1 -Wno-deprecated flag
OBJ =                   o
LINK =                  c++ -o
LINK_OPTS =             -L.
CONSOLE_LINK_OPTS =     $(LINK_OPTS)
LIBRARY_LINK =          ar cr
LIBRARY_LINK_OPTS =
LIB_SUFFIX =                    a
LIBS_FOR_CONSOLE_APPLICATION = -lssl -lcrypto
LIBS_FOR_GUI_APPLICATION =
EXE =

I then ran :

genMakefiles linux-64bit
make

It failed. A new run of make results in:

#:~/live$ make
cd liveMedia ; make
make[1]: Entering directory '/home/jeh/live/liveMedia'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/jeh/live/liveMedia'
cd groupsock ; make
make[1]: Entering directory '/home/jeh/live/groupsock'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/jeh/live/groupsock'
cd UsageEnvironment ; make
make[1]: Entering directory '/home/jeh/live/UsageEnvironment'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/jeh/live/UsageEnvironment'
cd BasicUsageEnvironment ; make
make[1]: Entering directory '/home/jeh/live/BasicUsageEnvironment'
c++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include 
-m64  -fPIC -I/usr/local/include -I. -O2 -DSOCKLEN_T=socklen_t 
-D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64  -DLOG_RTSPSERVER_ACCESS 
-Wall -DBSD=1 -Wno-deprecated flag BasicTaskScheduler.cpp
BasicTaskScheduler.cpp: In member function ‘virtual void 
BasicTaskScheduler::SingleStep(unsigned int)’:
BasicTaskScheduler.cpp:191:40: error: ‘struct std::atomic_flag’ has no 
member named ‘test’
   191 |       if (fTriggersAwaitingHandling[i].test()) {
       |                                        ^~~~
make[1]: *** [Makefile:41: BasicTaskScheduler.o] Error 1
make[1]: Leaving directory '/home/jeh/live/BasicUsageEnvironment'
make: *** [Makefile:38: all] Error 2
#:~/live$

Do you have any suggestions?

Best regards,

Jim Ham

-- 
Porcine Associates LLC
244 O'Connor St.
Menlo Park, CA 94025
USA
+1(650)326-2669
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20250429/dbcadd1b/attachment.htm>


More information about the live-devel mailing list