delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/05/14:07:38

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
From: darkmoon AT cinenet DOT net (Jeff)
Newsgroups: lists.cygwin
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Building C-Kermit (6.0.192) with Cygwin 1.1
Date: Thu, 05 Oct 2000 10:48:59 -0700
Organization: Less and less each day..
MIME-Version: 1.0
Message-ID: <L8L35gtMC1zf092yn@cinenet.net>
Lines: 52

Which of the makefile targets work best?  I tried modifying the linux
target, and get:

administrator AT MYBOX ~/kermit
$ make cygwin
Making C-Kermit "6.0.192" for Cygwin...
make wermit "CC = gcc" "CC2 = gcc" \
"CFLAGS = -O4 -DPOSIX -DDYNAMIC \
-DBIGBUFOK -DTCPSOCKET -DMYCURSES -DCK_PCT_BAR \
-DNOLATIN2 -DNOCYRIL -DNOHEBREW -DNODEBUG \
-DNODIAL -DNOLISTEN " \
"LNKFLAGS = -s " "LIBS = -ltermcap"
make[1]: Entering directory `/home/kermit'
gcc -O4 -DPOSIX -DDYNAMIC  -DBIGBUFOK -DTCPSOCKET -DMYCURSES -DCK_PCT_BAR  -DNOL
ATIN2 -DNOCYRIL -DNOHEBREW -DNODEBUG  -DNODIAL -DNOLISTEN    -c -o ckutio.o ckut
io.c
ckutio.c: In function `in_chk':
ckutio.c:6032: `u_long' undeclared (first use in this function)
ckutio.c:6032: (Each undeclared identifier is reported only once
ckutio.c:6032: for each function it appears in.)
make[1]: *** [ckutio.o] Error 1
make[1]: Leaving directory `/home/kermit'
make: *** [cygwin] Error 2

administrator AT MYBOX ~/kermit
$


I think something in one or more of the Cygwin header files is
unexpected.  This comment, at the top of ckutio, might explain things:


#ifdef XENIX /* Was M_UNIX but XENIX implies M_UNIX and applies to XENIX too */
/*
  <sys/socket.h> included above via "ckcnet.h" defines FIONREAD as
  something.  Due to this, in_chk() uses the FIONREAD instead of RDCHK
  and the hot keys during file transfer (X to cancel file etc) do not
  work because FIONREAD doesn't work even though it is defined.

  NOTE: This might also be true elsewhere.
*/
#ifdef FIONREAD
#undef FIONREAD
#endif /* FIONREAD */
#endif /* XENIX */


On a completely different topic, which utility is it that translates the
DOS path seperator ("\") to POSIX ("/") on the command line, so that a
DOS app can pass a pathname to a Cygwin app?  Thanks for your help,

Jeff

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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