Vous êtes sur la page 1sur 25

Building Unix UnifiedAdp Tree Adp subsystem gmake install Found those errors: "../ppm/include/IPpmDataSvc.

h", line 162: Error: DATE is not defined. "../ppm/include/IPpmDataSvc.h", line 275: Error: HINSTANCE is not defined. "../include/adpconfig.h", line 123: Error: HINSTANCE is not defined. "../include/adpconfig.h", line 228: Warning: KAdpConfig::Throw hides the virtual function tagLpmConfig::Throw(long, const char*, const char*, long, int). "../include/adpdb.h", line 327: Error: HINSTANCE is not defined. "../include/adpsql.h", line 427: Error: LPCTSTR is not defined. "../include/adpsql.h", line 427: Error: Badly formed expression. "../include/adpjoins.h", line 105: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 105: Error: Badly formed expression. "../include/adpjoins.h", line 107: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 107: Error: Badly formed expression. "../include/adpjoins.h", line 109: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 109: Error: Badly formed expression. "../include/adpjoins.h", line 111: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 111: Error: Badly formed expression. 0 ( 24, 24) FDX "../include/adpjoins.h", line 113: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 113: Error: Badly formed expression. "../include/adpjoins.h", line 115: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 115: Error: Badly formed expression. "../include/adpjoins.h", line 117: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 117: Error: Badly formed expression. "../include/adp.h", line 332: Warning: Last line in file "../include/adpsce.p" i s not terminated with a newline. "../include/adp.h", line 333: Warning: Last line in file "../include/adpind.p" i s not terminated with a newline. "adpbar.cpp", line 298: Error: LPCTSTR is not defined. "adpbar.cpp", line 356: Error: LPCTSTR is not defined. "adpbar.cpp", line 392: Warning: String literal converted to char* in assignment . "adpbar.cpp", line 394: Warning: String literal converted to char* in assignment . "adpbar.cpp", line 396: Error: LPCTSTR is not defined. "adpbar.cpp", line 396: Error: Badly formed expression. "adpbar.cpp", line 449: Warning: String literal converted to char* in formal arg ument format in call to osl_print_mes(char*, long, long, long, long, long). "adpbar.cpp", line 515: Error: LPCTSTR is not defined.

Compilation aborted, too many Error messages. gmake: *** [mtdbg/adpbar.o] Error 1 "../ppm/include/IPpmDataSvc.h", line 275: Error: HINSTANCE is not defined. "../include/adpconfig.h", line 123: Error: HINSTANCE is not defined. "../include/adpconfig.h", line 228: Warning: KAdpConfig::Throw hides the virtual function tagLpmConfig::Throw(long, const char*, const char*, long, int). ../include/adpdb.h", line 327: Error: HINSTANCE is not defined. "../include/adpsql.h", line 427: Error: LPCTSTR is not defined. "../include/adpsql.h", line 427: Error: Badly formed expression. "../include/adpjoins.h", line 105: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 105: Error: Badly formed expression. "../include/adpjoins.h", line 107: Error: LPCTSTR is not defined. 0 ( 24, 24) FDX "../include/adpjoins.h", line 107: Error: Badly formed expression. "../include/adpjoins.h", line 109: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 109: Error: Badly formed expression. "../include/adpjoins.h", line 111: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 111: Error: Badly formed expression. "../include/adpjoins.h", line 113: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 113: Error: Badly formed expression. "../include/adpjoins.h", line 115: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 115: Error: Badly formed expression. "../include/adpjoins.h", line 117: Error: LPCTSTR is not defined. "../include/adpjoins.h", line 117: Error: Badly formed expression. "../include/adp.h", line 332: Warning: Last line in file "../include/adpsce.p" i s not terminated with a newline. "../include/adp.h", line 333: Warning: Last line in file "../include/adpind.p" i s not terminated with a newline. "adpconfig.cpp", line 115: Error: CP_ACP is not defined. "adpconfig.cpp", line 205: Error: CP_ACP is not defined. "adpconfig.cpp", line 247: Error: The function "_itoa" must have a prototype. "adpconfig.cpp", line 315: Error: LPCSTR is not defined. "adpconfig.cpp", line 315: Error: Badly formed expression. "adpconfig.cpp", line 804: Error: CP_ACP is not defined. "adpconfig.cpp", line 251: Error: The function "_itoa" must have a prototype. "adpconfig.cpp", line 319: Error: The function "MAKELONG" must have a prototype. "adpconfig.cpp", line 812: Error: A statement (even if empty) is required here. "../include/utlencrypt.h", line 45: Error: BYTE is not defined. "utlencrypt.cpp", line 45: Error: The function "isdigit" must have a prototype. "utlencrypt.cpp", line 48: Error: The function "isdigit" must have a prototype. "utlencrypt.cpp", line 51: Error: The function "isupper" must have a prototype. "utlencrypt.cpp", line 54: Error: The function "isupper" must have a prototype. 0 ( 24, 24) FDX

"utlencrypt.cpp", line 57: Error: The function "islower" must have a prototype. "utlencrypt.cpp", line 60: Error: The function "islower" must have a prototype. "utlencrypt.cpp", line 85: Error: The function "ZeroMemory" must have a prototyp e. "utlencrypt.cpp", line 146: Error: BYTE is not defined. "utlencrypt.cpp", line 147: Error: BYTE is not defined. "utlencrypt.cpp", line 153: Error: BYTE is not defined. "utlencrypt.cpp", line 155: Error: nStartIndex is not defined. "utlencrypt.cpp", line 155: Error: nStartIndex is not defined. "utlencrypt.cpp", line 170: Error: nCount is not defined. "utlencrypt.cpp", line 170: Error: BYTE is not defined. "utlencrypt.cpp", line 170: Error: Operand expected instead of ")". "utlencrypt.cpp", line 170: Error: Operand expected instead of ")". "utlencrypt.cpp", line 178: Error: BYTE is not defined. "utlencrypt.cpp", line 180: Error: nStartIndex is not defined. "utlencrypt.cpp", line 180: Error: nStartIndex is not defined. "utlencrypt.cpp", line 196: Error: nCount is not defined. "utlencrypt.cpp", line 196: Error: BYTE is not defined. "utlencrypt.cpp", line 196: Error: Operand expected instead of ")". "utlencrypt.cpp", line 196: Error: Operand expected instead of ")". "utlencrypt.cpp", line 313: Error: BYTE is not defined. "utlencrypt.cpp", line 155: Error: The function "ASSERT" must have a prototype. "utlencrypt.cpp", line 180: Error: The function "ASSERT" must have a prototype. "utlencrypt.cpp", line 319: Error: The function "ASSERT" must have a prototype. "utlencrypt.cpp", line 384: Error: The function "lstrlen" must have a prototype. "adpdb.cpp", line 101: Warning (Anachronism): Assigning extern "C" long(*)() to long(*)(). "adpdb.cpp", line 175: Warning: String literal converted to char* in formal argu ment name in call to osl_sys_get_config_string(char*, char**). "adpdb.cpp", line 234: Warning: String literal converted to char* in formal argu ment name in call to osl_sys_get_config_string(char*, char**). "adpdb.cpp", line 238: Warning: String literal converted to char* in formal argu ment s2 in call to loc_st_strcat(char*, char*). "adpdb.cpp", line 283: Error: LPCTSTR is not defined. "adpdb.cpp", line 283: Error: Badly formed expression. "adpdb.cpp", line 315: Warning: String literal converted to char* in formal argu ment name in call to osl_sys_get_config_string(char*, char**). "adpdb.cpp", line 318: Warning: String literal converted to char* in formal argu ment s2 in call to loc_st_strcmpi(char*, char*). "adpdb.cpp", line 563: Warning: String literal converted to char* in formal argu ment format in call to osl_print_mes(char*, long, long, long, long, long). "adpdb.cpp", line 572: Warning: String literal converted to char* in formal argu ment s2 in call to loc_st_strcmp(char*, char*). "adpdb.cpp", line 587: Warning: String literal converted to char* in formal argu

