search for: dllname

Displaying 20 results from an estimated 56 matches for "dllname".

2004 Sep 20
1
problem typcasting return of R_ExternalPtrAddr(SEXP s)
In the odesolve routine lsoda(), I allow the function (named func) that calculates the system of differential equations to be defined in a dll that has been dynamically loaded from the file named in dllname. I use getNativeSymbolInfo(func, dllname)$address to get the address of the function and pass it to a C function called via the .Call interface. Inside that C function, I use R_ExternalPtrAddr(deriv_func) to get the function pointer. This requires typcasting the return value of R_ExternalPtrAd...
2005 Sep 28
3
gfortran Makefile for windows
Hi all, (Originally posted to r-help) I'm porting a package that I've worked on for OS X to Windows. The package is written in F95 so I need to compile it with gfortran and link it with gcc4. I've been trying to build an R with gcc4 without luck so far. If there is a binary of such a thing info would be appreciated. This package requires a Makefile. My question is, how can I find
2001 May 13
1
Dynamic C Symbols and Embedding Suggestion
...st code calls this to set up its function list just after R_ReplDllinit() just before entering the do1-loop--- though perhaps this should be integrated into some part of the setup procedure for embedding apps. DllInfo* R_RegisterEmbeddedExecutable(HINSTANCE handle,char* path) { char* dpath,*name,DLLname[PATH_MAX], *p; DeleteDLL(path); if(CountDLL == MAX_NUM_DLLS) { strcpy(DLLerror,"unable to register embedded executable. too many libraries"); return 0; } dpath = malloc(strlen(path)+1); if(dpath == NULL) { strcpy(DLLerror,"Couldn't allocate space for 'path...
2001 Dec 12
1
RE: [R] Rcmd SHLIB problem
...m here (R-1.4.0, unstable, NT4). > > Not sure if it is a bug in R, in perl or in (what I presume) make. > To debug it, I took the relevant line from SHLIB (inserting the > variables): > > make -f d:/uwe-ns/R140-071201/src/gnuwin32/MakeDll > RHOME=d:/uwe-ns/R140-071201 DEBUG=T DLLNAME=pan CFSOURCES='pan.f' > CXXSOURCES='' RCOBJ= > make: *** No rule to make target `'pan.o', needed by `pan.a'. Stop. > > > Now leaving out quotes at some places: > > d:\uwe>make -f d:/uwe-ns/R140-071201/src/gnuwin32/MakeDll > RHOME=d:/uwe-ns/...
2007 Dec 20
2
SHLIB steps on a Makefile
Hi, I need to create a Makefile.win for a given package so as to fiddle slightly with the compilation process. My Makefile works fine in Linux but I am having trouble creating Makefile.win for MinGW. I first looked at the commands that Rcmd SHLIB appeared to be running and copied those onto the Makefile. But one step seems to be missing, the creation of the _res.rc file needed by windres
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help, I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4: C:\TEMP>Rcmd SHLIB tryf.o make[1]: `libR.a' is up to date. make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop. C:\TEMP>Rcmd SHLIB tryf.f make[1]: `libR.a' is up to date. make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop. I
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help, I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4: C:\TEMP>Rcmd SHLIB tryf.o make[1]: `libR.a' is up to date. make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop. C:\TEMP>Rcmd SHLIB tryf.f make[1]: `libR.a' is up to date. make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop. I
2002 Apr 23
1
Can't load native dll
When I try to load winelib dll I get an error message: "err:module:MODULE_LoadLibraryExA Loading of native DLL <dllname> failed (error 193), check this file." The error message is printed for call: DllHandle = LoadLibrary(DllName); This happens even when I try to load standard Wine dlls, like dlls/msisys.ocx.so Did I miss something obvious? Thanks, Andriy Palamarchuk __________________________________...
2002 Jul 31
3
SHLIB
Hi, I'm having a problem using the 'SHLIB' command in R. I keep getting syntax errors. The help gives the following usage for it: Rcmd SHLIB [-o dllname] files 'files' is supposed to be a list of files, but whether I set up a list or a character vector, I still get a syntax error. Does anyone know if they're are supposed to be quotes somewhere in there? If someone has an example of this command that's worked, I'd appreciate it....
1998 Jun 06
1
R-beta: makefile command line for recreating dynload demo dll
Hi, I have gnuwin32 (b18) and the rw0613b.zip version of R. With regards to (re)making the dynload dll demo given (zero.dll) could anyone tell me what the command line for the makefile should be. ie, make -f Makefile.in ...? Thanks for any help -- Douglas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2004 Oct 06
1
Foreign code problem
Hello, I wanted to test the odesolve package and tried to use compiled C-code. But when I do: erg <- lsoda(y, times, "mond", parms, rtol, atol, tcrit=NULL, jacfunc=NULL, verbose=FALSE, dllname="mond", hmin=0, hmax=Inf) I get the error message: Error in lsoda(y, times, "mond", parms, rtol, atol, tcrit = NULL, jacfunc = NULL, : Unable to find mond in mond The C code is: #include <math.h> void mond(long int *neq, double *t, do...
2001 Jan 05
2
running Rcmd INSTALL, again
...nyone give a hint what the following error message (when running Rcmd INSTALL) means and what to do about it? cd D:\Programme\R\rw1020\src\library D:\Programme\R\rw1020\bin\rcmd install testfunctions make: Entering directory `/cygdrive/d/Programme/R/rw1020/src/gnuwin32' dlltool -k --as as --dllname R.dll --def R.exp --output-lib libR.a make: dlltool: Command not found make: *** [libR.a] Error 127 make: Leaving directory `/cygdrive/d/Programme/R/rw1020/src/gnuwin32' *** Installation of testfunctions failed *** -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2017 Jun 14
2
Using LLD to create a .lib from a .def
...; struct Symbol; struct Export { StringRef Name; // N in /export:N or /export:E=N StringRef ExtName; // E in /export:E=N SymbolBody *Sym = nullptr; uint16_t Ordinal = 0; bool Noname = false; bool Data = false; bool Private = false; // If an export is a form of /export:foo=dllname.bar, that means // that foo should be exported as an alias to bar in the DLL. // ForwardTo is set to "dllname.bar" part. Usually empty. StringRef ForwardTo; StringChunk *ForwardChunk = nullptr; // True if this /export option was in .drectves section. bool Directives = false;...
2004 Feb 29
1
Rcmd SHLIB
Ok, I think I may have a path or permissions problem (below). Anyone know which settings I should check? When I use "Rcmd SHLIB <filename>" I get: C:\Program Files\R\rw1081\bin>Rcmd SHLIB info.diffusion.c process_begin: CreateProcess((null), dlltool -k --as as --dllname R.dll --def R. exp --output-lib libR.a, ...) failed. make (e=2): The system cannot find the file specified. make[1]: *** [libR.a] Error 2 make: *** [libR] Error 2 [[alternative HTML version deleted]]
2017 Jun 15
2
Using LLD to create a .lib from a .def
...rt:N or /export:E=N >> StringRef ExtName; // E in /export:E=N >> SymbolBody *Sym = nullptr; >> uint16_t Ordinal = 0; >> bool Noname = false; >> bool Data = false; >> bool Private = false; >> >> // If an export is a form of /export:foo=dllname.bar, that means >> // that foo should be exported as an alias to bar in the DLL. >> // ForwardTo is set to "dllname.bar" part. Usually empty. >> StringRef ForwardTo; >> StringChunk *ForwardChunk = nullptr; >> >> // True if this /export option...
2018 Aug 09
4
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
On 9 August 2018 at 20:37, Tomas Kalibera wrote: | So to answer your original question, this could probably be handled in | Rcpp, Hm. Why do you say that / what did you have in mind? Recall that we do not alter SEXPs or introduce additional additional reference counters -- because we do not think that altering the basic R API for such calls would be a wise strategy. So we do more or less what
2016 Aug 02
0
Creating shared object with BASE in EXPORTS on Windows
It looks like `BASE` is a keyword in the .def file specification. https://github.com/bminor/binutils-gdb/blob/master/ld/deffilep.y#L241-L268 For several keywords, I could replicate the syntax error from ld.exe when the keyword was listed in EXPORTS in the .def file. As far as I can tell, the dllname-win.def file is a must in this case making sure none of the keywords get exported there. Also: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Using_ld_the_GNU_Linker/win32.html -- Kyle Baron Metrum Research Group kyleb at metrumrg.com www.metrumrg.com On Wed,...
2017 Jun 16
2
Using LLD to create a .lib from a .def
...E in /export:E=N >>>> SymbolBody *Sym = nullptr; >>>> uint16_t Ordinal = 0; >>>> bool Noname = false; >>>> bool Data = false; >>>> bool Private = false; >>>> >>>> // If an export is a form of /export:foo=dllname.bar, that means >>>> // that foo should be exported as an alias to bar in the DLL. >>>> // ForwardTo is set to "dllname.bar" part. Usually empty. >>>> StringRef ForwardTo; >>>> StringChunk *ForwardChunk = nullptr; >>>> &g...
2001 Oct 18
3
Rcmd SHLIB in rw1031 (R for Win)
...g/test.a > Defs sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> e:/Rseg/test.def rm -f Defs gcc --shared -s -o e:/Rseg/test.dll e:/Rseg/test.def e:/Rseg/test.a -LE:/RW10 31/src/gnuwin32 -lg2c -lR E:\rw1031\bin>Rcmd SHLIB e:/Rseg/test.c dlltool -k --as as --dllname R.dll --def R.exp --output-lib libR.a gcc -IE:/RW1031/src/include -include E:/RW1031/src/include/globalvar.h -Wall -O2 -c e:/Rseg/test.c -o e:/Rseg/test.o e:/Rseg/test.c:78: warning: `/*' within comment e:/Rseg/test.c: In function `printListElement': e:/Rseg/test.c:15: warning: unused v...
2007 Jan 22
2
local IP address for NETWORK SOCKET
How wine define local IP settings for creating socket? does it use tcp/ip API of Linux kernel? have a problem with few networking application. It is able to use simple queries if it is forks just as client for example Internet browser, but if it trying to create socket it listen port on a wrong IP address or just does not create socket.... also in .wine directory I find file .wine/igsp.log which