HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Linker error while linking with STLPort
Operating System - HP-UX
        1839885
        Members
    
    
        4706
        Online
    
    
        110156
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2009 10:03 PM
02-23-2009 10:03 PM
			
				
					
						
							Linker error while linking with STLPort
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
I have compiled STLPort 4.5.3 on HP-UX, PA-RISC (with small code changes)
When I am linking my own program with STL using .sl the binaries are getting built, however Using the .sl file when I use these binary. It gives me errors mentioned in: DOTSL_issues.txt
When I try to link my own program with STL using the .a, the linker throws the errors mentioned in DOTA_Issues.txt
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
I have compiled STLPort 4.5.3 on HP-UX, PA-RISC (with small code changes)
When I am linking my own program with STL using .sl the binaries are getting built, however Using the .sl file when I use these binary. It gives me errors mentioned in: DOTSL_issues.txt
When I try to link my own program with STL using the .a, the linker throws the errors mentioned in DOTA_Issues.txt
		1 REPLY 1
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 11:18 PM
02-24-2009 11:18 PM
			
				
					
						
							Re: Linker error while linking with STLPort
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						You have only attached DOTA_Issues.txt.  Was the number of errors with DOTSL_issues.txt, more or less?
You need to take one unsat and try to analyze it.
1) What is the source name:
namespace _STL {
template, _STL::_Eq_char_bound<_STL::char_traits>>
?? _M_read_unbuffered( ...)
2) Where is the reference:
first referenced in .../libstlport_aCC.a(istream.o))
3) Where should _M_read_unbuffered be defined?
Either is should be defined in every source that references _M_read_unbuffered. Or it should be defined in the file that explicitly instantiates _M_read_unbuffered on char and wchar_t. (Or has explicit specialization.)
Once you find what object should have that definition, you need to figure out why it isn't there.
What version of aC++ are you using? What compiler options did you use to make STLPort?  
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
You need to take one unsat and try to analyze it.
1) What is the source name:
namespace _STL {
template
?? _M_read_unbuffered( ...)
2) Where is the reference:
first referenced in .../libstlport_aCC.a(istream.o))
3) Where should _M_read_unbuffered be defined?
Either is should be defined in every source that references _M_read_unbuffered. Or it should be defined in the file that explicitly instantiates _M_read_unbuffered on char and wchar_t. (Or has explicit specialization.)
Once you find what object should have that definition, you need to figure out why it isn't there.
What version of aC++ are you using? What compiler options did you use to make STLPort?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
