In article
<Pine.SOL.3.96.981011172657.16161A-100000 at famine.OCF.Berkeley.EDU>,
sjlee at ocf.Berkeley.EDU says...
>>Hi,
>>I am having trouble installing Rasmol 2.6b2 on Redhad Linux 5.1 running
>on a Dec Alpha.
>(ftp://marlin.bio.umass.edu/pub/shareware/rasmol/distrib/RasMol26b2.tar.gz)
>>>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
gcc-2.7....
I solved it by changing the following lines in rasmol.c :
static struct fd_set OrigWaitSet;
static struct fd_set WaitSet;
to
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
these
lines.
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