collect2: ld returned 1 exit status when building from source
dieter
dieter at handshake.de
Mon Sep 12 02:59:27 EDT 2016
More information about the Python-list mailing list
Mon Sep 12 02:59:27 EDT 2016
- Previous message (by thread): collect2: ld returned 1 exit status when building from source
- Next message (by thread): collect2: ld returned 1 exit status when building from source
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Steve D'Aprano <steve+python at 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.
- Previous message (by thread): collect2: ld returned 1 exit status when building from source
- Next message (by thread): collect2: ld returned 1 exit status when building from source
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list