This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Marc.Abramowitz
Recipients Garen, Marc.Abramowitz, belopolsky, benjamin.peterson, danchr, dhduvall, dmalcolm, eric.snow, fche, glyph, hazmat, jbaker, jcea, jmcp, laca, larry, lasizoillo, loewis, mjw, movement, neologix, pitrou, rhettinger, robert.kern, ronaldoussoren, scox, serverhorror, sirg3, twleung, wsanchez
Date 2012-06-07.21:58:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339106283.32.0.679891583546.issue13405@psf.upfronthosting.co.za>
In-reply-to
Content
I hacked around the previous error (duplicate definitions of `collect`) and then ran into:

gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes    -I. -I./Include    -DPy_BUILD_CORE -o ./Include/pydtrace_offsets \
		./Include/pydtrace_offsets.c
./Include/pydtrace_offsets.c: In function ‘main’:
./Include/pydtrace_offsets.c:26: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
./Include/pydtrace_offsets.c:29: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
./Include/pydtrace_offsets.c:31: warning: implicit declaration of function ‘offsetof’
./Include/pydtrace_offsets.c:31: error: expected expression before ‘PyCompactUnicodeObject’
./Include/pydtrace_offsets.c:33: error: expected expression before ‘PyCompactUnicodeObject’
make: *** [Include/pydtrace_offsets.h] Error 1

I was able to fix this by adding "#include <stddef.h>".
History
Date User Action Args
2012-06-07 21:58:03Marc.Abramowitzsetrecipients: + Marc.Abramowitz, loewis, rhettinger, jcea, ronaldoussoren, belopolsky, pitrou, wsanchez, movement, larry, benjamin.peterson, serverhorror, glyph, laca, twleung, jbaker, robert.kern, sirg3, danchr, dhduvall, dmalcolm, mjw, Garen, neologix, lasizoillo, fche, hazmat, eric.snow, jmcp, scox
2012-06-07 21:58:03Marc.Abramowitzsetmessageid: <1339106283.32.0.679891583546.issue13405@psf.upfronthosting.co.za>
2012-06-07 21:58:02Marc.Abramowitzlinkissue13405 messages
2012-06-07 21:58:02Marc.Abramowitzcreate