AnsweredAssumed Answered

imx6 android compilation error

Question asked by Bharadwaaj Ramakrishnan on Apr 26, 2015

Hi

         I was trying to compile android for imx6sabreauto following the Android_User's_Guide.pdf document and i ran into the following error please help me out

atthaching the compilation log as well

 

target SharedLib: libwebviewchromium (out/target/product/sabreauto_6sx/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so)

external/chromium_org/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc:326: error: undefined reference to 'content::ResourceRequestInfo::ForRequest(net::URLRequest const*)'

external/chromium_org/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc:412: error: undefined reference to 'content::ResourceRequestInfo::ForRequest(net::URLRequest const*)'

external/chromium_org/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc:196: error: undefined reference to 'content::ResourceDispatcherHost::Get()'

external/chromium_org/android_webview/browser/aw_login_delegate.cc:46: error: undefined reference to 'content::ResourceRequestInfo::GetRenderViewForRequest(net::URLRequest const*, int*, int*)'

external/chromium_org/android_webview/browser/aw_login_delegate.cc:120: error: undefined reference to 'content::ResourceDispatcherHost::Get()'

external/chromium_org/android_webview/browser/aw_login_delegate.cc:109: error: undefined reference to 'content::ResourceDispatcherHost::Get()'

external/chromium_org/android_webview/browser/aw_request_interceptor.cc:44: error: undefined reference to 'content::ResourceRequestInfo::GetRenderViewForRequest(net::URLRequest const*, int*, int*)'

external/chromium_org/android_webview/native/aw_contents_io_thread_client_impl.cc:220: error: undefined reference to 'content::ResourceRequestInfo::ForRequest(net::URLRequest const*)'

external/chromium_org/content/browser/browser_context.cc:121: error: undefined reference to 'content::ResourceDispatcherHostImpl::Get()'

external/chromium_org/content/browser/download/download_manager_impl.cc:123: error: undefined reference to 'content::ResourceDispatcherHost::Get()'

external/chromium_org/content/browser/download/download_resource_handler.cc:435: error: undefined reference to 'content::ResourceHandler::GetRequestInfo() const'

external/chromium_org/content/browser/download/download_resource_handler.cc:439: error: undefined reference to 'content::ResourceDispatcherHostImpl::Get()'

external/chromium_org/content/browser/download/download_resource_handler.cc:439: error: undefined reference to 'content::ResourceDispatcherHostImpl::CancelRequest(int, int, bool)'

external/chromium_org/content/browser/frame_host/interstitial_page_impl.cc:63: error: undefined reference to 'content::ResourceDispatcherHostImpl::CancelBlockedRequestsForRoute(int, int)'

external/chromium_org/content/browser/frame_host/interstitial_page_impl.cc:789: error: undefined reference to 'content::ResourceDispatcherHostImpl::Get()'

external/chromium_org/content/browser/frame_host/interstitial_page_impl.cc:797: error: undefined reference to 'content::ResourceDispatcherHostImpl::Get()'

external/chromium_org/content/browser/renderer_host/render_widget_helper.cc:245: error: undefined reference to 'content::ResourceDispatcherHostImpl::ResumeDeferredNavigation(content::GlobalRequestID const&)'

external/chromium_org/content/browser/resource_context_impl.cc:56: error: undefined reference to 'content::ResourceDispatcherHostImpl::CancelRequestsForContext(content::ResourceContext*)'

external/chromium_org/content/browser/resource_context_impl.cc:57: error: undefined reference to 'content::ResourceDispatcherHostImpl::RemoveResourceContext(content::ResourceContext*)'

external/chromium_org/content/browser/resource_context_impl.cc:50: error: undefined reference to 'content::ResourceDispatcherHostImpl::AddResourceContext(content::ResourceContext*)'

external/chromium_org/content/browser/storage_partition_impl.cc:426: error: undefined reference to 'content::WebRTCIdentityStore::WebRTCIdentityStore(base::FilePath const&, quota::SpecialStoragePolicy*)'

external/chromium_org/content/browser/storage_partition_impl.cc:731: error: undefined reference to 'content::WebRTCIdentityStore::DeleteBetween(base::Time, base::Time, base::Callback<void ()> const&)'

external/chromium_org/content/browser/webui/url_data_manager_backend.cc:538: error: undefined reference to 'content::ResourceRequestInfo::GetRenderViewForRequest(net::URLRequest const*, int*, int*)'

