adam-faulkner / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

Possible endless recursion #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Generate bindings for xlib (/usr/include/X11)

What is the expected output? What do you see instead?
Should generate bindings, instead fails with out of heap space excpetion in 
maven (upping the max heap space is no solution). Running directly from the 
jnaerator jar points to possible endless recursion.

What version of the product are you using? On what operating system?
0.97

Is the problem still present in the latest SVN version ? (you can easily
build from sources with these instructions : not tested

Please provide any additional information below.

Build using ubuntu linux 32-bit

Original issue reported on code.google.com by DeRijcke.Erik@gmail.com on 27 Jul 2011 at 9:43

GoogleCodeExporter commented 8 years ago
Hi Eric,

Thanks for your report !
Have you tried running JNAerator 0.9.8 ? 
(http://code.google.com/p/jnaerator/downloads/detail?name=jnaerator-0.9.8-shaded
.jar)
Also, could you let me know what options you've used to raise the heap space ? 
(MAVEN_OPTS=-Xmx2g would seem like a good start point)
Thanks in advance,
Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 28 Jul 2011 at 2:27

GoogleCodeExporter commented 8 years ago
using the maven 0.98 with 2g heap space results in the following error:
http://pastebin.com/0uvwjX0K

my generation options are: -nocpp -gccLong -library xlib /usr/include/X11

Original comment by DeRijcke.Erik@gmail.com on 28 Jul 2011 at 7:31

GoogleCodeExporter commented 8 years ago
Hi,
This issue moved to Github :
https://github.com/ochafik/nativelibs4java/issues/164

Thanks for not updating this page anymore and adding further comments on Github.
Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 1 Sep 2011 at 7:27