tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: ray%xtal220 () harvard ! harvard ! edu (Sanjoy Ray)
To: tru64-unix-managers
Subject: SUMMARY: Expect-5.13 make problem
Date: Tue, 07 Feb 1995 14:12:51 +0000	[thread overview]
Message-ID: <96075317506416.tru64-unix-managers.marc@archive.invalid> (raw)

The original message:

>>Hello,
>>Has anyone been successful in compiling Don Libes' Expect-5.13 package
>>(ftp.cme.nist.gov/pub/expect/alpha.tar.Z) on an Alpha? We have a
>>DEC3000 Model 400, for which uname -a gives:
>>
>>OSF1 xtal16.harvard.edu V2.0 240 alpha
>>
>>While Tk and Tcl make without problems, in the case of Expect, the
>>compilation falls over with the message:
>>
>>cc -c  -I. -I. -I./../tcl7.3 -I./../tk3.6 -I/usr/include/X11
>>-DDFLT_STTY=\"sane
>>\"  -DEXP_VERSION=\"5.13.2\"
>>-DSCRIPTDIR=\"/programs/util/expect-5.13/lib/expec
>>t\"  -DEXECSCRIPTDIR=\"/programs/util/expect-5.13/lib/expect\"
>>-DTCL_DEBUGGER -
>>O0 -g  Dbg.c
>>/usr/lib/cmplrs/cc/cfe: Warning: /usr/include/string.h: 211: The number of
>>argum
>>ents in macro invocation does not match definition
>>/usr/lib/cmplrs/cc/cfe: Error: /usr/include/string.h, line 211: Syntax Error
>> extern char *strchr(,);
>> --------------------^
>>*** Exit 1
>>Stop.
>>
>>Not being a c expert, I'm not sure how to correct this. Are pre-compiled
>>Expect binaries available?
>>Thankyou,
>>--Sanjoy

The answer came from Dan Cambron, who suggested:

>> I added -DHAVE_STRCHR to the CFLAGS in the Makefile and it worked.

This worked beautifully. Thanks to all who replied:


Sheila Hollenbaugh <shollen@valhalla.cs.wright.edu>
"Dan Cambron" <Dan_Cambron@tempeqm.sps.mot.com>
"Hellebx Knut" <bgk1142@bggfu2.nho.hydro.com>

--Sanjoy

********************************************************************************

Dr. Sanjoy Ray
Systems Manager
HHMI Laboratory for Molecular Medicine
Children's Hospital
300 Longwood Avenue
Boston MA 02115

Tel:    617-735-6563
FAX:    617-730-0506
e-mail: ray@xtal220.harvard.edu

********************************************************************************

                 reply	other threads:[~1995-02-07 14:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox