Help, Rasmol installation on Linux

Rimantas Plaipa Rimantas.Plaipa at gf.vu.lt
Mon Oct 12 03:33:51 EST 1998

In article
<Pine.SOL.3.96.981011172657.16161A-100000 at famine.OCF.Berkeley.EDU>, 
sjlee at ocf.Berkeley.EDU says...
>I am having trouble installing Rasmol 2.6b2 on Redhad Linux 5.1 running
>on a Dec Alpha. 
>Has anybody had similar problems?
>rasmol.c:329: invalid use of undefined type `struct fd_set'

Yes I had similar problem compiling RasMol for Caldera Open Linux with 
I solved it by changing the following lines in rasmol.c :

static struct fd_set OrigWaitSet;
static struct fd_set WaitSet;


static fd_set OrigWaitSet;
static fd_set WaitSet;

i.e by removing 'struct'.

It looks that gcc compiler needs (and accepts) this 'struct' keyword only if 
the structure is undefined.
In the file 'rasmol.c' fd_set is defined by certain include file before

Rimantas Plaipa
Vilnius University, dept. of Biochemistry and Biophysics, Lithuania

Rimantas Plaipa,

Department of Biochemistry and Biophysics,
Vilnius University,
Ciurlionio 21/27, Vilnius 2009, Lithuania.

E-mail: rp010gf at voruta.vu.lt
Phone: (370-2)-650381 
Fax: (370-2)-633844

More information about the Bio-soft mailing list

Send comments to us at biosci-help [At] net.bio.net