Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xxlimited.obj: unresolved external symbol __imp__PyObject_New #58494

Closed
skrah mannequin opened this issue Mar 13, 2012 · 4 comments
Closed

xxlimited.obj: unresolved external symbol __imp__PyObject_New #58494

skrah mannequin opened this issue Mar 13, 2012 · 4 comments
Labels
build The build process and cross-build

Comments

@skrah
Copy link
Mannequin

skrah mannequin commented Mar 13, 2012

BPO 14286
Nosy @loewis, @brettcannon, @pitrou, @skrah

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2012-06-23.22:03:53.615>
created_at = <Date 2012-03-13.10:25:29.893>
labels = ['build']
title = 'xxlimited.obj: unresolved external symbol __imp__PyObject_New'
updated_at = <Date 2012-06-23.22:03:53.614>
user = 'https://github.com/skrah'

bugs.python.org fields:

activity = <Date 2012-06-23.22:03:53.614>
actor = 'loewis'
assignee = 'none'
closed = True
closed_date = <Date 2012-06-23.22:03:53.615>
closer = 'loewis'
components = ['Build']
creation = <Date 2012-03-13.10:25:29.893>
creator = 'skrah'
dependencies = []
files = []
hgrepos = []
issue_num = 14286
keywords = []
message_count = 4.0
messages = ['155588', '157241', '157249', '163685']
nosy_count = 4.0
nosy_names = ['loewis', 'brett.cannon', 'pitrou', 'skrah']
pr_nums = []
priority = 'normal'
resolution = 'works for me'
stage = 'needs patch'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue14286'
versions = ['Python 3.3']

@skrah
Copy link
Mannequin Author

skrah mannequin commented Mar 13, 2012

Linking fails on Windows 64-bit. Perhaps Py_LIMITED_API ifdefs
are missing.

Creating library C:\Users\stefan\hg\cpython\PCbuild\\amd64\\xxlimited.lib and object C:\Users\stefan\hg\c
python\PCbuild\\amd64\\xxlimited.exp
xxlimited.obj : error LNK2001: unresolved external symbol __imp__PyObject_New
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyType_FromSpec
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyDict_New
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyDict_DelItemString
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyDict_GetItem
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyObject_GenericGetAttr
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyUnicode_Type
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyExc_AttributeError
xxlimited.obj : error LNK2001: unresolved external symbol __imp__Py_NoneStruct
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyArg_ParseTuple
xxlimited.obj : error LNK2001: unresolved external symbol __imp__Py_NotImplementedStruct
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyObject_Free
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyErr_SetString
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyModule_Create2
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyErr_NewException
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyLong_FromLong
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyBaseObject_Type
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyType_GenericNew
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyModule_AddObject
xxlimited.obj : error LNK2001: unresolved external symbol __imp_PyDict_SetItemString
C:\Users\stefan\hg\cpython\PCbuild\\amd64\\xxlimited.pyd : fatal error LNK1120: 20 unresolved externals

@skrah skrah mannequin added build The build process and cross-build labels Mar 13, 2012
@pitrou
Copy link
Member

pitrou commented Mar 31, 2012

Hmm... seems to work here (in release mode, for some reason it's skipped in debug mode).

@loewis
Copy link
Mannequin

loewis mannequin commented Apr 1, 2012

There is no debug version of the stable ABI, hence you can't build it in debug mode.

@loewis
Copy link
Mannequin

loewis mannequin commented Jun 23, 2012

Closing as works-for-me.

@loewis loewis mannequin closed this as completed Jun 23, 2012
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

1 participant