delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/24/04:13:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B0CC986.574E5D9@wanadoo.fr>
Date: Thu, 24 May 2001 10:42:46 +0200
From: Jerome Benoit <JGMBenoit AT wanadoo DOT fr>
Reply-To: JGMBenoit AT wanadoo DOT fr
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.7 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "George J. Wakileh" <george DOT wakileh AT vol DOT at>
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Compiling ghostview 1.5
References: <01C0E437 DOT D4AC74E0 AT george DOT wakileh@vol.at>

"George J. Wakileh" wrote:

Why don't you use GSView ?


> Hello,
>
> I have cygwin 1.3.1 and am trying to compile ghostview 1.5.
>
> Could you please suggest what is happening?  I can see, of course, the
> problem is with undeclared arguments, but don't know how or where to
> declare them.
>
> dir.h, dirent.h, stat.h have their proper location in /usr/include or
>  /usr/include/sys
>
> Thanks for your help.
>
> George
>
> ---
>
> $ make
> gcc -fpcc-struct-return -O     -I/include      -DNON_BLOCKING_IO  -DSELFILE
>   -c  -o Dir.o Dir.c
> Dir.c: In function `SFgetDir':
> Dir.c:102: `DIR' undeclared (first use in this function)
> Dir.c:102: (Each undeclared identifier is reported only once
> Dir.c:102: for each function it appears in.)
> Dir.c:102: `dirp' undeclared (first use in this function)
> Dir.c:103: parse error before `struct'
> Dir.c:109: `maxChars' undeclared (first use in this function)
> Dir.c:123: `statBuf' undeclared (first use in this function)
> Dir.c:132: `dp' undeclared (first use in this function)
> Dir.c:139: `str' undeclared (first use in this function)
> Dir.c:140: `len' undeclared (first use in this function)
> make: *** [Dir.o] Error 1
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019