[winGRASS] Compiling GRASS on MINGW (:xdr_mem.c: undefined reference to `bcopy')
Javier A. Yebrin
javier.yebrin at ing.unitn.it
Tue Jan 18 04:13:53 EST 2005
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"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char xdrmem_create();
int main() {
xdrmem_create()
; return 0; }
**************************************************************
Any help on this will be much appreciated.
Thanks in advance
Javier
The Grass source version is 6beta1.
Then we have (all form the mingw site):
*******************************************
MinGW 3.2.0 rc1
MSYS 1.0.1.0
MSYSDTK-1.0.1
bison 1.875.0-2003.02.10-1
gettext 0.11.5-2003-02-01-1
libiconv 1.8.0 -2003.02.01-1
flex 2.5.4a-1
pdcurses 3.6.0- 2003.07.21-1
Sunrpc-4.0.2
********************************************
Configuring like this:
$ ./configure --enable-w11 --without-x
More information about the grass-windows
mailing list