Mail Archives: cygwin/2000/10/05/14:07:38
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 -