Teruhiko Kurosaka

Show:

What's happening?

  • Followup: RE: What is the meaning of %total and total

    I have a related question. I downloaded jip-1.1.1 and applied it to my program. Under the "Most expensive methods summarized" heading, the first method's Pct is 147.1. This means 147.1%, correct? How can the net time exceeds 100%? This program uses JNI to call out C++. Would this be a problem perhaps?.

    2009-05-22 23:23:35 UTC in Java Interactive Profiler

  • Comment: swig generated PHP5 module causes "already destroyed" error

    I tried this with swig-1.3.33 and php-5.2.5 on Linux, and I still see the error message. The php manual reads that dl() is deprecated in SAPI except in CLI: http://devzone.zend.com/manual/function.dl.html Although I used this via CLI, dl() sounds like not well supported. As an experiment, I added: extension=example.so in php.ini and run the sample without the dl() function, i.e.: php...

    2008-01-23 00:54:13 UTC in SWIG

  • Comment: php5 makefile issues

    The build rule for .so would probably better be: $(CC) $(LDFLAGS) $(OBJS) -o $@ $(EXTRA_LIB) I.e. use $@ rather than $(MODULE)

    2007-01-12 19:31:46 UTC in SWIG

  • Comment: swig generated PHP5 module causes "already destroyed" error

    Sorry, this is a dup made by mistake. I'll delete it.

    2007-01-12 19:30:27 UTC in SWIG

  • swig generated PHP5 module causes "already destroyed" error

    % swig -php5 -make -withc "example.c" example.i Edit makefile to: * Change `php -r '{....}'` to $(shell php -r '....}') * Change $(PROG) to $(MODULE) * Add -DZTS, -pthread, etc. (See the other php bug) Copy example.so to the PHP5 module directory. $ php -r 'dl("example.so"); echo gcd(27, 9) . "\n";' 9 /phpdev/php-5.2.0/Zend/zend_hash.c(679) : ht=0x88163e0 is already destroyed.

    2007-01-12 19:28:42 UTC in SWIG

  • swig generated PHP5 module causes "already destroyed" error

    % swig -php5 -make -withc "example.c" example.i Edit makefile to: * Change `php -r '{....}'` to $(shell php -r '....}') * Change $(PROG) to $(MODULE) * Add -DZTS, -pthread, etc. (See the other php bug) Copy example.so to the PHP5 module directory. $ php -r 'dl("example.so"); echo gcd(27, 9) . "\n";' 9 /phpdev/php-5.2.0/Zend/zend_hash.c(679) : ht=0x88163e0 is already destroyed.

    2007-01-12 01:24:06 UTC in SWIG

  • php5 makefile issues

    This is against swig 1.3.31 compiled for Linux. The makefile that is genererated by swig with -make option for PHP 5 causes make (GNU 3.79.1) as seen below: % cd Example/php4/simple % swig -php5 -make -withc "example.c" % make -n makefile:17: *** target pattern contains no `%'. Stop. Where the offending line is: $(MODULE): $(OBJS) And MODULE is dynamically generated as...

    2007-01-12 01:17:39 UTC in SWIG

About Me

  • 2001-12-11 (8 years ago)
  • 399386
  • tkurosaka (My Site)
  • Teruhiko Kurosaka

Send me a message