AMBER Archive (2002)

Subject: Re: amber on RH8

From: chernhoe (chernhoe_at_imcb.nus.edu.sg)
Date: Wed Nov 06 2002 - 22:43:41 CST


The following error message was observed when I tried to compile using
Machine.ifc on an AMD XP 1800+ machine using Red Hat 8 with updated
rpms.

gcc -g -DDEBUG -DMEMORY_DEBUG=0 -I.. -w -I/usr/X11R6/include
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15
-DNARROWPROTO -c -o unit.o unit.c
gcc -g -DDEBUG -DMEMORY_DEBUG=0 -I.. -w -I/usr/X11R6/include
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15
-DNARROWPROTO -c -o unitio.o unitio.c
unitio.c: In function `zbUnitIOIndexBondParameters':
unitio.c:1318: `sTemp1' undeclared (first use in this function)
unitio.c:1318: (Each undeclared identifier is reported only once
unitio.c:1318: for each function it appears in.)
unitio.c:1318: `sTemp2' undeclared (first use in this function)
make[3]: *** [unitio.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [World] Error 2
make: *** [install] Error 2

The following error message was observed when I used Machine.g77. Could
the default gcc 3.2 compiler be a problem?

gcc -g -DDEBUG -DMEMORY_DEBUG=0 -I.. -w -I/usr/X11R6/include
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15
-DNARROWPROTO -c -o unit.o unit.c
gcc -g -DDEBUG -DMEMORY_DEBUG=0 -I.. -w -I/usr/X11R6/include
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15
-DNARROWPROTO -c -o unitio.o unitio.c
unitio.c: In function `zbUnitIOIndexBondParameters':
unitio.c:1318: `sTemp1' undeclared (first use in this function)
unitio.c:1318: (Each undeclared identifier is reported only once
unitio.c:1318: for each function it appears in.)
unitio.c:1318: `sTemp2' undeclared (first use in this function)
make[3]: *** [unitio.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [World] Error 2
make: *** [install] Error 2

On Thu, 2002-11-07 at 01:12, David A. Case wrote:
> On Wed, Nov 06, 2002, chernhoe wrote:
>
> > I could not compile the X-windows version of leap on RH8. Does anyone
> > have a solution?
> >
>
> Can you give us some clue about what happened? Error message, other
> information?
>
> ..dac
>
> --
>
> ==================================================================
> David A. Case | e-mail: case_at_scripps.edu
> Dept. of Molecular Biology, TPC15 | fax: +1-858-784-8896
> The Scripps Research Institute | phone: +1-858-784-9768
> 10550 N. Torrey Pines Rd. | home page:
> La Jolla CA 92037 USA | http://www.scripps.edu/case
> ==================================================================
>