ment format in call to osl_print_mes(char*, long, long, long, long, long). "adpdb.cpp", line 705: Warning: String literal converted to char* in formal argu ment db_name in call to adp_db_open(void*, char*). "adpdb.cpp", line 708: Warning: String literal converted to char* in assignment. "adpdb.cpp", line 714: Warning: String literal converted to char* in formal argu ment format in call to adp_sql_exec_query(void*, char*, long, long, long, long, long, void*). "adpdb.cpp", line 719: Warning: String literal converted to char* in formal argu ment format in call to adp_sql_exec_query(void*, char*, long, long, long, long, long, void*). "adpdb.cpp", line 744: Warning: String literal converted to char* in formal argu ment dboption_str in call to adp_db_set_dboption(void*, char*, char*, char). "adpdb.cpp", line 1051: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1061: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1071: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1081: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1091: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1101: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1111: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1121: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1131: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1141: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1151: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong).

"adpdb.cpp", line 1161: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1171: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1181: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1191: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1201: Warning: String literal converted to char* in formal arg ument format in call to utl_estr_aprintf(void*, char*, long, long, long, long, l ong). "adpdb.cpp", line 1210: Warning: String literal converted to char* in formal arg ument format in call to adp_sql_sprintf(void*, void*, char*, long, long, long, l ong, long). "adpdb.cpp", line 1424: Warning: String literal converted to char* in formal arg ument format in call to adp_sql_parse_now(void*, char*, long, long, long, long, long). "adpdb.cpp", line 1529: Warning: String literal converted to char* in formal arg ument format in call to osl_print_mes(char*, long, long, long, long, long). "adpdb.cpp", line 1532: Error: ")" expected instead of "*". "adpdb.cpp", line 1532: Error: There must be an identifier to declare. "adpdb.cpp", line 1532: Error: A declaration was expected instead of "long". "adpdb.cpp", line 1533: Warning: The variable adp_db_convert_db_local has not ye t been assigned a value. "adpdb.cpp", line 1783: Warning: String literal converted to char* in initializa tion. "adpdb.cpp", line 1864: Warning: String literal converted to char* in initializa tion. "adpdb.cpp", line 2352: Error: LPTSTR is not defined. "adpdb.cpp", line 2352: Error: LPCTSTR is not defined. "adpdb.cpp", line 2352: Error: Badly formed expression. "adpdb.cpp", line 2370: Warning: String literal converted to char* in formal arg ument name in call to osl_sys_get_config_string(char*, char**). "adpdb.cpp", line 2374: Warning: String literal converted to char* in formal arg ument s2 in call to loc_st_strcat(char*, char*). "adpdb.cpp", line 2375: Warning: String literal converted to char* in formal arg ument access in call to loc_io_fopen(char*, char*). "adpdb.cpp", line 2378: Warning: String literal converted to char* in formal arg ument file in call to loc_io_fopen(char*, char*). "adpdb.cpp", line 2378: Warning: String literal converted to char* in formal arg ument access in call to loc_io_fopen(char*, char*). "adpdb.cpp", line 2411: Error: LPCTSTR is not defined.

"adpdb.cpp", line 2411: Error: Badly formed expression. "adpdb.cpp", line 2461: Error: LPCTSTR is not defined. "adpdb.cpp", line 2465: Error: LPCTSTR is not defined. "adpdb.cpp", line 2475: Error: LPCTSTR is not defined. 0 ( 24, 24) FDX "adpdb.cpp", line 2475: Error: Badly formed expression. "adpdb.cpp", line 2656: Warning: String literal converted to char* in formal arg ument s2 in call to loc_st_strcmp(char*, char*). "adpdb.cpp", line 2662: Warning: String literal converted to char* in formal arg ument s2 in call to loc_st_strcmp(char*, char*). "adpdb.cpp", line 2668: Warning: String literal converted to char* in formal arg ument s2 in call to loc_st_strcmp(char*, char*). "adpdb.cpp", line 2674: Error: The function "LPCTSTR" must have a prototype. "adpdb.cpp", line 2677: Warning: String literal converted to char* in formal arg ument s2 in call to loc_st_strcmp(char*, char*). "adpdb.cpp", line 2678: Warning: String literal converted to char* in formal arg ument s2 in call to loc_st_strcmp(char*, char*). "adpdb.cpp", line 2679: Warning: String literal converted to char* in formal arg ument s2 in call to loc_st_strcmp(char*, char*). "adpdb.cpp", line 2687: Error: The function "LPCTSTR" must have a prototype. "adpdb.cpp", line 2695: Error: The function "LPCTSTR" must have a prototype. "adpdb.cpp", line 2723: Error: HINSTANCE is not defined. "adpdb.cpp", line 2726: Warning: The variable pProc has not yet been assigned a value. "adpdb.cpp", line 2820: Error: MessageBox is not a member of file level. "adpdb.cpp", line 2820: Error: MB_OK is not defined. "adpdb.cpp", line 2915: Error: DATE is not defined. "adpdb.cpp", line 2920: Error: Overloading ambiguity between "KOleDateTime::oper ator=(const long&)" and "KOleDateTime::operator=(double)". "adpdb.cpp", line 3047: Error: LPTSTR is not defined. "adpdb.cpp", line 3054: Error: lpCodePageString is not defined. "adpdb.cpp", line 3055: Error: The function "Sleep" must have a prototype. "adpdb.cpp", line 3067: Error: LPTSTR is not defined. "adpdb.cpp", line 3070: Error: CP_INSTALLED is not defined. "adpdb.cpp", line 3071: Warning: The variable status has not yet been assigned a value. "adpdb.cpp", line 3110: Error: The function "itoa" must have a prototype. "adpdb.cpp", line 3114: Warning: String literal converted to char* in formal arg ument str_format in call to adp_db_log_msg(char*, long, long, long, long, long). "adpdb.cpp", line 3136: Error: LOCALE_SYSTEM_DEFAULT is not defined. "adpdb.cpp", line 3136: Error: LOCALE_IDEFAULTANSICODEPAGE is not defined. "adpdb.cpp", line 3137: Warning: The variable status has not yet been assigned a value.

