hi all,

I tried to compile bootloader from svn. (py26, winxp, VS2008)

It failed.

The change occurred betweed r902 and r903.

r902 - OK  (waf branch merged)
r903 - FAILS (Make PyInstaller generate a manifest file for the final
executable)

Attached is the cmdline output.

I'd like to try porting pyinstaller to 64bit windows and thus I need
to compile bootloader with VS2008 as 64bit binary.

Does anybody know how to adjust the bootloader code for VS2008?

Thanks in advance
Martin

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Z:\tmp\pyi_r903\source>python waf configure --no-lsb build
win32 detected
Checking for program gcc or cc           : not found
Checking for program CL                  : C:\Program Files\Microsoft Visual Stu
dio 8\VC\BIN\CL.exe
Checking for program CL                  : C:\Program Files\Microsoft Visual Stu
dio 9.0\VC\BIN\x86_amd64\CL.exe
Checking for program CL                  : C:\Program Files\Microsoft Visual Stu
dio 9.0\VC\BIN\CL.exe
Checking for program CL                  : C:\Program Files\Microsoft Visual Stu
dio 9.0\VC\BIN\amd64\CL.exe
Checking for program CL                  : C:\Program Files\Microsoft Visual Stu
dio 9.0\VC\BIN\CL.exe
Checking for program LINK                : C:\Program Files\Microsoft Visual Stu
dio 9.0\VC\BIN\LINK.exe
Checking for program LIB                 : C:\Program Files\Microsoft Visual Stu
dio 9.0\VC\BIN\LIB.exe
Checking for program MT                  : C:\Program Files\Microsoft SDKs\Windo
ws\v6.0A\bin\MT.exe
Checking for program RC                  : C:\Program Files\Microsoft SDKs\Windo
ws\v6.0A\bin\RC.exe
msvc 8.0
        x86
msvc 9.0
        x86_amd64
        x86
