Building QT 5.7.0 in a Banana Pi M2+ (ARMv7 + Mali400) -



  • Good evening guys, totally QT noob, here. Mods, feel free to move the thread elsewhere more suitable.

    I've been struggling for weeks trying to compile QT 5.7.0 in a Banana Pi M2+ (Arm H3 CPU and Mali 400 GPU). Building QT seems to run fine, i got it to install OK, no problem, until i try to build QtWebEngine.
    In a limited environment like mine (quadcore 1.2ghz, 1GB Ram), i had to create a huge swap file (2GB). I always have to wait it to compile for almost 48 hours, over 12000 objects, it fails failed a lot of times, lack of dependencies, lack of RAM, random reboots. OK, when i finally chose optimal settings, waited for it to build everything, i get the following error when it's linking libQt5WebEngineCore.so.5.7.0.
    I really don't want to go through it all over again, all other libs are built already, i just need WebEngine libs. Couldn't find any similar reference to this error in google:

    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_app_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/app/content_app_browser.content_main_runner.o):content_main_runner.cc:function content::ContentMainRunnerImpl::Initialize(content::ContentMainParams const&): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&, base::trace_event::TraceRecordMode)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_app_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/app/content_app_browser.content_main_runner.o):content_main_runner.cc:function content::ContentMainRunnerImpl::Initialize(content::ContentMainParams const&): error: undefined reference to 'base::trace_event::TraceConfig::~TraceConfig()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_app_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/app/content_app_browser.content_main_runner.o):content_main_runner.cc:function content::ContentMainRunnerImpl::Initialize(content::ContentMainParams const&): error: undefined reference to 'base::trace_event::TraceConfig::~TraceConfig()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_app_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/app/content_app_browser.content_main_runner.o):content_main_runner.cc:function content::ContentMainRunnerImpl::Initialize(content::ContentMainParams const&): error: undefined reference to 'base::trace_event::TraceConfig::~TraceConfig()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_app_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/app/content_app_browser.content_main_runner.o):content_main_runner.cc:function content::ContentMainRunnerImpl::Initialize(content::ContentMainParams const&): error: undefined reference to 'base::trace_event::TraceConfig::ToCategoryFilterString() const'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.trace_message_filter.o):trace_message_filter.cc:function content::TraceMessageFilter::SendBeginTracing(base::trace_event::TraceConfig const&): error: undefined reference to 'base::trace_event::TraceConfig::ToString() const'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.trace_message_filter.o):trace_message_filter.cc:function content::TraceMessageFilter::SendStartMonitoring(base::trace_event::TraceConfig const&): error: undefined reference to 'base::trace_event::TraceConfig::ToString() const'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.tracing_controller_impl.o):tracing_controller_impl.cc:function base::internal::BindState<base::internal::RunnableAdapter<void (content::TracingControllerImpl::)(base::trace_event::TraceConfig const&, base::Callback<void ()> const&)>, void (content::TracingControllerImpl, base::trace_event::TraceConfig const&, base::Callback<void ()> const&), base::internal::UnretainedWrappercontent::TracingControllerImpl, base::trace_event::TraceConfig, base::Callback<void ()> >::Destroy(base::internal::BindStateBase*): error: undefined reference to 'base::trace_event::TraceConfig::~TraceConfig()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.tracing_controller_impl.o):tracing_controller_impl.cc:function content::TracingControllerImpl::GetMonitoringStatus(bool*, base::trace_event::TraceConfig*): error: undefined reference to 'base::trace_event::TraceConfig::operator=(base::trace_event::TraceConfig const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.tracing_controller_impl.o):tracing_controller_impl.cc:function content::TracingControllerImpl::OnStartAgentTracingDone(base::trace_event::TraceConfig const&, base::Callback<void ()> const&): error: undefined reference to 'base::trace_event::TraceConfig::AsConvertableToTraceFormat() const'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.tracing_controller_impl.o):tracing_controller_impl.cc:function content::TracingControllerImpl::GetCategories(base::Callback<void (std::set<std::string, std::lessstd::string, std::allocatorstd::string > const&)> const&): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&, std::string const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.tracing_controller_impl.o):tracing_controller_impl.cc:function base::Callback<base::internal::BindState<base::internal::FunctorTraits<void (content::TracingControllerImpl::)(base::trace_event::TraceConfig const&, base::Callback<void ()> const&)>::RunnableType, base::internal::FunctorTraits<void (content::TracingControllerImpl::)(base::trace_event::TraceConfig const&, base::Callback<void ()> const&)>::RunType, base::internal::CallbackParamTraits<base::internal::UnretainedWrappercontent::TracingControllerImpl >::StorageType, base::internal::CallbackParamTraitsbase::trace_event::TraceConfig::StorageType, base::internal::CallbackParamTraits<base::Callback<void ()> >::StorageType>::UnboundRunType> base::Bind<void (content::TracingControllerImpl::)(base::trace_event::TraceConfig const&, base::Callback<void ()> const&), base::internal::UnretainedWrappercontent::TracingControllerImpl, base::trace_event::TraceConfig, base::Callback<void ()> >(void (content::TracingControllerImpl::)(base::trace_event::TraceConfig const&, base::Callback<void ()> const&), base::internal::UnretainedWrappercontent::TracingControllerImpl const&, base::trace_event::TraceConfig const&, base::Callback<void ()> const&): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(base::trace_event::TraceConfig const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.tracing_controller_impl.o):tracing_controller_impl.cc:function base::Callback<base::internal::BindState<base::internal::FunctorTraits<void (content::TracingControllerImpl::)(base::trace_event::TraceConfig const&, int, base::Callback<void ()> const&)>::RunnableType, base::internal::FunctorTraits<void (content::TracingControllerImpl::)(base::trace_event::TraceConfig const&, int, base::Callback<void ()> const&)>::RunType, base::internal::CallbackParamTraits<base::internal::UnretainedWrappercontent::TracingControllerImpl >::StorageType, base::internal::CallbackParamTraitsbase::trace_event::TraceConfig::StorageType, base::internal::CallbackParamTraitsbase::trace_event::TraceLog::Mode::StorageType, base::internal::CallbackParamTraits<base::Callback<void ()> >::StorageType>::UnboundRunType> base::Bind<void (content::TracingControllerImpl::)(base::trace_event::TraceConfig const&, int, base::Callback<void ()> const&), base::internal::UnretainedWrappercontent::TracingControllerImpl, base::trace_event::TraceConfig, base::trace_event::TraceLog::Mode, base::Callback<void ()> >(void (content::TracingControllerImpl::)(base::trace_event::TraceConfig const&, int, base::Callback<void ()> const&), base::internal::UnretainedWrappercontent::TracingControllerImpl const&, base::trace_event::TraceConfig const&, base::trace_event::TraceLog::Mode const&, base::Callback<void ()> const&): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(base::trace_event::TraceConfig const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.tracing_controller_impl.o):tracing_controller_impl.cc:function content::TracingControllerImpl::~TracingControllerImpl(): error: undefined reference to 'base::trace_event::TracingAgent::~TracingAgent()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/content_browser.browser_main_loop.o):browser_main_loop.cc:function content::BrowserMainLoop::PostMainMessageLoopStart(): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&, base::trace_event::TraceRecordMode)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/devtools/protocol/content_browser.tracing_handler.o):tracing_handler.cc:function content::devtools::tracing::TracingHandler::Start(content::DevToolsCommandId, std::string const*, std::string const*, double const*, std::string const*): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&, std::string const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/renderer_host/media/content_browser.video_capture_device_client.o):video_capture_device_client.cc:function content::VideoCaptureDeviceClient::OnIncomingCapturedData(unsigned char const*, int, media::VideoCaptureFormat const&, int, base::TimeTicks const&): error: undefined reference to 'ConvertToI420'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.background_tracing_manager_impl.o):background_tracing_manager_impl.cc:function content::BackgroundTracingManagerImpl::StartTracing(std::string, base::trace_event::TraceRecordMode): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&, base::trace_event::TraceRecordMode)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_browser.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/browser/tracing/content_browser.power_tracing_agent.o):power_tracing_agent.cc:function content::PowerTracingAgent::~PowerTracingAgent(): error: undefined reference to 'base::trace_event::TracingAgent::~TracingAgent()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/libcontent_renderer.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/content/renderer/devtools/content_renderer.devtools_agent.o):devtools_agent.cc:function content::DevToolsAgent::enableTracing(blink::WebString const&): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&, std::string const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/third_party/libjingle/libjingle_webrtc_common.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/third_party/libjingle/source/talk/media/webrtc/libjingle_webrtc_common.webrtcvideoframe.o):webrtcvideoframe.cc:function cricket::WebRtcVideoFrame::Reset(unsigned int, int, int, int, int, unsigned char*, unsigned int, unsigned int, unsigned int, long long, webrtc::VideoRotation, bool): error: undefined reference to 'ConvertToI420'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::UpdateCategoryGroupEnabledFlag(unsigned int): error: undefined reference to 'base::trace_event::TraceConfig::IsCategoryGroupEnabled(char const*) const'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::UpdateCategoryGroupEnabledFlag(unsigned int): error: undefined reference to 'base::trace_event::TraceConfig::IsCategoryGroupEnabled(char const*) const'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::UpdateCategoryGroupEnabledFlag(unsigned int): error: undefined reference to 'base::trace_event::TraceConfig::IsCategoryGroupEnabled(char const*) const'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::UpdateSyntheticDelaysFromTraceConfig(): error: undefined reference to 'base::trace_event::TraceConfig::GetSyntheticDelayValues() const'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::GetCurrentTraceConfig() const: error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(base::trace_event::TraceConfig const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::SetEnabled(base::trace_event::TraceConfig const&, base::trace_event::TraceLog::Mode): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(base::trace_event::TraceConfig const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::SetEnabled(base::trace_event::TraceConfig const&, base::trace_event::TraceLog::Mode): error: undefined reference to 'base::trace_event::TraceConfig::operator=(base::trace_event::TraceConfig const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::SetEnabled(base::trace_event::TraceConfig const&, base::trace_event::TraceLog::Mode): error: undefined reference to 'base::trace_event::TraceConfig::Merge(base::trace_event::TraceConfig const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::SetDisabledWhileLocked() [clone .part.391]: error: undefined reference to 'base::trace_event::TraceConfig::Clear()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::TraceLog(): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/libbase.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/base/trace_event/base.trace_log.o):trace_log.cc:function base::trace_event::TraceLog::TraceLog(): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/libtracing.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/tracing/tracing.child_trace_message_filter.o):child_trace_message_filter.cc:function tracing::ChildTraceMessageFilter::OnStartMonitoring(std::string const&, base::TimeTicks): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/libtracing.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/tracing/tracing.child_trace_message_filter.o):child_trace_message_filter.cc:function tracing::ChildTraceMessageFilter::OnBeginTracing(std::string const&, base::TimeTicks, unsigned long long): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/libtracing.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/tracing/tracing.trace_config_file.o):trace_config_file.cc:function tracing::TraceConfigFile::ParseTraceConfigFileContent(std::string const&): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/libtracing.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/tracing/tracing.trace_config_file.o):trace_config_file.cc:function tracing::TraceConfigFile::ParseTraceConfigFileContent(std::string const&): error: undefined reference to 'base::trace_event::TraceConfig::operator=(base::trace_event::TraceConfig const&)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/libtracing.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/tracing/tracing.trace_config_file.o):trace_config_file.cc:function tracing::TraceConfigFile::TraceConfigFile(): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig()'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/libtracing.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/components/tracing/tracing.trace_to_console.o):trace_to_console.cc:function tracing::GetConfigForTraceToConsole(): error: undefined reference to 'base::trace_event::TraceConfig::TraceConfig(std::string const&, base::trace_event::TraceRecordMode)'
    /media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/third_party/webrtc/common_video/libcommon_video.a(/media/32GB/qt5/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/third_party/webrtc/common_video/libyuv/common_video.webrtc_libyuv.o):webrtc_libyuv.cc:function webrtc::ConvertToI420(webrtc::VideoType, unsigned char const*, int, int, int, int, unsigned int, webrtc::VideoRotation, webrtc::VideoFrame*): error: undefined reference to 'ConvertToI420'
    collect2: error: ld returned 1 exit status
    Makefile.core_module:175: recipe for target '../../lib/libQt5WebEngineCore.so.5.7.0' failed


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.