Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: koehler@bessta.gsfc.nasa.aspm.gov (Bob Koehler)
Subject: Re: C program under DEC/Alpha
Date: 1998/03/30	[thread overview]
Message-ID: <6fogra$pts@post.gsfc.nasa.gov> (raw)
In-Reply-To: 351460D6.C20A915@cerritos.edu



In article <351460D6.C20A915@cerritos.edu>, lakha001@cerritos.edu writes:
>Can someone help me out with this. I am trying to write a simple C
>program on DEC/Alpha system. For some reason, it just won't compile. I
>am not sure what I am missing out. I looked at the HELP pages on the
>system and the CC run time routines do show popen as a command.
>
>$ CC/DECC/PREFIX_LIBRARY_ENTRIES=ALL_ENTRIE New.c
>
>        fi = popen("PMDF MAIL", "w");
>.............^
>%CC-I-IMPLICITFUNC, In this statement, the identifier "popen" is
>implicitly decl
>ared as a function.
>at line number 6 in file FOO_BAR:[MY.LAKHA001]NEW.C;2
>

You need a later version of VMS.  popen is new for VMS 7.0, and stdio.h knows
that.  If you're using a 6.x you may be able to use the "backport" kit which
gets you the new C library for older vesions than 7.0.  stdio.h may or may not
be updated by the backport kit, you'll have to check (only the copy in
sys$library:decc$rtldef.tlb is actually used).

------------------------------------------------------------------------------
Bob Koehler                     | Computer Sciences Corporation
Hubble Space Telescope Payload  | System Sciences Division
 Flight Software Team           | please remove ".aspm" when replying




      parent reply	other threads:[~1998-03-30  5:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-21  5:00 C program under DEC/Alpha lakha001
1998-03-22  5:00 ` Dr Ivan D Reid, muSR Facility
1998-03-22  5:00   ` lakha001
1998-03-23  5:00   ` Dr Ivan D Reid, muSR Facility
1998-03-23  5:00     ` Greg Thomas
1998-03-23  5:00       ` lakha001
1998-03-24  5:00         ` Greg Thomas
1998-03-24  5:00 ` Hoff Hoffman
1998-03-30  5:00 ` Bob Koehler [this message]
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