Xref: utzoo comp.sources.bugs:792 comp.sources.d:1818 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!decvax!tektronix!tekcrl!tekfdi!videovax!stever From: stever@videovax.Tek.COM (Steven E. Rice, P.E.) Newsgroups: comp.sources.bugs,comp.sources.d Subject: Re: v13i046: Program to make mailing labels Message-ID: <4855@videovax.Tek.COM> Date: 20 Feb 88 07:03:21 GMT References: <411@fig.bbn.com> Reply-To: stever@videovax.Tek.COM (Steven E. Rice, P.E.) Organization: Tektronix Television Systems, Beaverton, Oregon Lines: 38 Summary: What/where is "getcwd"? Rich $alz posted this label printing program on comp.sources.unix just a day or so ago: > Submitted-by: Joe Chen > Posting-number: Volume 13, Issue 46 > Archive-name: labels > > > LABELS is a label formatting program. It formats labels/mailing lists > according to user-defined label forms. This program has been fully > tested under Sun Unix 3.2 (BSD UNIX) and should work on any BSD UNIX > systems. It should also work under other UNIX systems with little > changes. As for non-Unix systems, like MS-DOS, you would need lex > and yacc for the PC, or obtain lex.yy.c and y.tab.* from an UNIX system. > > Joe S. Chen When I tried to compile it, I was disappointed: Running Yacc... Compiling: y.tab.c Running Lex... Compiling: lex.yy.c Compiling: main.c Linking labels... ld : following symbol(s) referenced but not defined: (ld2) _getcwd make : *** Error code 1 (make17) make : Stop. (make15) So, what is _getcwd (I know, the C routine "getcwd". . .), and where do I find it? Steve Rice ----------------------------------------------------------------------------- * Every knee shall bow, and every tongue confess that Jesus Christ is Lord! * new: stever@videovax.tv.Tek.com old: {decvax | hplabs | ihnp4 | uw-beaver}!tektronix!videovax!stever