Building Python with VC8 on x64 Vista
danfike at gmail.com
danfike at gmail.com
Mon Sep 24 11:13:53 EDT 2007
On Sep 22, 10:08 am, "Martin v. Löwis" <mar... at v.loewis.de> wrote:
> > 1>py_dyn_test.obj : error LNK2001: unresolved external symbol
> > _Py_NoneStruct
>
> Could it be that py_dyn_test.obj is a x86 (not AMD64) object
> file? Run dumpbin.
Hmm - I've never used dumpbin, but I think I like it.
It doesn't look like these are x86, though. See below:
D:\....\py_dyn_test\x64\Debug>dumpbin /HEADERS py_dyn_test.obj
Microsoft (R) COFF/PE Dumper Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file py_dyn_test.obj
File Type: COFF OBJECT
FILE HEADER VALUES
8664 machine (x64)
....
D:\....\3rdParty\Python25\libs>dumpbin /HEADERS python25_d.lib
Microsoft (R) COFF/PE Dumper Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file python25_d.lib
File Type: LIBRARY
FILE HEADER VALUES
8664 machine (x64)
3 number of sections
46F3CED2 time date stamp Fri Sep 21 09:01:54 2007
113 file pointer to symbol table
8 number of symbols
0 size of optional header
0 characteristics
<snip>
Version : 0
Machine : 8664 (x64)
TimeDateStamp: 46F3CED2 Fri Sep 21 09:01:54 2007
SizeOfData : 0000001E
DLL name : python25_d.dll
Symbol name : _Py_NoneStruct
Type : data
Name type : name
Hint : 900
Name : _Py_NoneStruct
<etc>
More information about the Python-list
mailing list