undefined symbol: lens::OpenLensRegionSearchInstructions

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

undefined symbol: lens::OpenLensRegionSearchInstructions

Postby linuxcef07 » Wed Nov 06, 2024 9:40 am

I am adding debug build support for CEF libs and cefsimple in my product by following MasterBuildQuickStart guide.
Currently, I am using CEF 128.0.6613.120 version.

During CEF compilation for debug build type, I am getting below link error:

Code: Select all
ld.lld: error: undefined symbol: lens::OpenLensRegionSearchInstructions(Browser*, base::OnceCallback<void ()>, base::OnceCallback<void ()>)
>>> referenced by lens_region_search_controller.cc:76 (../../chrome/browser/lens/region_search/lens_region_search_controller.cc:76)
>>>               region_search/lens_region_search_controller.o:(lens::LensRegionSearchController::Start(content::WebContents*, bool, bool, bool, lens::AmbientSearchEntryPoint)) in archive obj/chrome/browser/lens/region_search/libregion_search.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.


I found existing issue for this error. It also has pull request opened against this issue but its not merged to master yet.

@Marshall, do we have any plan to merge this PR into master? Or is there any other workaround for this issue?

Thanks
linuxcef07
Mentor
 
Posts: 91
Joined: Wed Dec 20, 2023 11:57 am

Re: undefined symbol: lens::OpenLensRegionSearchInstructions

Postby magreenblatt » Wed Nov 06, 2024 9:50 am

Current master is M131. Does this issue still reproduce with M131?
magreenblatt
Site Admin
 
Posts: 12807
Joined: Fri May 29, 2009 6:57 pm

Re: undefined symbol: lens::OpenLensRegionSearchInstructions

Postby linuxcef07 » Wed Nov 06, 2024 10:43 am

Currently, I am using CEF version 128.0.6613.120.
Should I try compiling current stable build version130.0.6723.92 or beta build version 131.0.6778.13 (as per info from spotify).
Thanks.
linuxcef07
Mentor
 
Posts: 91
Joined: Wed Dec 20, 2023 11:57 am

Re: undefined symbol: lens::OpenLensRegionSearchInstructions

Postby magreenblatt » Wed Nov 06, 2024 12:06 pm

If you want to stick with version 128 then you can try cherry-picking the fix to your local checkout.

If you want to test version 131 then you should build 131.
magreenblatt
Site Admin
 
Posts: 12807
Joined: Fri May 29, 2009 6:57 pm

Re: undefined symbol: lens::OpenLensRegionSearchInstructions

Postby linuxcef07 » Sat Nov 09, 2024 7:09 am

Thanks @Marshall, build succeeded with 131.0.6778.13 version.
linuxcef07
Mentor
 
Posts: 91
Joined: Wed Dec 20, 2023 11:57 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 27 guests