external/chromium_org/content/browser/worker_host/worker_message_filter.cc:55: error: undefined reference to 'content::MessagePortMessageFilter::GetNextRoutingID()'

external/chromium_org/content/browser/browser_main_loop.cc:776: error: undefined reference to 'content::ResourceDispatcherHostImpl::Shutdown()'

external/chromium_org/content/browser/browser_main_loop.cc:983: error: undefined reference to 'content::ResourceDispatcherHostImpl::ResourceDispatcherHostImpl()'

external/chromium_org/content/browser/browser_main_loop.cc:467: error: undefined reference to 'content::MediaInternals::GetInstance()'

external/chromium_org/content/browser/browser_main_loop.cc:492: error: undefined reference to 'content::BrowserOnlineStateObserver::BrowserOnlineStateObserver()'

external/chromium_org/content/browser/browser_plugin/browser_plugin_guest.cc:298: error: undefined reference to 'content::ResourceDispatcherHostImpl::GetURLRequest(content::GlobalRequestID const&)'

external/chromium_org/content/browser/download/save_file_manager.cc:394: error: undefined reference to 'content::ResourceDispatcherHostImpl::CancelRequest(int, int, bool)'

external/chromium_org/content/browser/download/save_file_manager.cc:374: error: undefined reference to 'content::ResourceDispatcherHostImpl::BeginSaveFile(GURL const&, content::Referrer const&, int, int, content::ResourceContext*)'

external/chromium_org/content/browser/indexed_db/indexed_db_context_impl.cc:114: error: undefined reference to 'content::IndexedDBQuotaClient::IndexedDBQuotaClient(content::IndexedDBContextImpl*)'

external/chromium_org/content/browser/indexed_db/indexed_db_context_impl.cc:473: error: undefined reference to 'content::IndexedDBFactory::ContextDestroyed()'

external/chromium_org/content/browser/indexed_db/indexed_db_context_impl.cc:124: error: undefined reference to 'content::IndexedDBFactory::IndexedDBFactory(content::IndexedDBContextImpl*)'

external/chromium_org/content/browser/indexed_db/indexed_db_context_impl.cc:352: error: undefined reference to 'content::IndexedDBFactory::ForceClose(GURL const&)'

external/chromium_org/content/browser/indexed_db/indexed_db_context_impl.cc:313: error: undefined reference to 'content::LevelDBDatabase::Destroy(base::FilePath const&)'

external/chromium_org/content/browser/indexed_db/indexed_db_transaction.h:50: error: undefined reference to 'content::IndexedDBTransaction::ScheduleTask(content::IndexedDBDatabase::TaskType, base::Callback<void (content::IndexedDBTransaction*)>)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:1228: error: undefined reference to 'content::IndexedDBTransaction::Abort(content::IndexedDBDatabaseError const&)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:454: error: undefined reference to 'content::IndexedDBTransaction::Abort(content::IndexedDBDatabaseError const&)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:399: error: undefined reference to 'content::IndexedDBTransaction::Abort(content::IndexedDBDatabaseError const&)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:322: error: undefined reference to 'content::IndexedDBTransaction::Abort(content::IndexedDBDatabaseError const&)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:213: error: undefined reference to 'content::IndexedDBTransactionCoordinator::~IndexedDBTransactionCoordinator()'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:213: error: undefined reference to 'content::IndexedDBDatabaseMetadata::~IndexedDBDatabaseMetadata()'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:474: error: undefined reference to 'content::IndexedDBTransaction::Commit()'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:954: error: undefined reference to 'content::IndexedDBTransaction::ScheduleTask(content::IndexedDBDatabase::TaskType, base::Callback<void (content::IndexedDBTransaction*)>)'

external/chromium_org/base/stl_util.h:44: error: undefined reference to 'content::IndexWriter::~IndexWriter()'

/home/sudoer/myandroid/external/stlport/stlport/stl/_pair.h:51: error: undefined reference to 'content::IndexedDBObjectStoreMetadata::~IndexedDBObjectStoreMetadata()'

/home/sudoer/myandroid/external/stlport/stlport/stl/_map.h:179: error: undefined reference to 'content::IndexedDBObjectStoreMetadata::IndexedDBObjectStoreMetadata()'

/home/sudoer/myandroid/external/stlport/stlport/stl/_pair.h:51: error: undefined reference to 'content::IndexedDBObjectStoreMetadata::~IndexedDBObjectStoreMetadata()'

/home/sudoer/myandroid/external/stlport/stlport/stl/_map.h:179: error: undefined reference to 'content::IndexedDBObjectStoreMetadata::~IndexedDBObjectStoreMetadata()'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:347: error: undefined reference to 'content::IndexedDBTransaction::ScheduleTask(base::Callback<void (content::IndexedDBTransaction*)>, base::Callback<void (content::IndexedDBTransaction*)>)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:190: error: undefined reference to 'content::IndexedDBObjectStoreMetadata::~IndexedDBObjectStoreMetadata()'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:295: error: undefined reference to 'content::IndexedDBObjectStoreMetadata::IndexedDBObjectStoreMetadata(std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> > const&, long long, content::IndexedDBKeyPath const&, bool, long long)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:303: error: undefined reference to 'content::IndexedDBTransaction::ScheduleTask(base::Callback<void (content::IndexedDBTransaction*)>, base::Callback<void (content::IndexedDBTransaction*)>)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:918: error: undefined reference to 'content::MakeIndexWriters(scoped_refptr<content::IndexedDBTransaction>, content::IndexedDBBackingStore*, long long, content::IndexedDBObjectStoreMetadata const&, content::IndexedDBKey const&, bool, std::vector<long long, std::allocator<long long> > const&, std::vector<std::vector<content::IndexedDBKey, std::allocator<content::IndexedDBKey> >, std::allocator<std::vector<content::IndexedDBKey, std::allocator<content::IndexedDBKey> > > > const&, ScopedVector<content::IndexWriter>*, std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> >*, bool*)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:937: error: undefined reference to 'content::IndexWriter::WriteIndexKeys(content::IndexedDBBackingStore::RecordIdentifier const&, content::IndexedDBBackingStore*, content::IndexedDBBackingStore::Transaction*, long long, long long) const'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:808: error: undefined reference to 'content::MakeIndexWriters(scoped_refptr<content::IndexedDBTransaction>, content::IndexedDBBackingStore*, long long, content::IndexedDBObjectStoreMetadata const&, content::IndexedDBKey const&, bool, std::vector<long long, std::allocator<long long> > const&, std::vector<std::vector<content::IndexedDBKey, std::allocator<content::IndexedDBKey> >, std::allocator<std::vector<content::IndexedDBKey, std::allocator<content::IndexedDBKey> > > > const&, ScopedVector<content::IndexWriter>*, std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> >*, bool*)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:843: error: undefined reference to 'content::IndexWriter::WriteIndexKeys(content::IndexedDBBackingStore::RecordIdentifier const&, content::IndexedDBBackingStore*, content::IndexedDBBackingStore::Transaction*, long long, long long) const'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:435: error: undefined reference to 'content::IndexedDBTransaction::ScheduleTask(base::Callback<void (content::IndexedDBTransaction*)>, base::Callback<void (content::IndexedDBTransaction*)>)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:377: error: undefined reference to 'content::IndexedDBTransaction::ScheduleTask(base::Callback<void (content::IndexedDBTransaction*)>, base::Callback<void (content::IndexedDBTransaction*)>)'

external/chromium_org/content/browser/indexed_db/indexed_db_database.cc:1409: error: undefined reference to 'content::IndexedDBTransaction::IndexedDBTransaction(long long, scoped_refptr<content::IndexedDBDatabaseCallbacks>, std::set<long long, std::less<long long>, std::allocator<long long> > const&, content::indexed_db::TransactionMode, content::IndexedDBDatabase*, content::IndexedDBBackingStore::Transaction*)'

external/chromium_org/content/browser/indexed_db/indexed_db_dispatcher_host.cc:274: error: undefined reference to 'content::IndexedDBFactory::DeleteDatabase(std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> > const&, scoped_refptr<content::IndexedDBCallbacks>, GURL const&, base::FilePath const&)'

external/chromium_org/content/browser/indexed_db/indexed_db_dispatcher_host.cc:229: error: undefined reference to 'content::IndexedDBFactory::GetDatabaseNames(scoped_refptr<content::IndexedDBCallbacks>, GURL const&, base::FilePath const&)'

external/chromium_org/content/browser/indexed_db/indexed_db_dispatcher_host.cc:260: error: undefined reference to 'content::IndexedDBFactory::Open(std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> > const&, long long, long long, scoped_refptr<content::IndexedDBCallbacks>, scoped_refptr<content::IndexedDBDatabaseCallbacks>, GURL const&, base::FilePath const&)'

external/chromium_org/content/browser/renderer_host/media/audio_input_renderer_host.cc:61: error: undefined reference to 'content::MediaInternals::GetInstance()'

external/chromium_org/content/browser/renderer_host/render_message_filter.cc:1033: error: undefined reference to 'content::MediaInternals::OnMediaEvents(int, std::vector<media::MediaLogEvent, std::allocator<media::MediaLogEvent> > const&)'

external/chromium_org/content/browser/webui/content_web_ui_controller_factory.cc:47: error: undefined reference to 'content::WebRTCInternalsUI::WebRTCInternalsUI(content::WebUI*)'

external/chromium_org/content/browser/webui/content_web_ui_controller_factory.cc:51: error: undefined reference to 'content::IndexedDBInternalsUI::IndexedDBInternalsUI(content::WebUI*)'

external/chromium_org/content/browser/webui/content_web_ui_controller_factory.cc:53: error: undefined reference to 'content::MediaInternalsUI::MediaInternalsUI(content::WebUI*)'

external/chromium_org/content/browser/worker_host/worker_process_host.cc:423: error: undefined reference to 'content::MessagePortService::GetInstance()'

external/chromium_org/content/browser/worker_host/worker_process_host.cc:423: error: undefined reference to 'content::MessagePortService::UpdateMessagePort(int, content::MessagePortMessageFilter*, int)'

external/chromium_org/content/browser/worker_host/worker_process_host.cc:431: error: undefined reference to 'content::MessagePortService::GetInstance()'

external/chromium_org/content/browser/worker_host/worker_process_host.cc:431: error: undefined reference to 'content::MessagePortService::SendQueuedMessagesIfPossible(int)'

external/chromium_org/content/browser/worker_host/worker_process_host.cc:226: error: undefined reference to 'content::ResourceMessageFilter::ResourceMessageFilter(int, int, content::ChromeAppCacheService*, content::ChromeBlobStorageContext*, fileapi::FileSystemContext*, base::Callback<void (ResourceHostMsg_Request const&, content::ResourceContext**, net::URLRequestContext**)> const&)'

external/chromium_org/content/browser/worker_host/worker_process_host.cc:232: error: undefined reference to 'content::MessagePortMessageFilter::MessagePortMessageFilter(base::Callback<int ()> const&)'

external/chromium_org/content/browser/worker_host/worker_process_host.cc:249: error: undefined reference to 'content::MimeRegistryMessageFilter::MimeRegistryMessageFilter()'

external/chromium_org/content/browser/indexed_db/indexed_db_backing_store.cc:194: error: undefined reference to 'content::Compare(base::BasicStringPiece<std::string> const&, base::BasicStringPiece<std::string> const&, bool)'

external/chromium_org/content/browser/indexed_db/indexed_db_backing_store.cc:2611: error: undefined reference to 'content::LevelDBTransaction::Rollback()'

external/chromium_org/content/browser/indexed_db/indexed_db_backing_store.cc:2595: error: undefined reference to 'content::LevelDBTransaction::LevelDBTransaction(content::LevelDBDatabase*)'

external/chromium_org/content/browser/indexed_db/indexed_db_backing_store.cc:2601: error: undefined reference to 'content::LevelDBTransaction::Commit()'

external/chromium_org/content/browser/indexed_db/indexed_db_cursor.cc:26: error: undefined reference to 'content::IndexedDBTransaction::RegisterOpenCursor(content::IndexedDBCursor*)'

external/chromium_org/content/browser/indexed_db/indexed_db_cursor.cc:30: error: undefined reference to 'content::IndexedDBTransaction::UnregisterOpenCursor(content::IndexedDBCursor*)'

external/chromium_org/content/browser/indexed_db/indexed_db_cursor.cc:54: error: undefined reference to 'content::IndexedDBTransaction::ScheduleTask(content::IndexedDBDatabase::TaskType, base::Callback<void (content::IndexedDBTransaction*)>)'

external/chromium_org/content/browser/indexed_db/indexed_db_cursor.cc:98: error: undefined reference to 'content::IndexedDBTransaction::ScheduleTask(content::IndexedDBDatabase::TaskType, base::Callback<void (content::IndexedDBTransaction*)>)'

external/chromium_org/components/navigation_interception/intercept_navigation_resource_throttle.cc:99: error: undefined reference to 'content::ResourceRequestInfo::ForRequest(net::URLRequest const*)'

