q txtlib                   
TXTLIB   = SCEELKED SCEECPP 
Ready;                      

-----------------
Judson West
Teradata, a division of NCR Corporation


-----Original Message-----
From: The IBM z/VM Operating System
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Jones
Sent: Thursday, March 23, 2006 2:09 PM
To: [email protected]
Subject: Re: C++ Load Question

Did you do a
GLOBAL TXTLIB SCEELKED
?

DJ


West, Judson wrote:
> I have installed the IBM C/C++ compiler on z/VM V4.4. I
have the
> following HELLO CPP program:
> 
> #ifdef __cplusplus                  
> #include <iostream.h>               
> #else                               
> #include <stdio.h>                  
> #endif                              
> int main()                          
> {                                   
> #ifdef __cplusplus                  
> cout << "hello, C++ world!" << endl;
> #else                               
> printf("hello, world!\n");          
> #endif                              
> return 0;                           
> }                                   
> 
> 
> I compile it with "cc hello cpp" and receive no errors.
Then issue the
> cmod command below and receive the responses below it.
> 
> cmod hello (c++
> 
>  
> 
> IEW2456E 9207 SYMBOL endl__FR7ostream UNRESOLVED.  MEMBER
COULD NOT BE
> INCLUDED
>          FROM THE DESIGNATED CALL LIBRARY.
> 
> IEW2456E 9207 SYMBOL __ls__7ostreamFPCc UNRESOLVED.
MEMBER COULD NOT BE
> 
>          INCLUDED FROM THE DESIGNATED CALL LIBRARY.
> 
> IEW2456E 9207 SYMBOL cout UNRESOLVED.  MEMBER COULD NOT BE
INCLUDED FROM
> THE   
>          DESIGNATED CALL LIBRARY. NAME SPACE = 3
> 
> IEW2456E 9207 SYMBOL do_ipfx__7istreamFi UNRESOLVED.
MEMBER COULD NOT
> BE      
>          INCLUDED FROM THE DESIGNATED CALL LIBRARY.
> 
> Binder function BINDW completed with return code 8 and
reason code
> 83000301    
> IEW2617I 4C43 DEFINITION SIDE FILE IS EMPTY. THERE ARE NO
SYMBOLS TO BE
> 
>          EXPORTED.
> 
> Ready(00008); 
> 
> What am I missing? 
> 
> Also, I can't compile in a virtual machine under 128MB.
It's as if the
> DCSS is not being used. Here's the response from the Q NSS
command:
> q nss 431 map
> 
> FILE FILENAME FILETYPE MINSIZE  BEGPAG ENDPAG TYPE CL
#USERS PARMREGS
> VMGROUP 
> 0431 CCNSEG   DCSS       N/A    06000  08FFF   SR  A
00000   N/A
> N/A   
> 
> Your help is appreciated.
>

> 
> ----------------------
> Judson West
> Systems Programming Team
> Teradata(r), a division of NCR Corporation
> All words above are not actual sentences but random
letters, spaces and
> the occasional punctuation. I can not be held responsible
for the
> meaning you get from these random letters. I can however
be held
> responsible for the spaces.

Reply via email to