Re: [rvm-research] Resolving External References

Robin Garner <[email protected]> Tue, 5 Dec 2017 12:29:39 +1100
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi Khaled,

Sounds like you need to add your libraries to the GCC command used to 
build the boot image runner.

You can track down the places where build.xml needs modifying by 
tracking one of the other external libraries, such as gcspy or 
perfevent.  Look for the symbol perfevent.lib and add your libraries 
wherever you see a reference to it.


You can get a better idea of what to do by looking at the ant task that 
caused the failure.  Ant prints the name of each task as it executes it, 
so this is not hard to identify.

cheers


On 05/12/17 05:32, Khaled Z Mahmoud wrote:
> Hi,
>
> I think this is not a difficult question. We have some modifications 
> to JikesRVM and we do place calls to C code via JNI.
>
> When I compile, I receive the following error:
>
>
> /home/*maikon*/jikes/jikesrvm/target/FullAdaptiveMarkSweep_x86_64-linux/libjvm.so: 
> undefined reference to `SetPackageTimeWindowLimit'
>
>
> I am now using the latest version of JikesRVM. I know the so files 
> that contain these functions. How shall I resolve this error ?
>
> Thank You
>
> -- 
> Regards,
> Khaled Mahmoud
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers