gohalo opened a new issue, #20931:
URL: https://github.com/apache/doris/issues/20931

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   dev-master
   
   ### What's Wrong?
   
   link doris_be failed with the following error.
   
   ```
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:56: error: undefined 
reference to 'doris::GeoPoint::GeoPoint()'                                      
                                                                                
                                      
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:59: error: undefined 
reference to 'doris::GeoPoint::from_coord(double, double)'                      
                                                                                
                                      
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:67: error: undefined 
reference to 'doris::GeoShape::encode_to(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >*)'                               
                                            
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:73: error: undefined 
reference to 'doris::GeoPoint::~GeoPoint()'                                     
                                                                                
                                      
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:73: error: undefined 
reference to 'doris::GeoPoint::~GeoPoint()'                                     
                                                                                
                                      
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:130: error: undefined 
reference to 'doris::GeoPoint::GeoPoint()'                                      
                                                                                
                                     
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:133: error: undefined 
reference to 'doris::GeoShape::decode_from(void const*, unsigned long)'         
                                                                                
                                     
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:139: error: undefined 
reference to 'doris::GeoPoint::x() const'
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:145: error: undefined 
reference to 'doris::GeoPoint::~GeoPoint()'
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:145: error: undefined 
reference to 'doris::GeoPoint::~GeoPoint()'
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:162: error: undefined 
reference to 'doris::GeoPoint::GeoPoint()'
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:165: error: undefined 
reference to 'doris::GeoShape::decode_from(void const*, unsigned long)'         
                                                                                
                                    
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:171: error: undefined 
reference to 'doris::GeoPoint::y() const'
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:199: error: undefined 
reference to 'doris::GeoPoint::ComputeDistance(double, double, double, double, 
double*)'                                                                       
                                     
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:233: error: undefined 
reference to 'doris::GeoPoint::ComputeAngleSphere(double, double, double, 
double, double*)'                                                               
                                          
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:262: error: undefined 
reference to 'doris::GeoPoint::GeoPoint()'
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:268: error: undefined 
reference to 'doris::GeoShape::decode_from(void const*, unsigned long)'         
                                                                                
                                    
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:275: error: undefined 
reference to 'doris::GeoShape::decode_from(void const*, unsigned long)'         
                                                                                
                                    
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:288: error: undefined 
reference to 'doris::GeoPoint::ComputeAngle(doris::GeoPoint*, doris::GeoPoint*, 
doris::GeoPoint*, double*)'                                                     
                                    
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:331: error: undefined 
reference to 'doris::GeoPoint::ComputeAzimuth(doris::GeoPoint*, 
doris::GeoPoint*, double*)'                                                     
                                                    
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:358: error: undefined 
reference to 'doris::GeoShape::from_encoded(void const*, unsigned long)'        
                                                                                
                                    
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:365: error: undefined 
reference to 'doris::GeoShape::ComputeArea(doris::GeoShape*, double*, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>)'                                             
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:393: error: undefined 
reference to 'doris::GeoShape::from_encoded(void const*, unsigned long)'        
                                                                                
                                    
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:400: error: undefined 
reference to 'doris::GeoShape::ComputeArea(doris::GeoShape*, double*, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>)'                                             
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:430: error: undefined 
reference to 'doris::GeoCircle::GeoCircle()'
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:437: error: undefined 
reference to 'doris::GeoCircle::init(double, double, double)'
   /opt/doris/2x/be/src/vec/functions/functions_geo.cpp:443: error: undefined 
reference to 'doris::GeoShape::encode_to(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >*)'                               
                                          
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:448: error: undefined 
reference to 
'doris::GeoCircle::~GeoCircle()'/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:448:
 error: undefined reference to 
'doris::GeoCircle::~GeoCircle()'/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:480:
 error: undefined reference to 'doris::GeoShape::from_encoded(void const*, 
unsigned long)'                                                                 
                                                           
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:649: error: undefined 
reference to 'doris::GeoShape::from_encoded(void const*, unsigned long)'        
                                                          
                                                           
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:655: error: undefined 
reference to 'doris::GeoShape::as_binary[abi:cxx11](doris::GeoShape*)'          
                                                                                
                                    
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:610: error: undefined 
reference to 'doris::GeoShape::from_wkb(char const*, unsigned long, 
doris::GeoParseStatus*)'                                                        
                                                
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:616: error: undefined 
reference to 'doris::GeoShape::encode_to(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >*)'                               
                                          
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:610: error: undefined 
reference to 'doris::GeoShape::from_wkb(char const*
 , unsigned long, doris::GeoParseStatus*)'                                      
                                                                  
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:616: error: undefined 
reference to 'doris::GeoShape::encode_to(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >*)'                               
                                          
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:559: error: undefined 
reference to 'doris::GeoShape::from_wkt(char const*, unsigned long, 
doris::GeoParseStatus*)'                                                        
                                                
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:559: error: undefined 
reference to 'doris::GeoShape::from_wkt(char const*, unsigned long, 
doris::GeoParseStatus*)'                                                        
                                                
/opt/doris/2x/be/src/vec/functions/func
 tions_geo.cpp:559: error: undefined reference to 
'doris::GeoShape::from_wkt(char const*, unsigned long, doris::GeoParseStatus*)' 
                                                                                
                       
/opt/doris/2x/be/src/vec/functions/functions_geo.cpp:559: error: undefined 
reference to 'doris::GeoShape::from_wkt(char const*, unsigned long, 
doris::GeoParseStatus*)'                                                        
                                                collect2: error: ld returned 1 
exit statusmake[2]: *** [src/service/CMakeFiles/doris_be.dir/build.make:244: 
src/service/doris_be] Error 1make[1]: *** [CMakeFiles/Makefile2:2248: 
src/service/CMakeFiles/doris_be.dir/all] Error 2make: *** [Makefile:156: all] 
Error 2
   ```
   
   ### What You Expected?
   
   build success.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to