8000 the cross-compilation of Prudynt-T requires GCC 10 or 11 and above to support -std=c++20, using the 5.4 version toolchain to compile Prudynt-T results in the following error. · Issue #72 · gtxaspec/prudynt-t · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
the cross-compilation of Prudynt-T requires GCC 10 or 11 and above to support -std=c++20, using the 5.4 version toolchain to compile Prudynt-T results in the following error. #72
Open
@taojhlwkl

Description

@taojhlwkl

Hi, Because the highest version of the Ingenic-T31 cross-compilation toolchain GCC is 5.4, but the cross-compilation of Prudynt-T requires GCC 10 or 11 and above to support -std=c++20, using the 5.4 version toolchain to compile Prudynt-T results in the following error.

May I ask which cross-compilation toolchain you used to compile this project that can run on the Ingenic T31ZX development board? Could you send me a copy of the toolchain or provide a download link? My email is taojhlwkl@gmail.com. Thank you.

The compilation process reports the following error:

tao@tao-Precision-3561:/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master$ ./build.sh full T31 -static


live555-latest.tar. 100%[===================>] 680.23K 92.2KB/s in 7.7s

2025-02-10 12:55:43 (88.5 KB/s) - ‘live555-latest.tar.gz’ saved [696558/696558]

STATIC LIVE555 cd liveMedia ; make make[1]: Entering directory '/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/live/liveMedia' ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 Media.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 MediaSource.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 FramedSource.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 FramedFileSource.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 FramedFilter.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 ByteStreamFileSource.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 ByteStreamMultiFileSource.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 ByteStreamMemoryBufferSource.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 BasicUDPSource.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 DeviceSource.cpp ccache mips-linux-gnu-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -L/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/lib/ -I/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/install/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DNEWLOCALE_NOT_USED -DNO_OPENSSL=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -std=c++20 -Wall -DBSD=1 AudioInputDevice.cpp mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' make[1]: *** [Makefile:34: FramedSource.o] Error 1 make[1]: *** Waiting for unfinished jobs.... mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' make[1]: *** [Makefile:34: MediaSource.o] Error 1 mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' make[1]: *** [Makefile:34: Media.o] Error 1 make[1]: *** [Makefile:34: FramedFileSource.o] Error 1 mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' make[1]: *** [Makefile:34: FramedFilter.o] Error 1 mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' make[1]: *** [Makefile:34: ByteStreamFileSource.o] Error 1 mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' make[1]: *** [Makefile:34: ByteStreamMultiFileSource.o] Error 1 mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' make[1]: *** [Makefile:34: AudioInputDevice.o] Error 1 make[1]: *** [Makefile:34: BasicUDPSource.o] Error 1 make[1]: *** [Makefile:34: DeviceSource.o] Error 1 mips-linux-gnu-g++: error: unrecognized command line option '-std=c++20' make[1]: *** [Makefile:34: ByteStreamMemoryBufferSource.o] Error 1 make[1]: Leaving directory '/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master/3rdparty/live/liveMedia' make: *** [Makefile:37: all] Error 2

tao@tao-Precision-3561:/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master$ mips-linux-gnu-g++ --version mips-linux-gnu-g++ (Ingenic r3.3.0-gcc540 2018.04-11) 5.4.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

tao@tao-Precision-3561:/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master$ mips-linux-gnu-gcc --version mips-linux-gnu-gcc (Ingenic r3.3.0-gcc540 2018.04-11) 5.4.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

tao@tao-Precision-3561:/mnt/hdisk/code_partion/junzheng_t31/taobao_xianyu_junzhengT31/materials/prudynt-t-master$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0