[ptlib] build fails with `mediafile.cxx:781:7: error: ‘AVCodecContext’ does...
Brought to you by:
csoutheren,
rjongbloed
Ahoj,
I try to build ptlib version 2.18.8 on Artix GNU/Linux (rolling release) as follows:
./configure --prefix=/usr --enable-cpp17
make -j1
make fails with mediafile.cxx:781:7: error: ‘AVCodecContext’ does not name a type; did you mean ‘AVIODirContext’?:
[...]
[CXX] src/ptclib/mediafile.cxx
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:781:7: error: ‘AVCodecContext’ does not name a type; did you mean ‘AVIODirContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In constructor ‘PMediaFile_FFMPEG::TrackContext::TrackContext()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:803:11: error: class ‘PMediaFile_FFMPEG::TrackContext’ does not have any field named ‘m_codecContext’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::CreateCodecContext()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:826:9: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:826:26: error: ‘avcodec_alloc_context3’ was not declared in this scope; did you mean ‘avio_alloc_context’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:832:29: error: ‘avcodec_parameters_to_context’ was not declared in this scope; did you mean ‘avcodec_parameters_copy’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:832:13: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::OpenCodec()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:852:58: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:852:26: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:852:42: error: ‘avcodec_open2’ was not declared in this scope; did you mean ‘avio_open2’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:852:26: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::Open(PMediaFile_FFMPEG*, unsigned int)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:877:17: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::Create(PMediaFile_FFMPEG*, unsigned int)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:967:33: error: ‘AVCodecParameters’ {aka ‘struct AVCodecParameters’} has no member named ‘channels’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:968:33: error: ‘AVCodecParameters’ {aka ‘struct AVCodecParameters’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:968:50: error: ‘av_get_default_channel_layout’ was not declared in this scope
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:990:11: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:990:36: error: ‘AV_CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:992:17: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘void PMediaFile_FFMPEG::TrackContext::Close()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1055:31: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1055:9: error: ‘avcodec_free_context’ was not declared in this scope; did you mean ‘avformat_free_context’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::ReadAndDecodeFrame()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1105:48: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1105:26: error: ‘avcodec_receive_frame’ was not declared in this scope; did you mean ‘avcodec_profile_name’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1115:33: error: ‘avcodec_send_packet’ was not declared in this scope; did you mean ‘avcodec_get_name’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1115:17: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1122:33: error: ‘avcodec_send_packet’ was not declared in this scope; did you mean ‘avcodec_get_name’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1122:17: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::CreateResampler(AVSampleFormat, int, int, AVSampleFormat, int, int)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1135:45: error: ‘av_get_default_channel_layout’ was not declared in this scope
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1134:26: error: ‘swr_alloc_set_opts’ was not declared in this scope; did you mean ‘swr_alloc_set_opts2’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::ReadAudio(void*, PINDEX, PINDEX&)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1181:11: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::EncodeAndWriteFrame()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1212:50: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1212:13: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1212:29: error: ‘avcodec_send_frame’ was not declared in this scope; did you mean ‘avcodec_get_name’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1212:13: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1219:47: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1219:24: error: ‘avcodec_receive_packet’ was not declared in this scope
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::FlushAudio()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1243:46: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::WriteAudio(const void*, PINDEX, PINDEX&)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1269:11: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1285:20: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1286:20: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1293:69: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1303:23: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::ConfigureReadVideo(const PVideoFrameInfo&)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1358:9: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::ReadVideo(void*, PTimeInterval*)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1386:13: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1401:70: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1403:74: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1405:74: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::WriteVideo(const void*, const PTimeInterval&)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1465:20: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘pkt_duration’; did you mean ‘duration’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1465:115: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
make[2]: *** [/var/cache/yay/ptlib/ptlib-2.18.8/make/post.mak:139: /var/cache/yay/ptlib/ptlib-2.18.8/lib_linux_x86_64/obj/mediafile.o] Error 1
make[1]: *** [/var/cache/yay/ptlib/ptlib-2.18.8/make/post.mak:115: optshared] Error 2
make[1]: Leaving directory '/var/cache/yay/ptlib/ptlib-2.18.8'
make: *** [/var/cache/yay/ptlib/ptlib-2.18.8/make/autoconf.mak:179: build_top_level] Error 2
Full terminal output of the ./configure command:
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for svn... /usr/bin/svn
checking for git... /usr/bin/git
checking for a BSD-compatible install... /usr/bin/install -c
checking install support for -C... yes
checking for ar... ar
checking for strip... strip
checking for objcopy... objcopy
checking for dsymutil... dsymutil
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking size of int... 4
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for intptr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uintptr_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking for long double... yes
configure: Platform: linux release 6.12.7-vanilla-customconfig-clang on x86_64
checking debug build (-gdwarf-4)... yes
checking optimised build (-O2)... yes
checking Don't omit frame pointers for stack walking (-fno-omit-frame-pointer)... yes
checking Disable unknown-pragmas warning (-Wno-unknown-pragmas)... yes
checking Disable unused-private-field warning (-Wno-unused-private-field)... no
checking Disable overloaded-virtual warning (-Wno-overloaded-virtual)... yes
checking Disable deprecated-declarations warning (-Wno-deprecated-declarations)... yes
checking Disable potentially evaluated expression warning (-Wno-potentially-evaluated-expression)... no
checking warnings (-Wall)... yes
checking Dynamic linker (-rdynamic)... yes
configure: PTLIB version is 2.18.8 (2.18.8-0)
checking for bison... /usr/bin/bison
configure: Default extension for C++ files is cpp
configure: gcc version is 14.2.1
checking checking if pragma implementation should be used... no
checking checking if bogus warning on strict aliasing... no
checking compiler -felide-constructors... yes
checking compiler -Wreorder... yes
checking compiler -fno-diagnostics-show-caret... yes
checking compiler -fno-caret-diagnostics... no
checking if compiler uses RTTI by default... yes
checking enable C++ exceptions... yes
checking C++ memory allocator... std
checking if has malloc_info... yes
checking if has read TSC function... no
checking whether byte ordering is bigendian... no
checking for swab... yes
checking enable PINDEX set to size_t... yes
checking for limits.h... yes
checking for alloca.h... yes
checking for signal.h... yes
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for termios.h... yes
checking for sys/termios.h... yes
checking for ioctl.h... no
checking for sys/ioctl.h... yes
checking for sys/sockio.h... no
checking for sys/sysctl.h... no
checking for sys/socket.h... yes
checking for arpa/inet.h... yes
checking for netdb.h... yes
checking for ifaddrs.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for net/if_types.h... no
checking for net/if_dl.h... no
checking for netinet/if_ether.h... yes
checking for linux/errqueue.h... yes
checking for net/if.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for iconv in standard library... yes
checking for poll... yes
checking if readdir_r has 2 parms... no
checking if readdir_r has 3 parms... yes
checking for recvmsg... yes
checking for rt_msghdr... no
checking for recvmsg flag MSG_ERRQUEUE... yes
checking for sockopt option IP_RECVERR... yes
checking for getpwuid_r with 4 arguments... no
checking for getpwuid_r with 5 arguments... yes
checking for getgrgid_r with 4 arguments... no
checking for getgrgid_r with 5 arguments... yes
checking for getpwnam_r with 4 arguments... no
checking for getpwnam_r with 5 arguments... yes
checking for getgrnam_r with 4 arguments... no
checking for getgrnam_r with 5 arguments... yes
checking if setpgrp takes no parameters... yes
checking if has std::atomic... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for clock_gettime in -lrt... yes
checking if has Unix semaphores... yes
checking if named semaphores are available... no
checking if has sem_timedwait... yes
checking if has pthread_mutex_timedlock... yes
checking if has NP recursive mutexes... yes
checking for gethostbyaddr_r... yes
checking for NetLink support... yes
checking for IPv6 support... yes
checking for inet_ntop... yes
checking for IPV6_ADD_MEMBERSHIP... yes
checking for aio.h... yes
checking for wchar.h... yes
checking if has iostream::set_rdbuf... yes
checking for stack back trace support... yes
checking for C++ demangle support... yes
configure: PTRACE and all trace logging included
checking for library containing regcomp... none required
checking for res_ninit... no
checking for res_ninit in -lresolv... yes
checking for PCAP support... yes
checking for libavutil >= 55... yes
checking for LIBAVUTIL usability... yes
checking for libswresample... yes
checking for LIBSWRESAMPLE usability... yes
checking for libswscale >= 4... yes
checking for LIBSWSCALE usability... yes
checking for libavcodec >= 57... yes
checking for LIBAVCODEC usability... yes
checking for libavformat >= 57... yes
checking for LIBAVFORMAT usability... yes
checking ImageMagick v6 support... yes
checking for MagickWand... yes
checking for ImageMagick v6 support usability... no
checking ImageMagick v7 support... yes
checking for MagickWand... yes
checking for ImageMagick v7 support usability... yes
configure: Adding CPPFLAGS: -I/usr/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_CHANNEL_MASK_DEPTH=32
configure: Adding LIBS: -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI
checking libJPEG support... yes
checking for libjpeg... yes
checking for libJPEG support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -ljpeg
checking SUN mlib support... checking for sasl_version in -lsasl2... yes
checking for sasl/sasl.h... yes
checking Open LDAP support... yes
checking for ldap... yes
checking for Open LDAP support usability... no
checking OpenSSL support... yes
checking for openssl... yes
checking for OpenSSL support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -lssl -lcrypto
checking for OPENSSL const arg to d2i_AutoPrivateKey... yes
checking for OPENSSL SRTP support... yes
checking for OPENSSL AES header... yes
checking for OPENSSL d2i_DHparams_bio new variant... yes
checking expat XML support... yes
checking for expat... yes
checking for expat XML support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -lexpat
checking Lua script support... yes
checking for lua... yes
checking for Lua script support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -llua -lm
checking V8 Javascript script support... yes
checking for v8... no
checking for V8 Javascript script support usability... no
checking Text-To-Speech server support... yes
checking for Festival support... no
checking config file support... yes
checking URL support... yes
checking HTTP support... yes
checking HTTP forms support... yes
checking HTTP server support... yes
checking SSDP support... yes
checking Cypher support... yes
checking VarType support... yes
checking GUID support... yes
checking Scripts support... yes
checking Spool directory support... yes
checking System log support... yes
checking Channel utilities support... yes
checking Timers support... yes
checking Network support... yes
checking VCard support... yes
checking Jabber support... yes
checking VXML support... yes
checking VXML (video) support... yes
checking XMLRPC support... yes
checking SOAP support... yes
checking ASN decoding/encoding support... yes
checking NAT traversal support... yes
checking STUN support... yes
checking TURN support... yes
checking STUN server support... yes
checking sub-process (PPipeChannel) support... yes
checking DTMF protocol support... yes
checking SOCKS protocol support... yes
checking FTP protocol support... yes
checking SNMP protocol support... yes
checking TELNET protocol support... yes
checking command line interpreter support... yes
checking remote connection support... yes
checking serial port support... yes
checking POP3/SMTP support... yes
checking audio support... yes
checking WAVFILE support... yes
checking video device support... yes
checking video file support... yes
checking Media file support... yes
checking application sharing support... disabled by default
checking shared memory video devices... disabled by default
checking shared memory video devices... disabled by user
checking disable Curses (text mode windows) support... yes
checking for ncurses... yes
checking for disable Curses (text mode windows) support usability... yes
configure: Adding CPPFLAGS: -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
configure: Adding LIBS: -lncursesw
checking disable libSDL2 (video display) support... yes
checking for sdl2... yes
checking for disable libSDL2 (video display) support usability... yes
configure: Adding CPPFLAGS: -I/usr/include/SDL2 -D_REENTRANT
configure: Adding LIBS: -lSDL2
checking GStreamer 0.10 support... yes
checking for gstreamer-app-0.10... yes
checking for GStreamer 0.10 support usability... yes
configure: Adding CPPFLAGS: -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2
configure: Adding LIBS: -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lxml2
checking ODBC database support... yes
checking for odbc... yes
checking for ODBC database support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -lodbc
checking ODBC defines Windows types... yes
checking enable video for windows capture... disabled by default
configure: No Video Capture support
checking for dlopen in -ldl... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -ldl
checking Plugin Manager support... yes
checking Plugin support... yes
checking where plugins are being installed... /usr/lib/ptlib-2.18.8
checking for alsa/asoundlib.h... yes
checking for esound... no
checking for sys/soundcard.h... yes
configure: Pulse audio disabled by default
checking for sys/mixer.h... no
checking for shmifOpen... no
checking PortAudio library... disabled by default
checking for linux/videodev.h... no
checking for linux/videodev2.h... yes
checking for machine/ioctl_meteor.h... no
checking for i386/ioctl_meteor.h... no
checking for dev/ic/bt8xx.h... no
checking for libavc1394/avc1394.h... yes
checking for libdv/dv.h... yes
checking for libraw1394/raw1394.h... yes
checking for libdc1394/dc1394_control.h... no
./configure: line 23062: test: : integer expression expected
checking enable samples build... disabled by default
configure: creating ./config.status
config.status: creating ptlib.pc
config.status: creating ptlib_cfg.dxy
config.status: creating make/ptlib_config.mak
config.status: creating include/ptlib_config.h
config.status: executing Platform-Makefile commands
=========================== Configuration ==============================
OS Type : linux
Machine Type : x86_64
prefix : /usr
exec_prefix : ${prefix}
includedir : ${prefix}/include
libdir : ${exec_prefix}/lib
datarootdir : ${prefix}/share
makedir : ${datarootdir}/ptlib/make
Memory checking : None
DNS Resolver : yes
IPv6 : yes
Packet Capture (PCAP) : yes
Expat (XML parser) : yes
OpenSSL : yes
SASL v1 : no
SASL v2 : yes
OpenLDAP : no
ODBC : yes
Lua : yes
Javascript (V8) : no
Festival TTS : no
Curses : yes
GStreamer : yes
Audio : yes
ALSA : yes
ESD : no
OSS : yes
Pulse : no
Sun : no
shm : no
Video : yes
SDL2 : yes
Video4linux : no
Video4linux2 : yes
BSD : no
IEEE-1394/AVC : yes
IEEE-1394/DC : no
FFMPEG : yes
ImageMagick : yes (after v7)
JPEG File : yes
Advanced C++ : -std=c++17
CPPFLAGS : -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/SDL2 -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_CHANNEL_MASK_DEPTH=32 -Wall -Wno-unknown-pragmas -DP_64BIT -fno-diagnostics-show-caret -D_REENTRANT -DPTRACING=2
CFLAGS : -fno-omit-frame-pointer -pthread -D__STDC_CONSTANT_MACROS
CXXFLAGS : -fexceptions -Wreorder -felide-constructors -Wno-overloaded-virtual -fno-omit-frame-pointer -Wno-deprecated-declarations -pthread
LDFLAGS : -rdynamic
LIBS : -ldl -lodbc -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lSDL2 -lncursesw -llua -lm -lexpat -lssl -lcrypto -lsasl2 -ljpeg -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI -lavformat -lavcodec -lswscale -lswresample -lavutil -lpcap -lresolv -lrt
========================================================================
Full terminal output of the make command:
cd /var/cache/yay/ptlib/ptlib-2.18.8/ && aclocal
autoconf
if test ! -d "/var/cache/yay/ptlib/ptlib-2.18.8" ; then mkdir /var/cache/yay/ptlib/ptlib-2.18.8; fi; cd /var/cache/yay/ptlib/ptlib-2.18.8; /var/cache/yay/ptlib/ptlib-2.18.8/configure --prefix=/usr --enable-cpp17
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for svn... /usr/bin/svn
checking for git... /usr/bin/git
checking for a BSD-compatible install... /usr/bin/install -c
checking install support for -C... yes
checking for ar... ar
checking for strip... strip
checking for objcopy... objcopy
checking for dsymutil... dsymutil
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking size of int... 4
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for intptr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uintptr_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking for long double... yes
configure: Platform: linux release 6.12.7-vanilla-customconfig-clang on x86_64
checking debug build (-gdwarf-4)... yes
checking optimised build (-O2)... yes
checking Don't omit frame pointers for stack walking (-fno-omit-frame-pointer)... yes
checking Disable unknown-pragmas warning (-Wno-unknown-pragmas)... yes
checking Disable unused-private-field warning (-Wno-unused-private-field)... no
checking Disable overloaded-virtual warning (-Wno-overloaded-virtual)... yes
checking Disable deprecated-declarations warning (-Wno-deprecated-declarations)... yes
checking Disable potentially evaluated expression warning (-Wno-potentially-evaluated-expression)... no
checking warnings (-Wall)... yes
checking Dynamic linker (-rdynamic)... yes
configure: PTLIB version is 2.18.8 (2.18.8-0)
checking for bison... /usr/bin/bison
configure: Default extension for C++ files is cpp
configure: gcc version is 14.2.1
checking checking if pragma implementation should be used... no
checking checking if bogus warning on strict aliasing... no
checking compiler -felide-constructors... yes
checking compiler -Wreorder... yes
checking compiler -fno-diagnostics-show-caret... yes
checking compiler -fno-caret-diagnostics... no
checking if compiler uses RTTI by default... yes
checking enable C++ exceptions... yes
checking C++ memory allocator... std
checking if has malloc_info... yes
checking if has read TSC function... no
checking whether byte ordering is bigendian... no
checking for swab... yes
checking enable PINDEX set to size_t... yes
checking for limits.h... yes
checking for alloca.h... yes
checking for signal.h... yes
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for termios.h... yes
checking for sys/termios.h... yes
checking for ioctl.h... no
checking for sys/ioctl.h... yes
checking for sys/sockio.h... no
checking for sys/sysctl.h... no
checking for sys/socket.h... yes
checking for arpa/inet.h... yes
checking for netdb.h... yes
checking for ifaddrs.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for net/if_types.h... no
checking for net/if_dl.h... no
checking for netinet/if_ether.h... yes
checking for linux/errqueue.h... yes
checking for net/if.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for iconv in standard library... yes
checking for poll... yes
checking if readdir_r has 2 parms... no
checking if readdir_r has 3 parms... yes
checking for recvmsg... yes
checking for rt_msghdr... no
checking for recvmsg flag MSG_ERRQUEUE... yes
checking for sockopt option IP_RECVERR... yes
checking for getpwuid_r with 4 arguments... no
checking for getpwuid_r with 5 arguments... yes
checking for getgrgid_r with 4 arguments... no
checking for getgrgid_r with 5 arguments... yes
checking for getpwnam_r with 4 arguments... no
checking for getpwnam_r with 5 arguments... yes
checking for getgrnam_r with 4 arguments... no
checking for getgrnam_r with 5 arguments... yes
checking if setpgrp takes no parameters... yes
checking if has std::atomic... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for egrep -e... /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for clock_gettime in -lrt... yes
checking if has Unix semaphores... yes
checking if named semaphores are available... no
checking if has sem_timedwait... yes
checking if has pthread_mutex_timedlock... yes
checking if has NP recursive mutexes... yes
checking for gethostbyaddr_r... yes
checking for NetLink support... yes
checking for IPv6 support... yes
checking for inet_ntop... yes
checking for IPV6_ADD_MEMBERSHIP... yes
checking for aio.h... yes
checking for wchar.h... yes
checking if has iostream::set_rdbuf... yes
checking for stack back trace support... yes
checking for C++ demangle support... yes
configure: PTRACE and all trace logging included
checking for library containing regcomp... none required
checking for res_ninit... no
checking for res_ninit in -lresolv... yes
checking for PCAP support... yes
checking for libavutil >= 55... yes
checking for LIBAVUTIL usability... yes
checking for libswresample... yes
checking for LIBSWRESAMPLE usability... yes
checking for libswscale >= 4... yes
checking for LIBSWSCALE usability... yes
checking for libavcodec >= 57... yes
checking for LIBAVCODEC usability... yes
checking for libavformat >= 57... yes
checking for LIBAVFORMAT usability... yes
checking ImageMagick v6 support... yes
checking for MagickWand... yes
checking for ImageMagick v6 support usability... no
checking ImageMagick v7 support... yes
checking for MagickWand... yes
checking for ImageMagick v7 support usability... yes
configure: Adding CPPFLAGS: -I/usr/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_CHANNEL_MASK_DEPTH=32
configure: Adding LIBS: -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI
checking libJPEG support... yes
checking for libjpeg... yes
checking for libJPEG support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -ljpeg
checking SUN mlib support... checking for sasl_version in -lsasl2... yes
checking for sasl/sasl.h... yes
checking Open LDAP support... yes
checking for ldap... yes
checking for Open LDAP support usability... no
checking OpenSSL support... yes
checking for openssl... yes
checking for OpenSSL support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -lssl -lcrypto
checking for OPENSSL const arg to d2i_AutoPrivateKey... yes
checking for OPENSSL SRTP support... yes
checking for OPENSSL AES header... yes
checking for OPENSSL d2i_DHparams_bio new variant... yes
checking expat XML support... yes
checking for expat... yes
checking for expat XML support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -lexpat
checking Lua script support... yes
checking for lua... yes
checking for Lua script support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -llua -lm
checking V8 Javascript script support... yes
checking for v8... no
checking for V8 Javascript script support usability... no
checking Text-To-Speech server support... yes
checking for Festival support... no
checking config file support... yes
checking URL support... yes
checking HTTP support... yes
checking HTTP forms support... yes
checking HTTP server support... yes
checking SSDP support... yes
checking Cypher support... yes
checking VarType support... yes
checking GUID support... yes
checking Scripts support... yes
checking Spool directory support... yes
checking System log support... yes
checking Channel utilities support... yes
checking Timers support... yes
checking Network support... yes
checking VCard support... yes
checking Jabber support... yes
checking VXML support... yes
checking VXML (video) support... yes
checking XMLRPC support... yes
checking SOAP support... yes
checking ASN decoding/encoding support... yes
checking NAT traversal support... yes
checking STUN support... yes
checking TURN support... yes
checking STUN server support... yes
checking sub-process (PPipeChannel) support... yes
checking DTMF protocol support... yes
checking SOCKS protocol support... yes
checking FTP protocol support... yes
checking SNMP protocol support... yes
checking TELNET protocol support... yes
checking command line interpreter support... yes
checking remote connection support... yes
checking serial port support... yes
checking POP3/SMTP support... yes
checking audio support... yes
checking WAVFILE support... yes
checking video device support... yes
checking video file support... yes
checking Media file support... yes
checking application sharing support... disabled by default
checking shared memory video devices... disabled by default
checking shared memory video devices... disabled by user
checking disable Curses (text mode windows) support... yes
checking for ncurses... yes
checking for disable Curses (text mode windows) support usability... yes
configure: Adding CPPFLAGS: -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
configure: Adding LIBS: -lncursesw
checking disable libSDL2 (video display) support... yes
checking for sdl2... yes
checking for disable libSDL2 (video display) support usability... yes
configure: Adding CPPFLAGS: -I/usr/include/SDL2 -D_REENTRANT
configure: Adding LIBS: -lSDL2
checking GStreamer 0.10 support... yes
checking for gstreamer-app-0.10... yes
checking for GStreamer 0.10 support usability... yes
configure: Adding CPPFLAGS: -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2
configure: Adding LIBS: -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lxml2
checking ODBC database support... yes
checking for odbc... yes
checking for ODBC database support usability... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -lodbc
checking ODBC defines Windows types... yes
checking enable video for windows capture... disabled by default
configure: No Video Capture support
checking for dlopen in -ldl... yes
configure: Adding CPPFLAGS:
configure: Adding LIBS: -ldl
checking Plugin Manager support... yes
checking Plugin support... yes
checking where plugins are being installed... /usr/lib/ptlib-2.18.8
checking for alsa/asoundlib.h... yes
checking for esound... no
checking for sys/soundcard.h... yes
configure: Pulse audio disabled by default
checking for sys/mixer.h... no
checking for shmifOpen... no
checking PortAudio library... disabled by default
checking for linux/videodev.h... no
checking for linux/videodev2.h... yes
checking for machine/ioctl_meteor.h... no
checking for i386/ioctl_meteor.h... no
checking for dev/ic/bt8xx.h... no
checking for libavc1394/avc1394.h... yes
checking for libdv/dv.h... yes
checking for libraw1394/raw1394.h... yes
checking for libdc1394/dc1394_control.h... no
/var/cache/yay/ptlib/ptlib-2.18.8/configure: line 23530: test: : integer expression expected
checking enable samples build... disabled by default
configure: creating ./config.status
config.status: creating ptlib.pc
config.status: creating ptlib_cfg.dxy
config.status: creating make/ptlib_config.mak
config.status: creating include/ptlib_config.h
config.status: include/ptlib_config.h is unchanged
config.status: executing Platform-Makefile commands
=========================== Configuration ==============================
OS Type : linux
Machine Type : x86_64
prefix : /usr
exec_prefix : ${prefix}
includedir : ${prefix}/include
libdir : ${exec_prefix}/lib
datarootdir : ${prefix}/share
makedir : ${datarootdir}/ptlib/make
Memory checking : None
DNS Resolver : yes
IPv6 : yes
Packet Capture (PCAP) : yes
Expat (XML parser) : yes
OpenSSL : yes
SASL v1 : no
SASL v2 : yes
OpenLDAP : no
ODBC : yes
Lua : yes
Javascript (V8) : no
Festival TTS : no
Curses : yes
GStreamer : yes
Audio : yes
ALSA : yes
ESD : no
OSS : yes
Pulse : no
Sun : no
shm : no
Video : yes
SDL2 : yes
Video4linux : no
Video4linux2 : yes
BSD : no
IEEE-1394/AVC : yes
IEEE-1394/DC : no
FFMPEG : yes
ImageMagick : yes (after v7)
JPEG File : yes
Advanced C++ : -std=c++17
CPPFLAGS : -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/SDL2 -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_CHANNEL_MASK_DEPTH=32 -Wall -Wno-unknown-pragmas -DP_64BIT -fno-diagnostics-show-caret -D_REENTRANT -DPTRACING=2
CFLAGS : -fno-omit-frame-pointer -pthread -D__STDC_CONSTANT_MACROS
CXXFLAGS : -fexceptions -Wreorder -felide-constructors -Wno-overloaded-virtual -fno-omit-frame-pointer -Wno-deprecated-declarations -pthread
LDFLAGS : -rdynamic
LIBS : -ldl -lodbc -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lSDL2 -lncursesw -llua -lm -lexpat -lssl -lcrypto -lsasl2 -ljpeg -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI -lavformat -lavcodec -lswscale -lswresample -lavutil -lpcap -lresolv -lrt
========================================================================
make[1]: Entering directory '/var/cache/yay/ptlib/ptlib-2.18.8'
[DEP] src/ptclib/psasl.cxx
[DEP] src/ptclib/pssl.cxx
[DEP] src/ptclib/vsdl.cxx
[DEP] src/ptclib/gstreamer.cxx
[DEP] src/ptclib/podbc.cxx
[DEP] src/ptlib/common/vfakeio.cxx
[DEP] src/ptlib/common/videoio.cxx
[DEP] src/ptlib/common/vconvert.cxx
[DEP] src/ptlib/common/pvidchan.cxx
[DEP] src/ptlib/common/tinyjpeg.cxx
[DEP] src/ptlib/common/jidctflt.cxx
[DEP] src/ptlib/common/sound.cxx
[DEP] src/ptclib/pxml.cxx
[DEP] src/ptclib/pxmlrpc.cxx
[DEP] src/ptclib/pxmlrpcs.cxx
[DEP] src/ptclib/psoap.cxx
[DEP] src/ptclib/vxml.cxx
[DEP] src/ptclib/xmpp.cxx
[DEP] src/ptclib/xmpp_c2s.cxx
[DEP] src/ptclib/xmpp_muc.cxx
[DEP] src/ptclib/xmpp_roster.cxx
[DEP] src/ptclib/lua.cxx
[DEP] src/ptclib/pdns.cxx
[DEP] src/ptclib/enum.cxx
[DEP] src/ptlib/unix/ptts.cxx
[DEP] src/ptclib/asner.cxx
[DEP] src/ptclib/pasn.cxx
[DEP] src/ptclib/snmpclnt.cxx
[DEP] src/ptclib/snmpserv.cxx
[DEP] src/ptclib/psnmp.cxx
[DEP] src/ptclib/snmp.cxx
[DEP] src/ptclib/rfc1155.cxx
[DEP] src/ptclib/ftpclnt.cxx
[DEP] src/ptclib/ftpsrvr.cxx
[DEP] src/ptclib/ftp.cxx
[DEP] src/ptclib/telnet.cxx
[DEP] src/ptclib/cli.cxx
[DEP] src/ptclib/pnat.cxx
[DEP] src/ptclib/pstun.cxx
[DEP] src/ptclib/pstunsrvr.cxx
[DEP] src/ptclib/socks.cxx
[DEP] src/ptlib/unix/pipechan.cxx
[DEP] src/ptlib/unix/remconn.cxx
[DEP] src/ptclib/pwavfile.cxx
[DEP] src/ptclib/pwavfiledev.cxx
[DEP] src/ptclib/dtmf.cxx
[DEP] src/ptclib/tonedev.cxx
[DEP] src/ptclib/vcard.cxx
[DEP] src/ptlib/unix/serchan.cxx
[DEP] src/ptclib/modem.cxx
[DEP] src/ptclib/inetmail.cxx
[DEP] src/ptclib/url.cxx
[DEP] src/ptclib/http.cxx
[DEP] src/ptclib/httpclnt.cxx
[DEP] src/ptclib/html.cxx
[DEP] src/ptclib/httpsrvr.cxx
[DEP] src/ptclib/ssdp.cxx
[DEP] src/ptclib/httpform.cxx
[DEP] src/ptlib/unix/svcproc.cxx
[DEP] src/ptclib/httpsvc.cxx
[DEP] src/ptclib/shttpsvc.cxx
[DEP] src/ptlib/unix/config.cxx
[DEP] src/ptclib/pvidfile.cxx
[DEP] src/ptclib/pvfiledev.cxx
[DEP] src/ptclib/mediafile.cxx
[DEP] src/ptclib/cypher.cxx
[DEP] src/ptclib/vartype.cxx
[DEP] src/ptclib/guid.cxx
[DEP] src/ptclib/script.cxx
[DEP] src/ptclib/spooldir.cxx
[DEP] src/ptlib/common/syslog.cxx
[DEP] src/ptlib/common/pluginmgr.cxx
[DEP] src/ptclib/qchannel.cxx
[DEP] src/ptclib/delaychan.cxx
[DEP] src/ptclib/memfile.cxx
[DEP] src/ptclib/ipacl.cxx
[DEP] src/ptclib/inetprot.cxx
[DEP] src/ptclib/psockbun.cxx
[DEP] src/ptlib/common/sockets.cxx
[DEP] src/ptlib/unix/uicmp.cxx
[DEP] src/ptlib/unix/socket.cxx
[DEP] src/ptlib/unix/udll.cxx
[DEP] src/ptlib/unix/channel.cxx
[DEP] src/ptlib/unix/osutil.cxx
[DEP] src/ptlib/unix/tlib.cxx
[DEP] src/ptclib/json.cxx
[DEP] src/ptclib/threadpool.cxx
[DEP] src/ptclib/random.cxx
[DEP] src/ptlib/common/notifier_ext.cxx
[DEP] src/ptlib/common/safecoll.cxx
[DEP] src/ptlib/common/ptime.cxx
cp /var/cache/yay/ptlib/ptlib-2.18.8/src/ptlib/common/getdate.tab.c /var/cache/yay/ptlib/ptlib-2.18.8/src/ptlib/common/getdate.c
[ CC] src/ptlib/common/getdate.c
Revision file updated:
GIT commit : a3b54324fe676244742810c08c22ba84f3923d77
[DEP] src/ptlib/common/osutils.cxx
[DEP] src/ptlib/unix/assert.cxx
[DEP] src/ptlib/common/collect.cxx
[DEP] src/ptlib/common/contain.cxx
[DEP] src/ptlib/common/object.cxx
[CXX] src/ptclib/psasl.cxx
[CXX] src/ptclib/pssl.cxx
[CXX] src/ptclib/vsdl.cxx
[CXX] src/ptclib/gstreamer.cxx
[CXX] src/ptclib/podbc.cxx
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/podbc.cxx: In constructor ‘PODBC::FieldExtra::FieldExtra()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/podbc.cxx:192:24: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct PODBC::FieldExtra’; use assignment or value-initialization instead [-Wclass-memaccess]
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/podbc.cxx:180:15: note: ‘struct PODBC::FieldExtra’ declared here
[CXX] src/ptlib/common/vfakeio.cxx
[CXX] src/ptlib/common/videoio.cxx
[CXX] src/ptlib/common/vconvert.cxx
[CXX] src/ptlib/common/pvidchan.cxx
[CXX] src/ptlib/common/tinyjpeg.cxx
[CXX] src/ptlib/common/jidctflt.cxx
[CXX] src/ptlib/common/sound.cxx
[CXX] src/ptclib/pxml.cxx
[CXX] src/ptclib/pxmlrpc.cxx
[CXX] src/ptclib/pxmlrpcs.cxx
[CXX] src/ptclib/psoap.cxx
[CXX] src/ptclib/vxml.cxx
[CXX] src/ptclib/xmpp.cxx
[CXX] src/ptclib/xmpp_c2s.cxx
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/xmpp_c2s.cxx: In member function ‘virtual void XMPP::C2S::StreamHandler::OnIQ(XMPP::IQ&)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/xmpp_c2s.cxx:803:33: warning: array subscript 0 is outside array bounds of ‘XMPP::IQ [0]’ [-Warray-bounds=]
cc1plus: note: source object is likely at address zero
In file included from /var/cache/yay/ptlib/ptlib-2.18.8/include/ptlib.h:44,
from /var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/xmpp_c2s.cxx:32:
In copy constructor ‘constexpr PObject::PObject(const PObject&)’,
inlined from ‘PNotifierListTemplate<long int>::PNotifierListTemplate(const PNotifierListTemplate<long int>&)’ at /var/cache/yay/ptlib/ptlib-2.18.8/include/ptlib/notifier_ext.h:253:7,
inlined from ‘virtual PNotifierList XMPP::IQ::GetResponseHandlers()’ at /var/cache/yay/ptlib/ptlib-2.18.8/include/ptclib/xmpp.h:425:60,
inlined from ‘virtual void XMPP::C2S::StreamHandler::OnIQ(XMPP::IQ&)’ at /var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/xmpp_c2s.cxx:803:33:
/var/cache/yay/ptlib/ptlib-2.18.8/include/ptlib/object.h:2204:7: warning: array subscript 53 is outside array bounds of ‘XMPP::IQ [0]’ [-Warray-bounds=]
In member function ‘virtual void XMPP::C2S::StreamHandler::OnIQ(XMPP::IQ&)’:
cc1plus: note: source object is likely at address zero
In file included from /usr/include/c++/14.2.1/list:65,
from /var/cache/yay/ptlib/ptlib-2.18.8/include/ptlib/object.h:58:
In member function ‘std::__cxx11::list<_Tp, _Alloc>::const_iterator std::__cxx11::list<_Tp, _Alloc>::begin() const [with _Tp = PNotifierTemplate<long int>; _Alloc = std::allocator<PNotifierTemplate<long int> >]’,
inlined from ‘std::__cxx11::list<_Tp, _Alloc>::list(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = PNotifierTemplate<long int>; _Alloc = std::allocator<PNotifierTemplate<long int> >]’ at /usr/include/c++/14.2.1/bits/stl_list.h:814:31,
inlined from ‘PNotifierListTemplate<long int>::PNotifierListTemplate(const PNotifierListTemplate<long int>&)’ at /var/cache/yay/ptlib/ptlib-2.18.8/include/ptlib/notifier_ext.h:253:7,
inlined from ‘virtual PNotifierList XMPP::IQ::GetResponseHandlers()’ at /var/cache/yay/ptlib/ptlib-2.18.8/include/ptclib/xmpp.h:425:60,
inlined from ‘virtual void XMPP::C2S::StreamHandler::OnIQ(XMPP::IQ&)’ at /var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/xmpp_c2s.cxx:803:33:
/usr/include/c++/14.2.1/bits/stl_list.h:1033:53: warning: array subscript 36 is outside array bounds of ‘XMPP::IQ [0]’ [-Warray-bounds=]
In member function ‘virtual void XMPP::C2S::StreamHandler::OnIQ(XMPP::IQ&)’:
cc1plus: note: source object is likely at address zero
[CXX] src/ptclib/xmpp_muc.cxx
[CXX] src/ptclib/xmpp_roster.cxx
[CXX] src/ptclib/lua.cxx
[CXX] src/ptclib/pdns.cxx
In function ‘PBoolean ProcessDNSRecords(const BYTE*, const BYTE*, BYTE*, PINDEX, PINDEX, PINDEX, DnsRecord**)’,
inlined from ‘int DnsQuery_A(const char*, WORD, DWORD, void*, DnsRecord**, void*)’ at /var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/pdns.cxx:257:25:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/pdns.cxx:170:18: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/pdns.cxx:167:40: note: returned from ‘void* __builtin_calloc(long unsigned int, long unsigned int)’
[CXX] src/ptclib/enum.cxx
[CXX] src/ptlib/unix/ptts.cxx
[CXX] src/ptclib/asner.cxx
[CXX] src/ptclib/pasn.cxx
[CXX] src/ptclib/snmpclnt.cxx
[CXX] src/ptclib/snmpserv.cxx
[CXX] src/ptclib/psnmp.cxx
[CXX] src/ptclib/snmp.cxx
[CXX] src/ptclib/rfc1155.cxx
[CXX] src/ptclib/ftpclnt.cxx
[CXX] src/ptclib/ftpsrvr.cxx
[CXX] src/ptclib/ftp.cxx
[CXX] src/ptclib/telnet.cxx
[CXX] src/ptclib/cli.cxx
[CXX] src/ptclib/pnat.cxx
[CXX] src/ptclib/pstun.cxx
[CXX] src/ptclib/pstunsrvr.cxx
[CXX] src/ptclib/socks.cxx
[CXX] src/ptlib/unix/pipechan.cxx
[CXX] src/ptlib/unix/remconn.cxx
[CXX] src/ptclib/pwavfile.cxx
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/pwavfile.cxx: In member function ‘void PWAVFile::Construct(PFile::OpenMode)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/pwavfile.cxx:135:9: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct PWAV::FMTChunk’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
In file included from /var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/pwavfile.cxx:36:
/var/cache/yay/ptlib/ptlib-2.18.8/include/ptclib/pwavfile.h:62:10: note: ‘struct PWAV::FMTChunk’ declared here
[CXX] src/ptclib/pwavfiledev.cxx
[CXX] src/ptclib/dtmf.cxx
[CXX] src/ptclib/tonedev.cxx
[CXX] src/ptclib/vcard.cxx
[CXX] src/ptlib/unix/serchan.cxx
[CXX] src/ptclib/modem.cxx
[CXX] src/ptclib/inetmail.cxx
[CXX] src/ptclib/url.cxx
[CXX] src/ptclib/http.cxx
[CXX] src/ptclib/httpclnt.cxx
[CXX] src/ptclib/html.cxx
[CXX] src/ptclib/httpsrvr.cxx
[CXX] src/ptclib/ssdp.cxx
[CXX] src/ptclib/httpform.cxx
[CXX] src/ptlib/unix/svcproc.cxx
[CXX] src/ptclib/httpsvc.cxx
[CXX] src/ptclib/shttpsvc.cxx
[CXX] src/ptlib/unix/config.cxx
[CXX] src/ptclib/pvidfile.cxx
[CXX] src/ptclib/pvfiledev.cxx
[CXX] src/ptclib/mediafile.cxx
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:781:7: error: ‘AVCodecContext’ does not name a type; did you mean ‘AVIODirContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In constructor ‘PMediaFile_FFMPEG::TrackContext::TrackContext()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:803:11: error: class ‘PMediaFile_FFMPEG::TrackContext’ does not have any field named ‘m_codecContext’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::CreateCodecContext()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:826:9: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:826:26: error: ‘avcodec_alloc_context3’ was not declared in this scope; did you mean ‘avio_alloc_context’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:832:29: error: ‘avcodec_parameters_to_context’ was not declared in this scope; did you mean ‘avcodec_parameters_copy’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:832:13: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::OpenCodec()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:852:58: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:852:26: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:852:42: error: ‘avcodec_open2’ was not declared in this scope; did you mean ‘avio_open2’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:852:26: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::Open(PMediaFile_FFMPEG*, unsigned int)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:877:17: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::Create(PMediaFile_FFMPEG*, unsigned int)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:967:33: error: ‘AVCodecParameters’ {aka ‘struct AVCodecParameters’} has no member named ‘channels’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:968:33: error: ‘AVCodecParameters’ {aka ‘struct AVCodecParameters’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:968:50: error: ‘av_get_default_channel_layout’ was not declared in this scope
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:990:11: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:990:36: error: ‘AV_CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:992:17: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘void PMediaFile_FFMPEG::TrackContext::Close()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1055:31: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1055:9: error: ‘avcodec_free_context’ was not declared in this scope; did you mean ‘avformat_free_context’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::ReadAndDecodeFrame()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1105:48: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1105:26: error: ‘avcodec_receive_frame’ was not declared in this scope; did you mean ‘avcodec_profile_name’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1115:33: error: ‘avcodec_send_packet’ was not declared in this scope; did you mean ‘avcodec_get_name’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1115:17: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1122:33: error: ‘avcodec_send_packet’ was not declared in this scope; did you mean ‘avcodec_get_name’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1122:17: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::CreateResampler(AVSampleFormat, int, int, AVSampleFormat, int, int)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1135:45: error: ‘av_get_default_channel_layout’ was not declared in this scope
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1134:26: error: ‘swr_alloc_set_opts’ was not declared in this scope; did you mean ‘swr_alloc_set_opts2’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::ReadAudio(void*, PINDEX, PINDEX&)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1181:11: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::EncodeAndWriteFrame()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1212:50: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1212:13: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1212:29: error: ‘avcodec_send_frame’ was not declared in this scope; did you mean ‘avcodec_get_name’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:737:57: note: in definition of macro ‘CHECK_ERROR_RESULT_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1212:13: note: in expansion of macro ‘CHECK_ERROR_TRK’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1219:47: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1219:24: error: ‘avcodec_receive_packet’ was not declared in this scope
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::FlushAudio()’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1243:46: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::WriteAudio(const void*, PINDEX, PINDEX&)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1269:11: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1285:20: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1286:20: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1293:69: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1303:23: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::ConfigureReadVideo(const PVideoFrameInfo&)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1358:9: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::ReadVideo(void*, PTimeInterval*)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1386:13: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1401:70: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1403:74: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1405:74: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx: In member function ‘bool PMediaFile_FFMPEG::TrackContext::WriteVideo(const void*, const PTimeInterval&)’:
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1465:20: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘pkt_duration’; did you mean ‘duration’?
/var/cache/yay/ptlib/ptlib-2.18.8/src/ptclib/mediafile.cxx:1465:115: error: ‘m_codecContext’ was not declared in this scope; did you mean ‘m_swrContext’?
make[2]: *** [/var/cache/yay/ptlib/ptlib-2.18.8/make/post.mak:139: /var/cache/yay/ptlib/ptlib-2.18.8/lib_linux_x86_64/obj/mediafile.o] Error 1
make[1]: *** [/var/cache/yay/ptlib/ptlib-2.18.8/make/post.mak:115: optshared] Error 2
make[1]: Leaving directory '/var/cache/yay/ptlib/ptlib-2.18.8'
make: *** [/var/cache/yay/ptlib/ptlib-2.18.8/make/autoconf.mak:179: build_top_level] Error 2
Regards!