From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23074 invoked from network); 7 Jun 1998 15:58:04 -0000 Received: from ellpspace.math.ualberta.ca (michal@129.128.88.19) by mail2.redhat.com with SMTP; 7 Jun 1998 15:58:04 -0000 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id JAA23730 for axp-list@redhat.com; Sun, 7 Jun 1998 09:58:00 -0600 From: Michal Jaegermann Message-Id: <199806071558.JAA23730@ellpspace.math.ualberta.ca> Subject: Re: Errors compiling Rasmol under Redhat 5.1 To: axp-list@redhat.com Date: Sun, 7 Jun 1998 09:58:00 -0600 (MDT) In-Reply-To: from "Red Hat Linux User" at Jun 6, 98 04:18:11 pm Content-Type: text "Red Hat Linux User" writes: > > When doing an xmkmf and make > > gcc -O2 -I/usr/X11R6/include -I/include -Dlinux -D__alpha__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L > -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO > -DRASMOLDIR=\"/usr/X11R6/lib/rasmol/\" -DEIGHTBIT -c rasmol.c -o ^^^^^^^ You likely want to change that. > rasmol.o > > The compiler complains: > > rasmol.c: In function `OpenConnection': > rasmol.c:328: invalid use of undefined type `struct fd_set' fd_set is in headers a typedef already to a structure so this really should be just 'fd_set'. > and > > rasmol.c: At top level: > rasmol.c:111: storage size of `OrigWaitSet' isn't known Rasmol needs the following set of includes in rasmol.c .... #ifdef linux #include #include #include #include #else #include #endif /* linux */ #endif /* _CONVEX_SOURCE */ .... and after a change outlined above it will compile just fine with glibc. If it works - that I do not know at this moment. :-) Michal