[Live-devel] Ubuntu 20.10 Build Issues
Hello, I'm a "builder & tinker" rather than C++ dev so sadly I haven't been able to troubleshoot much (nor do I know what else you need) but The latest build available as of right now produces the following for me on Ubuntu 20.10 when building: *scott@scott-System-Product-Name:~/code/live$ makecd liveMedia ; makemake[1]: Entering directory '/home/scott/code/live/liveMedia'make[1]: Nothing to be done for 'all'.make[1]: Leaving directory '/home/scott/code/live/liveMedia'cd groupsock ; makemake[1]: Entering directory '/home/scott/code/live/groupsock'c++ -c -Iinclude -I../UsageEnvironment/include -I/usr/local/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -DBSD=1 NetAddress.cppNetAddress.cpp: In function ‘void copyAddress(sockaddr_storage&, const NetAddress*)’:NetAddress.cpp:99:8: error: ‘struct sockaddr_storage’ has no member named ‘ss_len’ 99 | to.ss_len = sizeof (struct sockaddr_in); | ^~NetAddress.cpp:103:8: error: ‘struct sockaddr_storage’ has no member named ‘ss_len’ 103 | to.ss_len = sizeof (struct sockaddr_in6); | ^~make[1]: *** [Makefile:31: NetAddress.o] Error 1make[1]: Leaving directory '/home/scott/code/live/groupsock'make: *** [Makefile:36: all] Error 2* -- scott robinson ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
Re: [Live-devel] Ubuntu 20.10 Build Issues
Scott, Many thanks for reporting this. It turns out (to my annoyance) that Linux distributions don’t include the field “ss_len” in their definition of “struct sockaddr_storage” (just like they don’t include “sin_len” in their definition of “struct sockaddr_in”). I will shortly be releasing a new version of the code that fixes this. In the meantime, you can just delete those two offending statements (in “groupsock/NetAddress.cpp”, lines 99 and 103). Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel