Hi,

I encountered the same problem two weeks ago, and I just found the way to compile
APBS on CYGWIN:

1. make suer you have CYGWIN/sunrpc module installed ( library /usr/lib/librpclib.a is required),
2. after you run  APBS configure, use vi to modify file config.status, change line

s,@lib_list@, ... -lreadline -lncurses,;t t

to

s,@lib_list@, ... -lreadline -lncyrses -L/usr/lib -lrpclib, ;t t

3. make; make install

On my computer, thses steps generate apbs.exe successfully.

Regards

Jyh-Shyong Ho, Ph.D.
Research Scientist
National Center for High Performance Computing
Hsinchu, Taiwan, ROC



Nathan Baker wrote:
I've run into this before with Cygwin but haven't been able to trace it to
any specific configuration issues.  In the past, I've fixed it by making
sure *all* of the Cygwin development libraries were installed.  That's
probably over-kill... but it worked.

Good luck,

Nathan

--
Nathan A. Baker, Assistant Professor
Washington University in St. Louis School of Medicine
Dept. of Biochemistry and Molecular Biophysics
Center for Computational Biology
700 S. Euclid Ave., Campus Box 8036, St. Louis, MO 63110
Phone:  (314) 362-2040, Fax:  (314) 362-0234
URL:  http://www.biochem.wustl.edu/~baker  

  
-----Original Message-----
From: apbs-users-admin@cholla.wustl.edu 
[mailto:apbs-users-admin@cholla.wustl.edu] On Behalf Of Sachchi
Sent: Tuesday, February 08, 2005 3:18 PM
To: apbs-users@cholla.wustl.edu
Subject: [Apbs-users] compilation problem on cygwin

Hello group,
I am facing the getting error on compilation of apbs on 
cygwin. Malloc got installed without any problem. Here is the 
last few lines

/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x7
ca): In function `Vio_ctor2':
/usr/local/apbs/src/maloc/src/vsys/vio.c:754: undefined 
reference to `_xdrmem_create'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x1
ee3): In function `Vio_scanf':
/usr/local/apbs/src/maloc/src/vsys/vio.c:1449: undefined 
reference to `_xdr_double'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x1
    
fb6):/usr/local/apbs/src/maloc/src/vsys/vio.c:1438:
  
undefined reference to `_xdr_float'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x2
    
054):/usr/local/apbs/src/maloc/src/vsys/vio.c:1420:
  
undefined reference to `_xdr_int'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x2
    
0b7):/usr/local/apbs/src/maloc/src/vsys/vio.c:1411:
  
undefined reference to `_xdr_char'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x2
    
135):/usr/local/apbs/src/maloc/src/vsys/vio.c:1401:
  
undefined reference to `_xdr_string'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x2
4c2): In function `Vio_printf':
/usr/local/apbs/src/maloc/src/vsys/vio.c:1554: undefined 
reference to `_xdr_double'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x2
    
502):/usr/local/apbs/src/maloc/src/vsys/vio.c:1547:
  
undefined reference to `_xdr_float'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x2
    
542):/usr/local/apbs/src/maloc/src/vsys/vio.c:1535:
  
undefined reference to `_xdr_int'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x2
    
575):/usr/local/apbs/src/maloc/src/vsys/vio.c:1530:
  
undefined reference to `_xdr_char'
/usr/local/apbs/lib/i686-pc-cygwin/libmaloc.a(vio.o)(.text+0x2
    
5d8):/usr/local/apbs/src/maloc/src/vsys/vio.c:1523:
  
undefined reference to `_xdr_string'
collect2: ld returned 1 exit status
make[1]: *** [apbs.exe] Error 1
make[1]: Leaving directory `/usr/local/apbs/src/apbs-0.3.2/bin'
make: *** [all-recursive] Error 1

Please help.
Thanks.
Sachchi.
_______________________________________________
apbs-users mailing list
apbs-users@cholla.wustl.edu
http://cholla.wustl.edu/mailman/listinfo/apbs-users

    


_______________________________________________
apbs-users mailing list
apbs-users@cholla.wustl.edu
http://cholla.wustl.edu/mailman/listinfo/apbs-users