"adpdb.cpp", line 3139: Error: CP_ACP is not defined. gmake: *** [mtdbg/adpconfig.o] Error 23 INTEG{crmcmsun1:1264}# Changes being done in Unix Phoenix Tree Note : All the files where changes have been made , I have made a backup copy of the same file and renamed it filename_org.ext. Set WINDU_DEFINES = in Imakefile Adp subsystem: 1) Added #define DATE KDATE for "../ppm/include/IPpmDataSvc.h", line 162: 2) Added #define HINSTANCE KHINSTANCE for "../ppm/include/IPpmDataSvc.h", line 275 "../include/adpconfig.h", line 123: ../include/adpdb.h", line 327 3) Added #define LPCTSTR PCStr in adp.h for "../include/adpsql.h", line 427 "../include/adpjoins.h", line 105, 107, 109, 111, 113, 115, 117 "adpdb.cpp", line 283, 2357, 2416, 2466, 2470, 2480, 2687, 2695 "adpjoins.cpp", line 117, 118, 119, 129, 130,131,132, 134, 135,136, 138, 139, 140, 141, 149, 150, 154, 180-183, 185-187,189-192, 210-212, 214-216 to higher no. adpmssqloperation.cpp line 1811, 1817, 1824, 2010,2018, 2051,2058,2090,2097, 2385, 3161,3169,3172,3175,3176, 3350,3357, 3595, 3789, 3815, 3830 "adporaoperation.cpp", line 665, 1086, 1091, 1423, 1429, 1436, 1606, 1614, 1647, 1654, 1688, 1695, 1975,1983, 1988,2001,2007, 2063,2068,2077, 2131,2162,2166, 2187, 2198, 2219,2258,2267 2414, 2416, 2691,2887,2914,2932, "adpsql.cpp", line : 2441, 2550,2553,2716, 2720, 2759, 2763, 2801, 2805, 3028 "adpsch.cpp", line : 387, 554, 1170, 1196, 1220,1230, 1322, 1357, 1369, 1463, 1502, 1507, 1527, 1536 , 1537, 1547, 1974, 1982, 2001, 2009, 2011, 2074, 2764, 2901, 3037, 3061, 3105, 3114, 3123, 3126, 3132, 3135, 3141, 3174,3568 4) Added #define LPCSTR PCMBStr "adpconfig.cpp", line 315 adpsce.cpp , line 972, 988 5) Code m_nUserCodepageId = CP_ACP; is put under #if defined (WIN32) || defined(_WIN32) and #endif "adpconfig.cpp", line 115,205,804

6) _itoa(nParam2, Buf, 10) is replaced by kitoa(nParam2, Buf, 10) (defined in ppm\CboCompnt\include KCrt.h) in file "adpconfig.cpp", line 251: Error: The function "_itoa" must have a prototype 7) MAKELONG is replaced by KMAKELONG (defined in ppm\CboCompnt\include \KOsWin32Defs.h) in file "adpconfig.cpp", line 319: Error: The function "MAKELONG" must have a prototype KOsWin32UnixDefs.h are having definition of KMAKELONG, so it might be required to be renamed. 8) Added the code : return; in last else part of function
void KAdpConfig::SetDBCodepageID(PCSTR pcodePageID) in

"adpconfig.cpp", line 812: Error: A statement (even if empty) is required here. 9)Added #define BYTE Byte and #define BYTE* Pbyte (as defined in stdtypes.h) in utlencrypt.h for "utlencrypt.cpp", line 146, 147, 153, 170, 178, 196, 313, 319, 384 "../include/utlencrypt.h", line 45 10)ASSERT is replaced by KASSERT "utlencrypt.cpp", line 155, 180, 319 11)ZeroMemory is placed under#if defined (WIN32) || defined(_WIN32) and #endif "utlencrypt.cpp", line 85: Error: The function "ZeroMemory" must have a prototyp e. 12)lstrlen is replaced by kstrlen(defined in KCrt.h) isdigit is replaced by kisdigit islower is replaced by kislower isupper is replaced by kisupper "utlencrypt.cpp", line 384 13) Replaced LPCTSTR by PCStr 14) adp_db_convert_db_local = (long (__cdecl *)(void *,char *,struct
adp_db_dhead *,long))adp_db_convert_db_procs[ind]; is

placed under#if defined (WIN32) || defined(_WIN32)

and #else

adp_db_convert_db_local = (long (*)(void *,char *,struct adp_db_dhead *, long))adp_db_convert_db_procs[ind]; is placed under #else and #endif "adpdb.cpp", line 1535:

15) Added #define LPTSTR PStr "adpdb.cpp", line 2357, 3047, 3067 16) HINSTANCE is replaced by KHINSTANCE "adpdb.cpp", line 2723 17) Replaced DATE by KDATE "adpdb.cpp", line 2915 18) ::MessageBox() is replaced by ::KmessageBox()(defined in KOsApiMisc.h) and MB_OK is replaced by IDOK(defined in KOsWin32UnixDefs.h) "adpdb.cpp", line 2820 19)Sleep(0) ie replaces by KSleep(0) "adpdb.cpp", line 3057 20) status = EnumSystemCodePages(funPtr, CP_INSTALLED); is placed under#if defined (WIN32) || defined(_WIN32) and #endif "adpdb.cpp", line 3070 21) itoa() is replaced by kitoa() "adpdb.cpp", line 3112 22)Moved the code segment : /************************************/
status = GetLocaleInfo( LOCALE_SYSTEM_DEFAULT,LOCALE_IDEFAULTANSICODEPAGE ,buff,sizeof (buff)); DBG_PRC_RET_STATUS(mod, !status); if (m_config.m_nUserCodepageId == atoi (buff) || m_config.m_nUserCodepageId == CP_ACP) *is_sys_default_cp = TRUE_BOOL; /************************************/ under #if defined (WIN32) || defined(_WIN32) and #endif

"adpdb.cpp", line 3183, 3149 in function

cmn_ty_status KAdpConnId::IsDefaultCodepageId (cmn_ty_bool* is_sys_default_cp)

23) In statement as below


*((KAdpSqlBatch*)sql_id) << KAdpBindParam(long int (*(lobj_ptr>fields + oid_field_id))); int is removed from long int

"adpobj.cpp", lines 2285, 2334, 2707, 2718, 2741, 2753, 2815, 3267, 3278, 3339, 4063, 4111 24) Added #define PSTR PMBStr and #define PCSTR PCMBStr in adp.h for "adporaoperation.cpp", line 2016 "adpsch.cpp", line 1363, 1430, 3105 25) Added #define BO_DB_BSTR BO_DB_KBSTR "adpsql.cpp", line 2591,2994, 3553 adpdatasvc.cpp line 664 26) adpsql.cpp : In statement
for (int i = 0; pPtrArray->GetUpperBound() >= i ; i++)

the definition of variable i is removed from for loop added before .So it becomes like that : int i;
for (i = 0; pPtrArray->GetUpperBound() >= i ; i++)

27) In ../poms/include adpstr.h is renamed to adpstr_org.h as this adpstr.h only contains mssql strings not the merged oracle ones and added adpstr.h which is generated from adp.str having both mssql and oracle strings 28) (long (__cdecl *)(void))adp_ind_print_ind_info); in adpind.cpp(line 73) is placed under #if defined (WIN32) || defined(_WIN32) and #else. (long (*)(void))adp_ind_print_ind_info); is placed under #else and #endif 29) "adpmain.cpp", line 340: Error: LOCALE_SYSTEM_DEFAULT is not defined. "adpmain.cpp", line 340: Error: LOCALE_IDEFAULTANSICODEPAGE is not defined. Moved following code segment in adp_main_get_app_codepage() of adpmain.CPP : ********************************************************* status = GetLocaleInfo( LOCALE_SYSTEM_DEFAULT,LOCALE_IDE FAULTANSICODEPAGE ,buff,sizeof (buff)); DBG_PRC_RET_STATUS(mod, !status); l_codepage = atoi (buff); status = pCid->SetUserCodepageId (l_codepage); DBG_PRC_RET_STATUS(mod, status); Under #if defined (WIN32) || defined(_WIN32) and #endif dbs , typ, sce , clk subsystem: Renamed existing Imakefile and makefile to Imakefile_org and makefile_org respectively. Then created my own Imakefile and from it create makefile using mmf2

Then on running gmake install , got the error : makefile:440: *** missing separator. Stop. So to handle above error, I modified makefile to remove the Enter character in line starting from EXTRA_INCLUDES and then Run gmake install and it got built successfully Also added following code in Imakefile of dbs subsystem required to build dbcreate ExportObjs(dbcreate.o)) ExportObjs(dbststub.o) ExportObjs(dbdelete.o) Cbb subsystem: Renamed existing Imakefile and makefile to Imakefile_org and makefile_org respectively. Then created my own Imakefile and from it create makefile using mmf2 Then on running gmake install , got the error : makefile:440: *** missing separator. Stop. So to handle above error, I modified makefile to remove the Enter character in line starting from EXTRA_INCLUDES and then Getting errors: gmake: *** No rule to make target `../../obj/mtdbg/uislist.o', needed by `mtdbg/ command cup subsystem: Renamed existing Imakefile and makefile to Imakefile_org and makefile_org respectively. Then created my own Imakefile and from it create makefile using mmf2 Then on running gmake install , got the error : makefile:440: *** missing separator. Stop. So to handle above error, I modified makefile to remove the Enter character in line starting from EXTRA_INCLUDES and then Getting errors: (a) gmake: *** No rule to make target `../../obj/mtdbg/dgnmer1.o', needed by `mtdbg/ command So, to build cup subsystem , needed to build dgn subsystem to get dgnmer1.o from dgnmer1.c dgn subsystem: Copied existing Imakefile to Imakefile_org and renamed makefile to makefile_org respectively. In copied Imakefile ,added ../poms/include to EXTRA_INCLUDES and from it create makefile using mmf2 Then on running gmake install, dgn subsystem, built successfully. (b) gmake: *** No rule to make target `../../libs/mtdbg/rem.a', needed by `mtdbg/uiu bas'. Stop. So, to build cup subsystem , needed to build rem subsystem to get rem.a rem subsystem:

Renamed existing Imakefile and makefile to Imakefile_org and makefile_org respectively.Copied Imakefile.new to Imakefile and In copied Imakefile ,added ../poms/include to EXTRA_INCLUDES and from it create makefile using mmf2 Then on running gmake install , rem.a was built successfully (c) gmake: *** No rule to make target `../../libs/mtdbg/oab.a', needed by `mtdbg/uiu bas'. Stop. So, to build cup subsystem , needed to build oab subsystem to get oab.a oab and oab_poms subsystem: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org. In copied Imakefile ,added ../poms/include to EXTRA_INCLUDES and from it create makefile using mmf2 Then on running gmake install , oab.a was built successfully Now to build oab_poms.a , modified Imakefile to include oabdb_d.c instead of oabdb.c and to replace the name of library oab a by oab_poms.a . Then on running gmake install , oab_poms.a was built successfully Note : I have renamed Imakefile for oab as Imakefile_oab and for oab_poms as Imakefile_oab_poms. (d) gmake: *** No rule to make target `../../libs/mtdbg/ost.a', needed by `mtdbg/uiu bas'. Stop. So, to build cup subsystem , needed to build ost subsystem to get ost.a Ost, dcu, cam, uis, ccn subsystem: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org. In copied Imakefile ,added ../poms/include to EXTRA_INCLUDES and from it create makefile using mmf2 ost.a required ostqry.p which wasnt there in build tree.So, I copied ostqry.p into build tree from phoenix_merge branch. Then on running gmake install , Getting errors: /usr/ccs/bin/yacc -d -l ostqry.y command line: fatal: cannot open y.tab.c, y.tab.h renamed y.tab.c and y.tab.h to y.tab_org.c and y.tab_org.h and also changed the permission of ostqry.c using chmod +wx ostqry.c. Then on running gmake install ,ost.a was built successfully (e) gmake: *** No rule to make target `../../libs/mtdbg/gta.a', needed by `mtdbg/uiu bas'. Stop. So, to build cup subsystem , needed to build gta subsystem to get gta.a

gta subsystem: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org.. From Imakefile , create makefile using mmf2 . Then on running gmake install , gta.a was built successfully (f) gmake: *** No rule to make target `../../libs/mtdbg/str.a', needed by `mtdbg/uiu bas'. Stop. So, to build cup subsystem , needed to build str subsystem to get str.a str subsystem: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org.. From Imakefile , create makefile using mmf2 . Then on running gmake install, got error: gmake: *** No rule to make target `mtdbg/admres.o', needed by `../libs/mtdbg/str .a'. Stop. So, to build str subsystem , needed to build adm subsystem to get admres.o adm subsystem: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org.. From Imakefile , create makefile using mmf2 . Then on running gmake install, adm.a got built successfully Now I have to built str subsystem Then on running gmake install for str subsystem, got error: gmake: *** No rule to make target `mtdbg/apires.o', needed by `../libs/mtdbg/str .a'. Stop. So, to build str subsystem , needed to build api subsystem to get apires.o api , brs, cas, cct, com, cpi, dbm subsystem: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org.. In copied Imakefile ,added ../poms/include to EXTRA_INCLUDES and from it .From Imakefile , create makefile using mmf2 . Then on running gmake install, api.a got built successfully Now I have to built str subsystem Then on running gmake install for str subsystem, got error: gmake: *** No rule to make target `mtdbg/brsres.o', needed by `../libs/mtdbg/str .a'. Stop. So, to build str subsystem , I needed brsres.o, casres.o, cbxres.o, cctres.o, comres.o, cpires.o, dbmres.o, dweres.o, ebcres.o, ftires.o, ftyres.o, genres.o, mapres.o , netres.o, oaures.o, prbres.o, qryres.o, slnres.o, tndres.o, tskres.o, vbares.o, webres.o, zacres.o , zbcres.o, zcares.o, zpires.o, zqures.o, zrqres.o, zsbres.o, zstres.o, ztmres.o, zcrres.o, zutres.o

Cbx subsytstem: Built the cbx subsystem in same way as above api,brs,cas subsystems But getting errors that In file cbxsel.c : cbx_sel_class_init and cbx_sel_allocobj are undefined Actually cbx_sel_class_init and cbx_sel_allocobj are defined in cbxselm.p.So, I had to copy cbxselm.c and cbxselm.p from phoenix_merge branch. Then on running gmake install, cbx.a got built successfully Dwe subsystem: Built the dwe subsystem in same way as above api,brs,cas subsystems But getting errors that Function dwe_utl_err_file_mes2() has 6 arguments in its prototype.
And it is expecting 7 arguments while making a call in file dweroc.c

-To be resolved brs subsystem: ******************************************************************** * To get brsres.o, I used command : cc- c brsres.c brsres.o will be produced in current path..Copy brsres.o to path ../str/mtdbg File oaures.c was not available.So, copied file from phoenix_merge branch.. After producing all above res.o, using the technique used to built above brs subsystem , str subsystem got built and str.a is created in top level libs directory ../libs/mtdbg Then on running gmake install, got error: gmake: *** No rule to make target `../libs/mtdbg/str.a', needed by `mtdbg/uiu bas'. Stop So I copied the str.a from top level libs directory ie ../libs/mtdbg to ../poms/libs/mtdbg Directory Then getting error: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org..

fpa subsystem: ******************************************************************* In fpa subsystem, I didnt need to modify the Imakfile obtained from Imakefile.dbdir. In makefile also modified path of clearzpi.a from ../poms/exe to (root-level exe) ../../exe. On building the fpa subsystem in same way as above api,brs,cas subsystems Took Imakefile of Imakefile_org But getting errors that "fpadbr.cpp", line 317: Error: adp_db_ccol is not defined. "fpadbr.cpp", line 361: Error: The type "adp_ty_dconn" is incomplete. Solution: Changes done on this file 1) Commented code under #if (!defined(DBUDB) && !defined(DBNEDB)) and #endif starting from line no 316. 2) Commented code under #if (!defined(DBUDB) && !defined(DBNEDB)) and #endif starting from line no 360 3) Also Commented. the code as follows //#if (!defined(DBUDB) && !defined(DBNEDB)) //extern "C" adp_db_conn *adp_db_ccol; //#endif
//Rajesh 01/03/2002 #define FPA_USER_CODE ((FLDID32)33554544) type: long */ as error FPA_USER_CODE was not defined in fpaastc.c

4) added #define in file fpafld.h in path ../poms/fpa as follows


/* number: 112

********************************************************* Asking to build clearzpi.a When I ran gmake clearzpi.a from path ../oracle/exe. It asked to build gen.a Oau,sfs,prb,sln Ultimately fpa got built ebc subsystem: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org. In copied Imakefile ,added ../poms/include to EXTRA_INCLUDES and from it create makefile using mmf2 Then got error: "ebcmain.c", line 3305: prototype mismatch: 5 args passed, 4 expected "ebcmain.c", line 3484: cannot recover from previous errors

cc: acomp failed for ebcmain.c gmake: *** [mtdbg/ebcmain.o] Error 2 Actually in ebcmain() , function ebc_dbg_set_brkpoints() is called with 5
arguments and same function is declared in ebcdbg.p with 4 arguments. Function with 4 arguments is defined in ebcdbg.c . Now the function ebc_dbg_set_brkpoints() with 5 arguments is defined in ebcdbgnew.cpp but it has no prototype in ebcdbgnew.h. Surprising thing is that even commenting function defintion/declaration in ebcdbg.p and ebcdbgnew.cpp, the file ebcmain.c is compiling.Dont know where the ebc_dbg_set_brkpoints() is getting the its prototype. To resolve this problem , I renamed the ebc directory of unifiedadp to ebc_unifiedadp and copied ebc directory of phoenix.then ebc subsystem got built creating ebcngui.a

zac, zca, zbc , zsb ,ztm ,tsk, zqu, zut, zpi, zrq,ztm ,zst, bug,zct,zct_cpp subsystem: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org. In copied Imakefile ,added ../poms/include to EXTRA_INCLUDES and from it create makefile using mmf2 .Subsystem got built Zct subsystem: Copied existing Imakefile to Imakefile_org. Renamed existing makefile to makefile_org. In copied Imakefile ,added ../poms/include to EXTRA_INCLUDES and from it create makefile using mmf2 .And also modified Imakefile to include the rule for creating zct_cpp.a . Subsystem got built. vba subsystem: On running gmake install , got the error: "vbadbug.c", line 35: cannot find include file: "vbadbugm.h" cc: acomp failed for vbadbug.c So I copied vbadbugm.h , vbabulkm.h , vbapowerm.h, vbaaggrm.h, vbaclipm.h, vbacmndm.h, vbacobjm.h, vbacpolm.h, vbactlm.h, vbadbm.h, vbadtypm.h, vbalistm.h, vbamenum.h, vbamodm.h , vbapntrm.h, vbaprocm.h, vbarecm.h, vbasavm.h, vbascrm.h, vbasqlm.h, vbatobjm.h, vbacbexm.h, vbaftym.h, vbahlam.h, vbamsgm.h, vbasysm.h, vbaadmm.h, vbaddem.h from ../phoenix/master_p/vba to the ../unifiedadp/master_p/vba "vbamenu.c", line 1273: undefined symbol: VBA_MNB_STR_CTB "vbadbug.c", line 1247: undefined symbol: VBA_DEBUG_FREEHANDLES "vbadbug.c", line 1268: undefined symbol: VBA_DEBUG_FREEPUBLICMEM "vbadbug.c", line 1289: undefined symbol: VBA_DEBUG_FREESYMBOLS I copied the entry ie #define VBA_MNB_STR_CTB #define VBA_DEBUG_FREEHANDLES 0x4c000d2L #define VBA_DEBUG_FREEPUBLICMEM 0x4c000d3L #define VBA_DEBUG_FREESYMBOLS 0x4c000d4L
0x4c000d1L

from windowss (final phoenix merge) vbastr.h to unifiedadp/master_p/vba/vbastr.h and also to unifiedadp/master_p/include Getting erros: "vbasym.c", line 5095: undefined symbol: OAB_GLB_VAR_FLEX_LICENSE "vbasym.c", line 5095: non-constant initializer: op "NAME" "vbasym.c", line 5096: undefined symbol: OAB_GLB_VAR_PM_LICENSE "vbasym.c", line 5096: non-constant initializer: op "NAME" "vbasym.c", line 5097: undefined symbol: OAB_GLB_VAR_OA_LICENSE "vbasym.c", line 5097: non-constant initializer: op "NAME" "vbasym.c", line 5098: undefined symbol: OAB_GLB_VAR_BILLING_LICENSE "vbasym.c", line 5098: non-constant initializer: op "NAME" "vbasym.c", line 5249: cannot recover from previous errors cc: acomp failed for vbasym.c Added following entries to oab.h in ../include directory
#define OAB_GLB_VAR_FLEX_LICENSE #define OAB_GLB_VAR_PM_LICENSE #define OAB_GLB_VAR_OA_LICENSE #define OAB_GLB_VAR_BILLING_LICENSE Integration 1.0 */ #define OAB_GLB_VAR_ALT_USER_NAME alternate User name , <for Vodafone> 75L 76L 77L 78L

