gschlossnagle / yappi

Automatically exported from code.google.com/p/yappi
MIT License
0 stars 0 forks source link

Package does not build #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
'dhead' and 'dsize' are wrongfully defined in the .h file, causing them to be 
linkage duplicates...

The trivial solution is to move them to _ymem.c

Original issue reported on code.google.com by vmal...@gmail.com on 25 Feb 2010 at 8:45

GoogleCodeExporter commented 8 years ago
package does not build because of that? It is ok to move the globals to ymem.c, 
but I
don't think it is causing a cannot fresh-build problem?

Original comment by oktaka...@gmail.com on 25 Feb 2010 at 2:54

GoogleCodeExporter commented 8 years ago
It does. ld on Mac OSX fails for linkage errors. I moved it to _ymem.c and it 
built fine...

Original comment by vmal...@gmail.com on 25 Feb 2010 at 3:00

GoogleCodeExporter commented 8 years ago
Hmm.. MACOSx, I have not tested compile on that platform. Please inform me if 
you
find any other issues with yappi on MacOSx. Thanks.

Original comment by oktaka...@gmail.com on 25 Feb 2010 at 9:31

GoogleCodeExporter commented 8 years ago
Updated latest version to 0.42, done few changes as you have specified. 
However, it
would be very nice if you can help me test some compile arguments on MACOSX 
with the
latest version. All you have todo is:

1) Download 0.42 try compile. See compile works.
2) Comment in the line in setup py: #extra_compile_args = ["-D DEBUG_MEM", "-D
DEBUG_CALL", "-D YDEBUG"]. These are all the compile arguments available in 
yappi.
See compile works.

Thanks,

Original comment by sum...@gmail.com on 25 Feb 2010 at 10:17

GoogleCodeExporter commented 8 years ago
Compiles great now, also with the comment-out line. Haven't actually used it 
yet, but at 
least it passes the compilation phase. Thanks!

Original comment by vmal...@gmail.com on 28 Feb 2010 at 8:29

GoogleCodeExporter commented 8 years ago
Thank you very much for the confirmation.

Original comment by oktaka...@gmail.com on 28 Feb 2010 at 10:28

GoogleCodeExporter commented 8 years ago

Original comment by sum...@gmail.com on 8 Mar 2010 at 2:34