Checking for program python              : C:\Python26\python.exe
Checking for Python version              : 2.6.5
Checking for library python26            : yes
Checking for program python2.6-config    : not found
Checking for program python-config-2.6   : not found
Checking for custom code                 : yes
Checking for library user32              : yes
Checking for library comctl32            : yes
Checking for library kernel32            : yes
Checking for library ws2_32              : yes
Checking for flags -Wl,--as-needed       : not found
'configure' finished successfully (8.250s)
Waf: Entering directory `Z:\tmp\pyi_r903\source\build'
[ 1/64] winrc: windows\run.rc -> build\release\windows\run.res
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

Copyright (C) Microsoft Corporation.  All rights reserved.



[ 2/64] winrc: windows\run.rc -> build\debug\windows\run.res
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

Copyright (C) Microsoft Corporation.  All rights reserved.



[ 3/64] winrc: windows\runw.rc -> build\releasew\windows\runw.res
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

Copyright (C) Microsoft Corporation.  All rights reserved.



[ 4/64] winrc: windows\runw.rc -> build\debugw\windows\runw.res
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

Copyright (C) Microsoft Corporation.  All rights reserved.



[ 5/64] cc: zlib\inflate.c -> build\debug\zlib\inflate_1.o
inflate.c

[ 6/64] cc: zlib\ioapi.c -> build\debug\zlib\ioapi_1.o
ioapi.c
z:\tmp\pyi_r903\source\zlib\ioapi.c(85) : warning C4996: 'fopen': This function
or variable may be unsafe. Consider using fopen_s instead. To disable deprecatio
n, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : s
ee declaration of 'fopen'

[ 7/64] cc: zlib\inffast.c -> build\debug\zlib\inffast_1.o
inffast.c

[ 8/64] cc: zlib\crc32.c -> build\debug\zlib\crc32_1.o
crc32.c

[ 9/64] cc: zlib\unzip.c -> build\debug\zlib\unzip_1.o
unzip.c

[10/64] cc: zlib\inftrees.c -> build\debug\zlib\inftrees_1.o
inftrees.c

[11/64] cc: zlib\zutil.c -> build\debug\zlib\zutil_1.o
zutil.c

[12/64] cc: zlib\adler32.c -> build\debug\zlib\adler32_1.o
adler32.c

[13/64] cc: zlib\inflate.c -> build\release\zlib\inflate_2.o
inflate.c

[14/64] cc: zlib\ioapi.c -> build\release\zlib\ioapi_2.o
ioapi.c
..\zlib\ioapi.c(85) : warning C4996: 'fopen': This function or variable may be u
nsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_N
O_WARNINGS. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(237) : s
ee declaration of 'fopen'

[15/64] cc: zlib\inffast.c -> build\release\zlib\inffast_2.o
inffast.c

[16/64] cc: zlib\crc32.c -> build\release\zlib\crc32_2.o
crc32.c

[17/64] cc: zlib\unzip.c -> build\release\zlib\unzip_2.o
unzip.c

[18/64] cc: zlib\inftrees.c -> build\release\zlib\inftrees_2.o
inftrees.c

[19/64] cc: zlib\zutil.c -> build\release\zlib\zutil_2.o
zutil.c

[20/64] cc: zlib\adler32.c -> build\release\zlib\adler32_2.o
adler32.c

[21/64] cc: zlib\inflate.c -> build\releasew\zlib\inflate_3.o
inflate.c

[22/64] cc: zlib\ioapi.c -> build\releasew\zlib\ioapi_3.o
ioapi.c
..\zlib\ioapi.c(85) : warning C4996: 'fopen': This function or variable may be u
nsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_N
O_WARNINGS. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(237) : s
ee declaration of 'fopen'

[23/64] cc: zlib\inffast.c -> build\releasew\zlib\inffast_3.o
inffast.c

[24/64] cc: zlib\crc32.c -> build\releasew\zlib\crc32_3.o
crc32.c

[25/64] cc: zlib\unzip.c -> build\releasew\zlib\unzip_3.o
unzip.c

[26/64] cc: zlib\inftrees.c -> build\releasew\zlib\inftrees_3.o
inftrees.c

[27/64] cc: zlib\zutil.c -> build\releasew\zlib\zutil_3.o
zutil.c

[28/64] cc: zlib\adler32.c -> build\releasew\zlib\adler32_3.o
adler32.c

[29/64] cc: zlib\inflate.c -> build\debugw\zlib\inflate_4.o
inflate.c

[30/64] cc: zlib\ioapi.c -> build\debugw\zlib\ioapi_4.o
ioapi.c
z:\tmp\pyi_r903\source\zlib\ioapi.c(85) : warning C4996: 'fopen': This function
or variable may be unsafe. Consider using fopen_s instead. To disable deprecatio
n, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : s
ee declaration of 'fopen'

[31/64] cc: zlib\inffast.c -> build\debugw\zlib\inffast_4.o
inffast.c

[32/64] cc: zlib\crc32.c -> build\debugw\zlib\crc32_4.o
crc32.c

[33/64] cc: zlib\unzip.c -> build\debugw\zlib\unzip_4.o
unzip.c

[34/64] cc: zlib\inftrees.c -> build\debugw\zlib\inftrees_4.o
inftrees.c

[35/64] cc: zlib\zutil.c -> build\debugw\zlib\zutil_4.o
zutil.c

[36/64] cc: zlib\adler32.c -> build\debugw\zlib\adler32_4.o
adler32.c

[37/64] cc: windows\winmain.c -> build\release\windows\winmain_5.o
winmain.c
..\windows\winmain.c(69) : warning C4996: 'fileno': The POSIX name for this item
 is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online he
lp for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(722) : s
ee declaration of 'fileno'
..\windows\winmain.c(70) : warning C4996: 'fileno': The POSIX name for this item
 is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online he
lp for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(722) : s
ee declaration of 'fileno'
..\windows\winmain.c(71) : warning C4996: 'fileno': The POSIX name for this item
 is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online he
lp for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(722) : s
ee declaration of 'fileno'
..\windows\winmain.c(74) : warning C4996: 'strcpy': This function or variable ma
y be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_S
ECURE_NO_WARNINGS. See online help for details.
..\windows\winmain.c(75) : warning C4996: 'strcat': This function or variable ma
y be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_S
ECURE_NO_WARNINGS. See online help for details.
..\windows\winmain.c(136) : warning C4996: 'strcpy': This function or variable m
ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_
SECURE_NO_WARNINGS. See online help for details.
..\windows\winmain.c(137) : warning C4996: 'strcat': This function or variable m
ay be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_
SECURE_NO_WARNINGS. See online help for details.
..\windows\winmain.c(138) : warning C4996: 'strcat': This function or variable m
ay be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_
SECURE_NO_WARNINGS. See online help for details.
..\windows\winmain.c(141) : error C2063: 'HANDLE' : not a function
..\windows\winmain.c(141) : error C2143: syntax error : missing ')' before 'type
'
..\windows\winmain.c(141) : error C2059: syntax error : ')'
..\windows\winmain.c(142) : error C2063: 'BOOL' : not a function
..\windows\winmain.c(142) : error C2143: syntax error : missing ')' before 'type
'
..\windows\winmain.c(142) : error C2059: syntax error : ')'
..\windows\winmain.c(144) : error C2275: 'HANDLE' : illegal use of this type as
an expression
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(402) : see
 declaration of 'HANDLE'
..\windows\winmain.c(144) : error C2146: syntax error : missing ';' before ident
ifier 'k32'
..\windows\winmain.c(144) : error C2065: 'k32' : undeclared identifier
..\windows\winmain.c(144) : warning C4047: '=' : 'int' differs in levels of indi
rection from 'HMODULE'
..\windows\winmain.c(145) : error C2065: 'k32' : undeclared identifier
..\windows\winmain.c(145) : warning C4047: 'function' : 'HMODULE' differs in lev
els of indirection from 'int'
..\windows\winmain.c(145) : warning C4024: 'GetProcAddress' : different types fo
r formal and actual parameter 1
..\windows\winmain.c(145) : error C2106: '=' : left operand must be l-value
..\windows\winmain.c(145) : warning C4550: expression evaluates to a function wh
ich is missing an argument list
..\windows\winmain.c(146) : error C2065: 'k32' : undeclared identifier
..\windows\winmain.c(146) : warning C4047: 'function' : 'HMODULE' differs in lev
els of indirection from 'int'
..\windows\winmain.c(146) : warning C4024: 'GetProcAddress' : different types fo
r formal and actual parameter 1
..\windows\winmain.c(146) : error C2106: '=' : left operand must be l-value
..\windows\winmain.c(146) : warning C4550: expression evaluates to a function wh
ich is missing an argument list
..\windows\winmain.c(147) : error C2065: 'k32' : undeclared identifier
..\windows\winmain.c(147) : warning C4047: 'function' : 'HMODULE' differs in lev
els of indirection from 'int'
..\windows\winmain.c(147) : warning C4024: 'FreeLibrary' : different types for f
ormal and actual parameter 1
..\windows\winmain.c(149) : warning C4550: expression evaluates to a function wh
ich is missing an argument list
..\windows\winmain.c(149) : warning C4550: expression evaluates to a function wh
ich is missing an argument list
..\windows\winmain.c(180) : error C2143: syntax error : missing ';' before 'type
'
..\windows\winmain.c(182) : error C2275: 'HANDLE' : illegal use of this type as
an expression
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(402) : see
 declaration of 'HANDLE'
..\windows\winmain.c(182) : error C2146: syntax error : missing ';' before ident
ifier 'k32'
..\windows\winmain.c(182) : error C2065: 'k32' : undeclared identifier
..\windows\winmain.c(182) : warning C4047: '=' : 'int' differs in levels of indi
rection from 'HMODULE'
..\windows\winmain.c(183) : error C2065: 'k32' : undeclared identifier
..\windows\winmain.c(183) : warning C4047: 'function' : 'HMODULE' differs in lev
els of indirection from 'int'
..\windows\winmain.c(183) : warning C4024: 'GetProcAddress' : different types fo
r formal and actual parameter 1
..\windows\winmain.c(183) : error C2106: '=' : left operand must be l-value
..\windows\winmain.c(183) : warning C4550: expression evaluates to a function wh
ich is missing an argument list
..\windows\winmain.c(184) : error C2065: 'k32' : undeclared identifier
..\windows\winmain.c(184) : warning C4047: 'function' : 'HMODULE' differs in lev
els of indirection from 'int'
..\windows\winmain.c(184) : warning C4024: 'FreeLibrary' : different types for f
ormal and actual parameter 1
..\windows\winmain.c(185) : warning C4550: expression evaluates to a function wh
ich is missing an argument list
..\windows\winmain.c(235) : warning C4996: 'strcpy': This function or variable m
ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_
SECURE_NO_WARNINGS. See online help for details.
..\windows\winmain.c(240) : warning C4996: 'strcpy': This function or variable m
ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_
SECURE_NO_WARNINGS. See online help for details.
..\windows\winmain.c(241) : warning C4996: 'strcpy': This function or variable m
ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_
SECURE_NO_WARNINGS. See online help for details.

Waf: Leaving directory `Z:\tmp\pyi_r903\source\build'
Build failed:  -> task failed (err #2):
        {task: cc winmain.c -> winmain_5.o}

Reply via email to