/* Billing 79L //added for

Getting these errors: "vbabulk.c", line 1375: undefined symbol: vba_bulk_class_init "vbabulk.c", line 1375: warning: improper pointer/integer combination: op "=" "vbabulk.c", line 1376: undefined symbol: vba_bulk_allocobj "vbabulk.c", line 1376: warning: improper pointer/integer combination: op "=" cc: acomp failed for vbabulk.c Also these .p files ie (vbabulkm.p, vbaclipm.p, vbadbm.p, vbapntrm.p, vbatobjm.p, vbacbexm.p, vbaftym.p, vbahlam.p, vbamsgm.p, vbaadmm.p, vbaddem.p) in ../vba and ../include had no contents.So copied the contents from windows. Also copied vba.h from ../phoenix/master_p/vba to the ../unifiedadp/master_p/vba For including the change of CR 90021 ***************************************************** Also copied following declaration from windows to vbadbug.p cmn_ty_status vba_dbug_FreeHandles ( #if ANSI long int *nFreeHandles #endif ); cmn_ty_status vba_dbug_FreePublicMem ( #if ANSI long int *nFreePublicMem

#endif ); cmn_ty_status vba_dbug_FreeSymbols ( *************************************** Also copied vbabulkm.c, vbadbug.c from ../phoenix/master_p/vba to unifiedadp//master_p/vba As error : No rule to make target `mtdbg/vbabulkm.o' Gen, oau, sfs,prb,sln subsystem: Prepare Imakefile in same way as done in above in api, brs subsystems Run gmake install as done earlier. EXTRA_INCLUDES = -I../poms/include /* * @(#)Imakefile 1.19 12/27/99 13:56:27 * * Imakefile for the sub-system oracle7 */ For all the subsystems whose .a file is created in ../poms/libs/mtdbg, the following line is added to modify the path of library of poms (ie adp,dbs,fpa,sce to root level ie ../../libs/mtdbg LIB_DIR = ../../libs/$(bldcfg) ******************************************************************** * SUBDIRS = adp3 BoUtils clk cmn com cpi dbg dbs3 fpa gen loc1 oab_poms osl ost3 prb typ UTL HOME = /home/nreni/project/unifiedadp/master_p/poms mfc/rmworkerprocess subsystem: Rename existing Imakefile and makefile to corresponding Imakefile_org and makefile_org EXTRA_DEFINES = -D_DECOUPLE LOCAL_DEFINES = -D_CBO_UNIX -D_SOLARIS EXTRA_INCLUDES = -I../../include -I../../poms/include -I../../poms/ppm/include -I../../poms/ppm/CboCompnt/Include -I../../poms/ppm/include/dummy cp $(OBJ_DIR)/dbcreate.o $(TOP_DIR)/$(OBJ_DIR) Copied following files to root level ../obj/mtdbg , build the exes: Dbcreate : dbcreate.o , dbststub.o

Ddcomp : typsmain.o, typlex.o, typbld.o Dataex : scemain2.o, scegen.o , sceexp.o, scelex.o, sceimp.o, scestr.o, scerule.o Renamed utlencrypt.h and utlencrypt.cpp of adp subsystem to utlencrypt_chg.h and utlencrypt_chg.cpp respectively as functions UtlBytesToLongs() and UtlLongSetByte() are defined in the same file in both subsystem ie adp and BoUtils Also removed code in adpdb.cpp ie #include "utlencrypt.cpp" The following code in KddString.h .code 1) 1)KArray<KDdString*, KDdString*&> m_KDdStringArray; 2) // KArray<KDdString*, KDdString*> m_KDdStringArray; Points to be discussed : Building of dbcreate.exe requires dbcreate.o and dbststub.o in root level ../obj/mtdbg.Presently our Imakefile generates these .o files in mtdbg directory of dbs subsystem and exports these file in ../poms/obj/mtdbg using rule ExportObjs specified in rule file. And we are not able to copy these .o files in root level ../obj/mtdbg through Imakefile. Only solution we have is to write another rule ExportTopLevelObjs in the rule file just like we have the rule ExportObjs. $(bldcfg)/adpdatasvc3.o: adpdatasvc.cpp ild: (undefined symbol) adp_bar_create_with_name -- referenced in the text segme nt of ../libs/mtdbg/dbs.a(dbsrdb.o) ild: (undefined symbol) void KArray<KDdJoin*,KDdJoin*>::RemoveAt(int,int) -ref erenced in the text segment of ../libs/mtdbg/BoUtils.a(KDdTable.o) errors in BoUtils "../../../poms/ppm/CboCompnt/Include/KArray.h", line 331: Error: Initializing KD dString*& requires an lvalue. "KDdString.cpp", line 785: Where: While instantiating "KArray<KDdString*, KD dString*&>::InsertAt(int, KArray<KDdString*, KDdString*&>*)". "KDdString.cpp", line 785: Where: Instantiated from non-template code. "../../../poms/ppm/CboCompnt/Include/KArray.h", line 335: Error: Formal argument newElement of type KDdString*& in call to KArray<KDdString*, KDdString*&>::SetA t(int, KDdString*&) requires an lvalue. "KDdString.cpp", line 785: Where: While instantiating "KArray<KDdString*, KD dString*&>::InsertAt(int, KArray<KDdString*, KDdString*&>*)". "KDdString.cpp", line 785: Where: Instantiated from non-template code. 2 Error(s) and 2 Warning(s) detected.

#LibTarget(OraPpoms,$(CPPOBJECTS)) 06 Dec 2002 : Changes done 1) Modified Imakefile of adp, dbs, typ, clk to include adpres.o in adp.a and adp3.a and similarly for other sub-systems (like dbs, typ, clk) 2) To be done : To modify sun.rules in path home/nreni/project/unifiedadp/master_p/tools/lib/imake/config to include code for ExportTopLevelObj() to export dbcreate.o and dbststubs.o in root level ../objs/mtdbg just like we have ExportObj() 3) Modified Imakefile of OrantSvc to build OraPpoms.a and copied OraPpoms.a into root level ../libs/mtdbg.Also modified Imakefile in poms for dbcreate to include OraPpoms.a as static library to build dbcreate. 4) During building dbcreate ,getting linking error: ild: (undefined symbol) adp_sql_install_debugger_log_cb -- referenced in the text segment of ../libs/mtdbg/dbs.a(dbssql.o) which is due to mangling is occurring for symbol "adp_sql_install_debugger_log_cb" coming to adp.a So, I modified adp_sql_install_debugger_log_cb() in adpsql.cpp to include extern C in its prototype.

/opt/SUNWspro/bin/CC -o mtdbg/dbcreate -g -ptrmtdbg -pta -mt ../obj/mtdbg/dbc reate.o ../obj/mtdbg/dbststub.o ../libs/mtdbg/libglobalc.so ../libs/mtdbg/KOsApi Lib.a ../libs/mtdbg/KMfcCrtLib.a ../libs/mtdbg/KMfcCrt.a ../libs/mtdbg/BoUtils.a ../libs/mtdbg/OraPpoms.a ../libs/mtdbg/str.a ../libs/mtdbg/str.a /usr/lib/vendo r/solaris//lib/libdb.a /usr/lib/libdl.so /usr/lib/libaio.so ../libs/mtdbg/cmn_cp p.a ../libs/mtdbg/cmn.a -L/mass1/app/ora816/product/816/lib -lwtc8 -lclntsh These #defines have been added in adp.h #define LPCSTR PCMBStr #define LPCTSTR PCStr #define LPTSTR PStr #define PSTR PMBStr #define PCSTR PCMBStr EXTRA_DEFINES = -D_DECOUPLE LOCAL_DEFINES = -D_CBO_UNIX -D_SOLARIS WINDU_DEFINES = WINDU_LIBS = WINDU_INCLUDES = EXTRA_INCLUDES = -I../ppm/include -I../ppm/CboCompnt/Include -I../ppm/include/d ummy

BoUtils: ClfyBld Info]: Building mtdbg/KUtlCboConfig.o /opt/SUNWspro/bin/CC -c -g -ptrmtdbg -pta -mt -I. -I../include -I../../../inclu de -I../../../dev_link/include -I../../include -I./include -DSVR4 -D_REENTRANT -I../include -I../include/dummy -I../../../poms/ppm/include -I../../../poms/ ppm/CboCompnt/Include -I../../../poms/ppm/compnt/include/GlobalC -I/opt/tuxedo/i nclude -I. -I../include -I../../../include -I../../../dev_link/include -I../../ include -I../../../xvt/motif1.2/include -I../../../xvt/motif1.2/src -DSVR4 -D _REENTRANT -DANSI -DOSBSD -DWSMTF -DCCUNIX -DMOTIF_1_1 -D_NO_PROTO -DXVT_INCL_M ENU -DHASCXX -D_CBO_UNIX -D_SOLARIS -D_DEBUG -o mtdbg/KUtlCboConfig.o KUtlCboConfig.cpp Orantsvc: /opt/SUNWspro/bin/CC -c -g -ptrmtdbg -pta -mt -I. -I../include -I../../../inclu de -I../../../dev_link/include -I../../include -I./include -DSVR4 -D_REENTRANT -I../../../poms/ppm/include -I../../../poms/ppm/CboCompnt/Include -I../../.. /poms/ppm/compnt/include/GlobalC -I../../../poms/ppm/compnt/include/TUX7/solaris -I../../../poms/ppm/compnt/include/oci80 -I. -I../include -I../../../include I../../../dev_link/include -I../../include -I../../../xvt/motif1.2/include -I../ ../../xvt/motif1.2/src -DSVR4 -D_REENTRANT -DANSI -DOSBSD -DWSMTF -DCCUNIX DMOTIF_1_1 -D_NO_PROTO -DXVT_INCL_MENU -DHASCXX -D_CBO_UNIX -D_SOLARIS -D_WINDU_ SOURCE -o mtdbg/KOrantDataSvc.o KOrantDataSvc.cpp Dbcreate: + mkdirhier mtdbg rm -f mtdbg/dbcreate CC_wu "CC -O -xcg92 -mt" -ptrsol2 -Qoption ld -t -mt -D_AFXDLL -I/net/hqdevelop/ vol/dev/en/general5/bristol43/windu4/mfc/include -o mtdbg/dbcreate -g -ptrmtdbg -pta -mt ../obj/mtdbg/dbcreate.o ../obj/mtdbg/dbststub.o ../../poms/libs/mtd bg/dbs.a ../../poms/libs/mtdbg/clk.a ../../poms/libs/mtdbg/adp.a ../../poms/libs /mtdbg/typ1.a ../../poms/libs/mtdbg/dbs.a ../../libs/mtdbg/cmn_cpp.a ../../libs/ mtdbg/str.a ../../libs/mtdbg/utl.a ../../libs/mtdbg/dbg.a ../../libs/mtdbg/cmn.a ../../libs/mtdbg/loc.a ../../libs/mtdbg/osl1.a ../../obj/mtdbg/remstub.o ../.. /libs/mtdbg/str.a ../libs/mtdbg/str.a -L../../poms/ppm/BoUtils/mtdbg -lclutils L../../poms/ppm/CboCompnt/KMfcCrt/mtdbg -lclcrt -lm -lsocket -lnsl -lw -ldl Fpa CC=/opt/SUNWspro/bin/CC CFLAGS="-g -mt" buildserver -v -o mtrel/clearad -f "mtre l/fpaauth.o mtrel/fpadbl.o mtrel/fpadb.o mtrel/fpacbl.o mtrel/fpamsg.o mtrel/fpa msgt.o mtrel/fpapi.o mtrel/fpasvc.o mtrel/fpaasts.o mtrel/fpaenv.o mtrel/fpaenvs

a.o mtrel/fpatime.o mtrel/fpastr.o mtrel/fpastub.o -L../../poms/ppm/BoUtils/mtre l -lclutils -L../../poms/ppm/CboCompnt/KMfcCrt/mtrel -lclcrt ../../libs/mtrel/oa b.a ../../libs/mtrel/ost3.a ../../poms/libs/mtrel/dbs3.a ../../poms/libs/mtrel/a dp3.a ../../libs/mtrel/utl.a ../../libs/mtrel/loc.a ../../libs/mtrel/cmn.a ../.. /libs/mtrel/dbg.a ../../libs/mtrel/loc.a ../../libs/mtrel/osl1.a ../../poms/libs /mtrel/clk.a ../../poms/libs/mtrel/adp3.a ../../libs/mtrel/ost3.a ../../poms/lib s/mtrel/typ1.a ../../poms/libs/mtrel/dbs3.a ../../poms/libs/mtrel/adp3.a ../../l ibs/mtrel/cmn.a ../../libs/mtrel/loc.a ../../libs/mtrel/str.a ../libs/mtrel/str. a " -l "" -s AUTHSVC server utilities:
+ mkdirhier mtdbg rm -f mtdbg/dbcreate /opt/SUNWspro/bin/CC -o mtdbg/dbcreate -g -ptrmtdbg -pta -mt ../obj/mtdbg/dbc reate.o ../obj/mtdbg/dbststub.o ../../poms/libs/mtdbg/dbs.a ../../poms/libs/mtdb g/clk.a ../../poms/libs/mtdbg/adp.a ../../poms/libs/mtdbg/typ1.a ../../poms/libs /mtdbg/dbs.a ../../libs/mtdbg/cmn_cpp.a ../../libs/mtdbg/str.a ../../libs/mtdbg/ utl.a ../../libs/mtdbg/dbg.a ../../libs/mtdbg/cmn.a ../../libs/mtdbg/loc.a ../.. /libs/mtdbg/osl1.a ../../obj/mtdbg/remstub.o ../../libs/mtdbg/str.a ../libs/mtd bg/str.a -L../../poms/ppm/BoUtils/mtdbg -lclutils -L../../poms/ppm/CboCompnt/KMf cCrt/mtdbg -lclcrt -lm -lsocket -lnsl -lw -ldl bsdinst -m 755 mtdbg/dbcreate ../bin/dbcreate dbcreate installed as ../bin/dbcreate rm -f mtdbg/dbdelete /opt/SUNWspro/bin/CC -o mtdbg/dbdelete -g -ptrmtdbg -pta -mt ../obj/mtdbg/dbd elete.o ../obj/mtdbg/dbststub.o ../../poms/libs/mtdbg/dbs.a ../../poms/libs/mtdb g/clk.a ../../poms/libs/mtdbg/adp.a ../../poms/libs/mtdbg/typ1.a ../../poms/libs /mtdbg/dbs.a ../../libs/mtdbg/cmn_cpp.a ../../libs/mtdbg/str.a ../../libs/mtdbg/ utl.a ../../libs/mtdbg/dbg.a ../../libs/mtdbg/cmn.a ../../libs/mtdbg/loc.a ../.. /libs/mtdbg/osl1.a ../../obj/mtdbg/remstub.o ../../libs/mtdbg/str.a ../libs/mtd bg/str.a -L../../poms/ppm/BoUtils/mtdbg -lclutils -L../../poms/ppm/CboCompnt/KMf cCrt/mtdbg -lclcrt -lm -lsocket -lnsl -lw -ldl bsdinst -m 755 mtdbg/dbdelete ../bin/dbdelete dbdelete installed as ../bin/dbdelete rm -f mtdbg/ddcomp /opt/SUNWspro/bin/CC -o mtdbg/ddcomp -g -ptrmtdbg -pta -mt ../obj/mtdbg/typsm ain.o ../obj/mtdbg/typlex.o ../obj/mtdbg/typbld.o ../../poms/str/mtdbg/typres.o ../../poms/libs/mtdbg/typ1.a ../../poms/libs/mtdbg/adp.a ../../poms/libs/mtdbg/d bs.a ../../poms/libs/mtdbg/clk.a ../../poms/libs/mtdbg/adp.a ../../libs/mtdbg/ut l.a ../../libs/mtdbg/cmn.a ../../libs/mtdbg/dbg.a ../../libs/mtdbg/loc.a ../../l ibs/mtdbg/osl1.a ../../obj/mtdbg/remstub.o ../../libs/mtdbg/str.a ../libs/mtdbg /str.a -L../../poms/ppm/BoUtils/mtdbg -lclutils -L../../poms/ppm/CboCompnt/KMfcC rt/mtdbg -lclcrt ../../libs/mtdbg/cmn_cpp.a ../../libs/mtdbg/cmn.a -lm -lsoc ket -lnsl -lw -ldl bsdinst -m 755 mtdbg/ddcomp ../bin/ddcomp ddcomp installed as ../bin/ddcomp objects: No such file or directory Breaking down database libraries into individual object files Extracting library ../../../poms/libs/mtdbg/typ1.a Extracting library ../../../poms/libs/mtdbg/adp.a Extracting library ../../../poms/libs/mtdbg/dbs.a Extracting library ../../../poms/libs/mtdbg/clk.a

