Page 1 of 1

linking error for cpp program

PostPosted: Sun Feb 24, 2008 10:21 pm
by smb011a
Hi guys....

I am getting unresolved references in C++ programs and can not identify what is missing. This is the first time that i have tried using something from the STL in c++. Here is a sample snipet of my code. I am assuming i am missing a DSN or an include in my jcl. Please help!!!!

#include <iostream>
#include <vector>
#include <stdio.h>

using namespace std;

#ifndef __cplusplus
#pragma pack(1)
#endif

These are my two unresolveds...

IEW2456E 9207 SYMBOL @XLEN@@Q UNRESOLVED
IEW2456E 9207 SYMBOL @XRAN@@Q UNRESOLVED

Re: linking error for cpp program

PostPosted: Mon Feb 25, 2008 5:59 pm
by CICS Guy
Looks like you are missing an include.....