out/target/product/sabreauto_6sx/obj/STATIC_LIBRARIES/content_content_browser_gyp_intermediates/content_content_browser_gyp.a(browser_jni_registrar.o):browser_jni_registrar.cc:function (anonymous namespace)::kContentRegisteredMethods: error: undefined reference to 'content::MediaDrmCredentialManager::RegisterMediaDrmCredentialManager(_JNIEnv*)'

out/target/product/sabreauto_6sx/obj/STATIC_LIBRARIES/content_content_browser_gyp_intermediates/content_content_browser_gyp.a(browser_jni_registrar.o):browser_jni_registrar.cc:function (anonymous namespace)::kContentRegisteredMethods: error: undefined reference to 'content::MediaResourceGetterImpl::RegisterMediaResourceGetter(_JNIEnv*)'

external/chromium_org/content/browser/android/download_controller_android_impl.cc:166: error: undefined reference to 'content::ResourceDispatcherHostImpl::GetURLRequest(content::GlobalRequestID const&)'

external/chromium_org/content/browser/android/download_controller_android_impl.cc:143: error: undefined reference to 'content::ResourceDispatcherHostImpl::GetURLRequest(content::GlobalRequestID const&)'

external/chromium_org/content/browser/android/download_controller_android_impl.cc:111: error: undefined reference to 'content::ResourceDispatcherHostImpl::GetURLRequest(content::GlobalRequestID const&)'

external/chromium_org/content/browser/renderer_host/render_process_host_impl.cc:566: error: undefined reference to 'content::ResourceSchedulerFilter::ResourceSchedulerFilter(int)'

external/chromium_org/content/browser/renderer_host/render_process_host_impl.cc:567: error: undefined reference to 'content::MediaInternals::GetInstance()'

external/chromium_org/content/browser/renderer_host/render_process_host_impl.cc:613: error: undefined reference to 'content::ResourceMessageFilter::ResourceMessageFilter(int, int, content::ChromeAppCacheService*, content::ChromeBlobStorageContext*, fileapi::FileSystemContext*, base::Callback<void (ResourceHostMsg_Request const&, content::ResourceContext**, net::URLRequestContext**)> const&)'

external/chromium_org/content/browser/renderer_host/render_process_host_impl.cc:694: error: undefined reference to 'content::MimeRegistryMessageFilter::MimeRegistryMessageFilter()'

external/chromium_org/content/browser/renderer_host/render_process_host_impl.cc:702: error: undefined reference to 'content::BrowserDemuxerAndroid::BrowserDemuxerAndroid()'

external/chromium_org/content/browser/renderer_host/render_process_host_impl.cc:725: error: undefined reference to 'content::MessagePortMessageFilter::MessagePortMessageFilter(base::Callback<int ()> const&)'

external/chromium_org/content/browser/renderer_host/render_view_host_impl.cc:882: error: undefined reference to 'content::BrowserMediaPlayerManager::DisableFullscreenEncryptedMediaPlayback()'

external/chromium_org/content/browser/renderer_host/render_view_host_impl.cc:264: error: undefined reference to 'content::ResourceDispatcherHostImpl::OnRenderViewHostDeleted(int, int)'

external/chromium_org/content/browser/renderer_host/render_view_host_impl.cc:241: error: undefined reference to 'content::BrowserMediaPlayerManager::Create(content::RenderViewHost*)'

external/chromium_org/content/browser/renderer_host/render_view_host_impl.cc:243: error: undefined reference to 'content::ResourceDispatcherHostImpl::OnRenderViewHostCreated(int, int)'

external/chromium_org/content/browser/web_contents/web_contents_impl.cc:3335: error: undefined reference to 'content::MessagePortMessageFilter::GetNextRoutingID()'

external/chromium_org/content/browser/web_contents/web_contents_impl.cc:3339: error: undefined reference to 'content::MessagePortService::GetInstance()'

external/chromium_org/content/browser/web_contents/web_contents_impl.cc:3339: error: undefined reference to 'content::MessagePortService::UpdateMessagePort(int, content::MessagePortMessageFilter*, int)'

external/chromium_org/content/browser/web_contents/web_contents_impl.cc:3489: error: undefined reference to 'content::ResourceDispatcherHostImpl::OnUserGesture(content::WebContentsImpl*)'

collect2: error: ld returned 1 exit status

make: *** [out/target/product/sabreauto_6sx/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1

Outcomes