| Author | 
		  Message
		 | 
		
		  | scravr | 
		  
		    
			  
				 Posted: Wed May 23, 2012 11:50 am    Post subject: comp/link c plugin on zlinux-64bit | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021 
  | 
		  
		    
			  
				Help !!!
 
 
When starting WMB7 we get this error:
 
May 23 13:59:11 SZLDCDT000 WebSphere Broker v7004[8369]: (MQDCDT02BRK.XXNUEXEC)[1]BIP2301E: File '/apps/cdts/lilpath/NumComputeNodeTrace.lil' does not contain suitable entry points. : MQDCDT02BRK.0c36d175-3701-0000-0080-dc4ea832b4dc: /build/S700_P/src/DataFlowEngine/MessageServices/Unix/ImbLibrary.cpp: 143: ImbLibrary::ImbLibrary: :
 
 
 
We are not sure if error because compile & link parm’s or because of some g++ install, config,.. issues
 
 
Here is how we compile:
 
g++ -c -m64 -ansi -Wall -Wno-format-y2k -fpic -I. -I/opt/ibm/mqsi/v7.0.0.4/include/ -I/opt/ibm/mqsi/v7.0.0.4/include/plugin - DLINUX -D_THREADS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT FileRead.c
 
 
 
Here is how we link:
 
g++ -nostartfiles -m64 -o NumComputeNodeTrace.lil FileRead.o -shared -lc -lnsl -ldl -L/opt/ibm/mqsi/v7.0.0.4/lib –limbdfplg
 
 
Our g++ is: gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)
 
 
 
Anyone see what is missed.
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Wed May 23, 2012 12:20 pm    Post subject: Re: comp/link c plugin on zlinux-64bit | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| scravr wrote: | 
   
  
	| Anyone see what is missed. | 
   
 
 
 
Not immediately.
 
 
The search for greater performance has a price. Remember you'll need to go through this dance for each new version & potentially each time you apply maintenance. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | scravr | 
		  
		    
			  
				 Posted: Wed May 23, 2012 4:17 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021 
  | 
		  
		    
			  
				| problem resolved by gcc compiler | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Wed May 23, 2012 7:53 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| scravr wrote: | 
   
  
	| problem resolved by gcc compiler | 
   
 
 
Would you care to show us what you changed in the compile? Thanks   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | scravr | 
		  
		    
			  
				 Posted: Thu May 24, 2012 6:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021 
  | 
		  
		    
			  
				InfoCenter page as10000_  suggest using g++ for LINUX.
 
So I had these:
 
 
g++ -c -m64  -ansi -Wall -Wno-format-y2k -fpic -I. -I/opt/ibm/mqsi/v7.0.0.4/include/ -I/opt/ibm/mqsi/v7.0.0.4/include/plugin -DLINUX -D_THREADS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT FileRead.c
 
 
g++ -m64 -o NumComputeNodeTrace.lil -shared -lc -lnsl -ldl -L/opt/ibm/mqsi/v7.0.0.4/lib -limbdfplg  FileRead.o 
 
 
 
But instead of g++ I am using gcc:
 
gcc -c -m64  -ansi -Wall -Wno-format-y2k -fpic -I. -I/opt/ibm/mqsi/v7.0.0.4/include/ -I/opt/ibm/mqsi/v7.0.0.4/include/plugin -DLINUX -D_THREADS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT FileRead.c
 
 
gcc -m64 -o NumComputeNodeTrace.lil -shared -lc -lnsl -ldl -L/opt/ibm/mqsi/v7.0.0.4/lib -limbdfplg  FileRead.o | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | scravr | 
		  
		    
			  
				 Posted: Fri May 25, 2012 6:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021 
  | 
		  
		    
			  
				Can NODE_CONTEXT_ST contex be changes?
 
Can I had elements to it? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |