Bonjour,
Je viens d'installer un serveur DB2 (sous windows 2000 server), avec :
- DB2 7.2
- Visual Studio 6 (pour compiler les procedures stockées)
Ces techno sont imposées par le client.
La compilation sur un ancien serveur fonctionne parfaitement, mais quand j'essaye de compiler une procédure sur le nouveau, voila le message obtenu :
MON_PROJET.PRC_AD_DELETECONSIGNE2 - Create stored procedure returns -7032.
MON_PROJET.PRC_AD_DELETECONSIGNE2:
*** BIND C:\PROGRA~1\SQLLIB\function\routine\sqlproc\MON_PROJET\MON_PROJET\tmp\P2709590.sqc ***
LINE MESSAGES FOR P2709590.sqc
------ --------------------------------------------------------------------
SQL0060W The "C" precompiler is in progress.
SQL0091W Precompilation or binding was ended with "0"
errors and "0" warnings.
*** COMPILE C:\PROGRA~1\SQLLIB\function\routine\sqlproc\MON_PROJET\MON_PROJET\tmp\P2709590.c ***
DB2_SQLROUTINE_COMPILER_PATH=C:\Program Files\Microsoft Visual Studio\VC98\Bin
@echo on
set SQLROUTINE_FILENAME=P2709590
set db2path=C:\PROGRA~1\SQLLIB
nmake /f C:\PROGRA~1\SQLLIB\function\routine\sqlproc.mak
*** C:\PROGRA~1\SQLLIB\function\routine\sqlproc\MON_PROJET\MON_PROJET\tmp\P2709590.def ***
LIBRARY P2709590
EXPORTS _pgsjmp@16
pgsjmp=_pgsjmp@16
C:\PROGRA~1\SQLLIB\function\routine\sqlproc\MON_PROJET\MON_PROJET\tmp>set SQLROUTINE_FILENAME=P2709590
C:\PROGRA~1\SQLLIB\function\routine\sqlproc\MON_PROJET\MON_PROJET\tmp>set db2path=C:\PROGRA~1\SQLLIB
C:\PROGRA~1\SQLLIB\function\routine\sqlproc\MON_PROJET\MON_PROJET\tmp>nmake /f C:\PROGRA~1\SQLLIB\function\routine\sqlproc.mak
cl -Ox -W2 -TC -D_X86_=1 -I"C:\PROGRA~1\SQLLIB\include" P2709590.c /link -dll /out2709590.dll -def
2709590.def "C:\PROGRA~1\SQLLIB\lib\db2api.lib"
P2709590.c
C:\PROGRA~1\SQLLIB\include\sqladef.h(26) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
----------------------------------------------------------------------------
SQL7032N SQL procedure "" not created. Diagnostic file is "". SQLSTATE=00000
MON_PROJET.PRC_AD_DELETECONSIGNE2 - Changes rolled back.
MON_PROJET.PRC_AD_DELETECONSIGNE2 - Build failed.
Avez-vous une idée ?
Merci par avance !!








Répondre avec citation
Partager