On Sun, May 8, 2011 at 4:59 PM, Marcos Douglas <[email protected]> wrote: > On Sun, May 8, 2011 at 3:58 PM, Marcos Douglas <[email protected]> wrote: >> Hi, >> I was compiling the FPC and the computer was turned off by >> accidentally... so, I turn on again and tried to compile. I could not. >> >> ERROR: >> make[4]: Leaving directory >> `W:/md/dev/freepascal/compiler/2.4.3/packages/oracle' >> make[3]: Leaving directory >> `W:/md/dev/freepascal/compiler/2.4.3/packages/oracle' >> >> make -C odbc smart >> make[3]: Entering directory >> `W:/md/dev/freepascal/compiler/2.4.3/packages/odbc' >> make all LINKSMART=1 CREATESMART=1 >> make[4]: Entering directory >> `W:/md/dev/freepascal/compiler/2.4.3/packages/odbc' >> W:/md/dev/freepascal/binutils/i386-win32/gmkdir.exe -p units/i386-win32 >> W:/md/dev/freepascal/compiler/2.4.3/compiler/ppc386.exe -XX -CX -Ur -Xs -O2 >> -n - >> FuW:/md/dev/freepascal/compiler/2.4.3/rtl/units/i386-win32 -Fisrc -FE. >> -FUunits/ >> i386-win32 -di386 -dRELEASE src/odbcsql.pas >> odbcsql.pas(8) Error: Invalid DLL C:\WINDOWS\system\odbc.dll: invalid magic >> code >> >> odbcsql.inc(1715,1) Fatal: There were 1 errors compiling module, stopping >> Fatal: Compilation aborted >> make[4]: *** [odbcsql.ppu] Error 1 >> make[4]: Leaving directory >> `W:/md/dev/freepascal/compiler/2.4.3/packages/odbc' >> make[3]: *** [fpc_smart] Error 2 >> make[3]: Leaving directory >> `W:/md/dev/freepascal/compiler/2.4.3/packages/odbc' >> make[2]: *** [odbc_smart] Error 2 >> make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.3/packages' >> make[1]: *** [packages_smart] Error 2 >> make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.3' >> make: *** [build-stamp.i386-win32] Error 2 >> >> W:\md\dev\freepascal\compiler\2.4.3> >> >> -- >> FPC revision: 17417 >> Lazarus 0.9.30.1 r29237 FPC 2.4.3 i386-win32-win32/win64 > > The trunk version I compiled OK. > The odbcsql.pas in /trunk is equal to odbcsql.pas in /branches/fixes_2_4 > > So, what the problem? > I use WinXP SP3.
I resolved. Path in attachment (copy from /trunk). Marcos Douglas
odbcsql.patch
Description: Binary data
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