Breaking down libraries into individual object files Extracting library ../../../libs/mtdbg/oab.a Extracting library ../../../libs/mtdbg/gen.a Extracting library ../../../libs/mtdbg/ost.a Extracting library ../../../poms/libs/mtdbg/typ1.a Extracting library ../../../poms/libs/mtdbg/adp.a Extracting library ../../../poms/libs/mtdbg/dbs.a Extracting library ../../../poms/libs/mtdbg/clk.a Extracting library ../../../poms/libs/mtdbg/adp.a Extracting library ../../../libs/mtdbg/utl.a Extracting library ../../../libs/mtdbg/loc.a Extracting library ../../../libs/mtdbg/cmn.a Extracting library ../../../libs/mtdbg/dbg.a Extracting library ../../../libs/mtdbg/loc.a Extracting library ../../../libs/mtdbg/osl1.a Extracting library ../../../libs/mtdbg/oau.a Extracting library ../../../libs/mtdbg/com.a Extracting library ../../../libs/mtdbg/cpi.a Extracting library ../../../libs/mtdbg/cmn_cpp.a Breaking down HLAPI libraries into individual object files Extracting library ../../../libs/mtdbg/zac.a Extracting library ../../../libs/mtdbg/zca.a Extracting library ../../../libs/mtdbg/zqu.a Extracting library ../../../libs/mtdbg/zbc.a Extracting library ../../../libs/mtdbg/zut.a Extracting library ../../../libs/mtdbg/zpi.a Extracting library ../../../libs/mtdbg/zrq.a Extracting library ../../../libs/mtdbg/zsb.a Extracting library ../../../libs/mtdbg/ztm.a Extracting library ../../../libs/mtdbg/zst.a Extracting library ../../../libs/mtdbg/zct.a Extracting library ../../../libs/mtdbg/zct_cpp.a Link mtdbg/clearzpi.a Done make mtdbg/clearzpi.a. rm -f mtdbg/dbmcrobj /opt/SUNWspro/bin/CC -o mtdbg/dbmcrobj -g -ptrmtdbg -pta -mt ../../obj/mtdbg/ dbmcrobj.o ../../obj/mtdbg/dbmstr.o ../../libs/mtdbg/gen.a ../../libs/mtdbg/oau. a ../../libs/mtdbg/sfs.a ../../libs/mtdbg/oab.a ../../libs/mtdbg/prb.a ../../lib s/mtdbg/sln.a ../../poms/libs/mtdbg/sce.a ../../poms/libs/mtdbg/clk.a ../../libs /mtdbg/ost.a ../../poms/libs/mtdbg/adp.a ../../poms/libs/mtdbg/typ1.a ../../poms /libs/mtdbg/dbs.a ../../libs/mtdbg/cmn_cpp.a ../../libs/mtdbg/utl.a ../../libs/m tdbg/loc.a ../../libs/mtdbg/cmn.a ../../libs/mtdbg/dbg.a ../../libs/mtdbg/osl1. a ../../poms/libs/mtdbg/clk.a ../../poms/libs/mtdbg/adp.a ../../obj/mtdbg/remstu b.o ../../libs/mtdbg/str.a ../libs/mtdbg/str.a -L../../poms/ppm/BoUtils/mtdbg -l clutils -L../../poms/ppm/CboCompnt/KMfcCrt/mtdbg -lclcrt -lm -lsocket -lnsl lw -ldl bsdinst -m 755 mtdbg/dbmcrobj ../bin/dbmcrobj dbmcrobj installed as ../bin/dbmcrobj rm -f mtdbg/dataex /opt/SUNWspro/bin/CC -o mtdbg/dataex -g -ptrmtdbg -pta -mt ../obj/mtdbg/scema in2.o ../obj/mtdbg/scegen.o ../obj/mtdbg/sceexp.o ../obj/mtdbg/scelex.o ../obj/m tdbg/sceimp.o ../obj/mtdbg/scestr.o ../obj/mtdbg/scerule.o ../../poms/str/mtdbg/ sceres.o ../../obj/mtdbg/remstub.o ../../libs/mtdbg/oab.a ../../libs/mtdbg/ost.a ../../poms/libs/mtdbg/dbs.a ../../poms/libs/mtdbg/typ1.a ../../poms/libs/mtdbg/ clk.a ../../poms/libs/mtdbg/adp.a ../../poms/libs/mtdbg/dbs.a ../../libs/mtdbg/d bg.a ../../libs/mtdbg/utl.a ../../libs/mtdbg/cmn.a ../../libs/mtdbg/loc.a ../../

libs/mtdbg/osl1.a ../../libs/mtdbg/str.a ../libs/mtdbg/str.a -L../../poms/ppm/B oUtils/mtdbg -lclutils -L../../poms/ppm/CboCompnt/KMfcCrt/mtdbg -lclcrt ../../li bs/mtdbg/cmn_cpp.a ../../libs/mtdbg/cmn.a -lm -lsocket -lnsl -lw -ldl bsdinst -m 755 mtdbg/dataex ../bin/dataex dataex installed as ../bin/dataex install in exe done

To suppress this message, add the following line to your .dbxrc file: Reading dbcreate Reading ld.so.1 Reading libclutils.so Reading libclcrt.so Reading libm.so.1 Reading libsocket.so.1 Reading libnsl.so.1 Reading libw.so.1 Reading libdl.so.1 Reading libCrun.so.1 Reading libthread.so.1 Reading libc.so.1 Reading libmp.so.2 Reading libc_psr.so.1 detected a multithreaded program

Saroya, I mean that since the entire build tree is on the remote m/c, so it is better to compile and debug on remote machine than to bring the entire build tree on IDC m/c and start compiling and debugging which will be more time consuming.Since we don't have the code tree in IDC local machine, we should not run debugger from local machine. The debugger in local machine requires regular license checking. As I had no oracle instance on remote machine, so I just ran dbcreate (with and without any command line parameters) a)dbcreate without command line parameters : I was expecting that it should give correct syntax of dbcreate like this dbcreate <database_name> <server> <user> <passwd> <dbdev> <dbsize> <logdev> <logsize> <db_site_no> [trunc] b)dbcreate with command line arguments : I was expecting that it should give some message like "oracle instance not avaialble" or "database not found" But in both above cases it gave segmentation fault (core dump) Also , I had run dbcreate with complete command line on local machine with oracle instance, but it gave segmentation fault (core dump)

Vous aimerez peut-être aussi