Steve D'Aprano <steve+pyt...@pearwood.info> writes:
> ...
> but the build still fails, with the same errors:
>
>
> Python/dtrace_stubs.o: In function `PyDTrace_LINE':
> /home/steve/python/python-dev/cpython/Include/pydtrace.h:25: multiple
> definition of `PyDTrace_LINE'
> Python/ceval.o:/home/steve/python/python-dev/cpython/Include/pydtrace.h:25:
> first defined here
>   [ ... many, many, many more similar errors ... ]
>
> collect2: ld returned 1 exit status
> make: *** [Programs/_freeze_importlib] Error 1

Looks as if some error has slipped in the sources: you should not have multiple
conflicting definitions for the same symbol (e.g. "PyDTrace_LINE").
Alternatively, your built might fetch wrong headers (e.g. headers
for a different Python version).

I would look at the places from which the "multiple definition"s come
and try to find out why there are multiple of them.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to