Reputation: 313
I am trying to compile a C++ application on SUN server using the compiler Sun C++ 5.9 SunOS_sparc Patch 124863-01. While compiling I am getting the below error:
PCC-S-02016, include file pathname is too long
Error at line 22, column 10 in file /export/home/bscs/billing1/bscsprod/billing/
compilation/opt_nc/hpux11.x/xalan/include/xalanc/PlatformSupport/XalanXMLChar.hp
p
#include <xalanc/PlatformSupport/PlatformSupportDefinitions.hpp>
.........1
PCC-S-02015, unable to open include file
Error at line 37, column 10 in file BillImageRef.pcpp
EXEC SQL BEGIN DECLARE SECTION;
.........1
PCC-S-02016, include file pathname is too long
Do you have any Idea how to solve this issue? Thank you in advance Regards
Upvotes: 0
Views: 257
Reputation: 2329
Use a batch file. And withing the file include the required directory as additional include directory reference.
Upvotes: 0
Reputation: 3156
PCC-02016: include file pathname is too long Cause: The pathname for include files exceeded the maximum length of 80 characters.
Action: Move the include file, or create an environment variable or logical to shorten the pathname.
Read your beloved documentation here
Upvotes: 1