[winGRASS] Re: Compiling GRASS on MINGW (:xdr_mem.c: undefined reference to `bcopy')

Markus Neteler neteler at itc.it
Tue Jan 18 04:37:46 EST 2005


(cc grass5)

On Tue, Jan 18, 2005 at 10:13:53AM +0100, Javier A. Yebrin wrote:
> Hi all!
> 
> As Markus pointed out (off list) the problem was that configure could'nt
> find the rpc library. So I've downloaded the SUNRPC package of the Cygwin
> (Sunrpc-4.0.2), placing the librpclib.a in the corresponding folder.
> So configure seems to find this library now, however it still does'nt work. 
> This is the last part of config.log:
> 
> **************************************************************
> int main() {
> xdrmem_create()
> ; return 0; }
> configure:5624: checking for xdrmem_create in -lrpclib
> configure:5641: gcc -o conftest -g -O2  -D__W98__    conftest.c -lrpclib
> 1>&5
> d:/workspace/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../librpclib.a(xdr_mem
> .o)(.text+0xf2):xdr_mem.c: undefined reference to `bcopy'
> d:/workspace/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../librpclib.a(xdr_mem
> .o)(.text+0x142):xdr_mem.c: undefined reference to `bcopy'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 5630 "configure"
> #include "confdefs.h"

Hi,

google search (bcopy mingw) showed this one:

http://sourceforge.net/mailarchive/message.php?msg_id=7959652
 or
http://sourceforge.net/mailarchive/message.php?msg_id=2050128
(it's from 2002, though)

Probably it's worth looking at GNUWIN32:
http://gnuwin32.sourceforge.net/packages/libgw32c.htm
-> bcopy

Not sure but perhaps it's better to move this question to the
'grass5' list.

Markus




More information about the grass-windows mailing list