Re: [Rd] Cannot link mypackage to 2 other packages

From: <hpages_at_fhcrc.org>
Date: Wed, 06 Aug 2008 23:47:10 -0700

Quoting Prof Brian Ripley <ripley_at_stats.ox.ac.uk>:

> What platform?

64-bit openSUSE Linux

hpages_at_george1:~> uname -a
Linux george1 2.6.22.12-0.1-default #1 SMP 2007/11/06 23:05:18 UTC x86_64 x86_64 x86_64 GNU/Linux

R version 2.8.0 Under development (unstable) (2008-07-07 r46046)

>
> We've seen a similar report that said the problem was on Windows only.
> Like this one, it had nothing to reproduce.

Do you want me to send you the packages or to put them somewhere on our website?

Thanks!
H.

>
> On Wed, 6 Aug 2008, hpages@fhcrc.org wrote:
>
>> Hi,
>>
>> I need to link mypackage to 2 other packages so I can call
>> some C functions defined in these 2 packages from mine.
>>
>> I've tried
>> Depends: packageA, packageB
>> LinkingTo: packageA, packageB
>> as suggested by the "5.4 Registering native routines" section
>> of the "Writing R Extensions" manual but then only packageA is
>> seen at compilation time (gcc is called with
>> -I"/some/path/to/packageA/include" only).
>>
>> I've also tried
>> Depends: packageA, packageB
>> LinkingTo: packageA
>> LInkingTo: packageB
>> but this time only packageB is seen at compilation time.
>>
>> How can I link mypackage to both packageA and packageB?
>>
>> Thanks!
>>
>> H.
>>
>> ______________________________________________
>> R-devel_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> --
> Brian D. Ripley, ripley_at_stats.ox.ac.uk
> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
> University of Oxford, Tel: +44 1865 272861 (self)
> 1 South Parks Road, +44 1865 272866 (PA)
> Oxford OX1 3TG, UK Fax: +44 1865 272595



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 07 Aug 2008 - 06:52:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Aug 2008 - 07:36:47 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive