🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #71375

[slrn] Compiling slang on Cygwin

#71375
From: Tilman Linneweh
Date: Wed, 31 Jan 2001 16:33
195 lines
10433 bytes
Hi!

I use NT, Cygwin 1.1.7(0.31/3/2) 2000-12-25, gcc 2.95.2-6
and slang 1.4.2

and I have Problems with Compiling.(I guess I have forgotten some important
stuff from Cygwin, but dunno what)

Any hints?

Regards
tilman



---------Output of ./configure-----------------------------------------

loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... no
(I commented that check out, because I think that the gcc works...)

checking whether the C compiler (gcc  ) is a cross-compiler... 
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for POSIXized ISC... no
checking for AIX... no
checking C compiler that understands ANSI prototypes... gcc looks ok.  Good.
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking host system type... i686-pc-cygwin
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for memory.h... (cached) yes
checking for termios.h... (cached) yes
checking for malloc.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/fcntl.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for sys/utsname.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for ANSI C header files... (cached) no
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for memset... (cached) no
checking for memcpy... (cached) no
checking for putenv... (cached) no
checking for getcwd... (cached) no
checking for tcgetattr... (cached) no
checking for tcsetattr... (cached) no
checking for cfgetospeed... (cached) no
checking for sigaction... (cached) no
checking for sigemptyset... (cached) no
checking for sigprocmask... (cached) no
checking for sigaddset... (cached) no
checking for vfscanf... (cached) no
checking for lstat... (cached) no
checking for readlink... (cached) no
checking for kill... (cached) no
checking for snprintf... (cached) no
checking for vsnprintf... (cached) no
checking for getppid... (cached) no
checking for getegid... (cached) no
checking for geteuid... (cached) no
checking for getgid... (cached) no
checking for setgid... (cached) no
checking for setpgid... (cached) no
checking for setuid... (cached) no
checking for chown... (cached) no
checking for popen... (cached) no
checking for mkfifo... (cached) no
checking for atexit... (cached) no
checking for on_exit... (cached) no
checking for umask... (cached) no
checking for uname... (cached) no
checking for times... (cached) no
checking for gmtime... (cached) no
checking for acosh in -lm... (cached) no
checking for asinh in -lm... (cached) no
checking for atanh in -lm... (cached) no
checking for dlopen in -ldl... (cached) no
Note: ELF compiler for host_os=cygwin may be wrong
checking size of short... (cached) 0
checking size of int... (cached) 0
checking size of long... (cached) 0
checking size of float... (cached) 0
checking size of double... (cached) 0
checking for Terminfo... no
checking SLANG_VERSION... 1.4.2
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/sysconf.h
src/sysconf.h is unchanged
configuring in demo
running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for POSIXized ISC... no
checking for AIX... no
checking C compiler that understands ANSI prototypes... gcc looks ok.  Good.
checking whether make sets ${MAKE}... (cached) yes
checking host system type... i686-pc-cygwin
checking for -ldl... (cached) no
checking for Terminfo... no
updating cache .././config.cache
creating ./config.status
creating Makefile

Configuration complete.  You may need to edit src/Makefile.
You are compiling SLANG with the following compiler configuration:
       CC = gcc
   CFLAGS = -g -O2  -fno-strength-reduce
  LDFLAGS =  

   ELF_CC = $(CC)
 ELF_LINK = $(CC) -shared
ELF_CFLAGS= $(CFLAGS) -fPIC 

Installation Prefix: /usr/local

See also src/sl-feat.h for various features.
Type 'make' to build normal library.
On ELF systems, type 'make elf' to create ELF shared library.

-------------------------------------------------------------
Output of make:


/home/slang-1.4.2/src/sldisply.c:923: `SLSMG_COLOR_BLACK' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:923: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:923: (near initialization for `Color_Defs[0].color')
/home/slang-1.4.2/src/sldisply.c:924: `SLSMG_COLOR_RED' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:924: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:924: (near initialization for `Color_Defs[1].color')
/home/slang-1.4.2/src/sldisply.c:925: `SLSMG_COLOR_GREEN' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:925: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:925: (near initialization for `Color_Defs[2].color')
/home/slang-1.4.2/src/sldisply.c:926: `SLSMG_COLOR_BROWN' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:926: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:926: (near initialization for `Color_Defs[3].color')
/home/slang-1.4.2/src/sldisply.c:927: `SLSMG_COLOR_BLUE' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:927: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:927: (near initialization for `Color_Defs[4].color')
/home/slang-1.4.2/src/sldisply.c:928: `SLSMG_COLOR_MAGENTA' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:928: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:928: (near initialization for `Color_Defs[5].color')
/home/slang-1.4.2/src/sldisply.c:929: `SLSMG_COLOR_CYAN' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:929: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:929: (near initialization for `Color_Defs[6].color')
/home/slang-1.4.2/src/sldisply.c:930: `SLSMG_COLOR_LGRAY' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:930: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:930: (near initialization for `Color_Defs[7].color')
/home/slang-1.4.2/src/sldisply.c:931: `SLSMG_COLOR_GRAY' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:931: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:931: (near initialization for `Color_Defs[8].color')
/home/slang-1.4.2/src/sldisply.c:932: `SLSMG_COLOR_BRIGHT_RED' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:932: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:932: (near initialization for `Color_Defs[9].color')
/home/slang-1.4.2/src/sldisply.c:933: `SLSMG_COLOR_BRIGHT_GREEN' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:933: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:933: (near initialization for `Color_Defs[10].color')
/home/slang-1.4.2/src/sldisply.c:934: `SLSMG_COLOR_BRIGHT_BROWN' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:934: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:934: (near initialization for `Color_Defs[11].color')
/home/slang-1.4.2/src/sldisply.c:935: `SLSMG_COLOR_BRIGHT_BLUE' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:935: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:935: (near initialization for `Color_Defs[12].color')
/home/slang-1.4.2/src/sldisply.c:936: `SLSMG_COLOR_BRIGHT_CYAN' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:936: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:936: (near initialization for `Color_Defs[13].color')
/home/slang-1.4.2/src/sldisply.c:937: `SLSMG_COLOR_BRIGHT_MAGENTA' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:937: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:937: (near initialization for `Color_Defs[14].color')
/home/slang-1.4.2/src/sldisply.c:938: `SLSMG_COLOR_BRIGHT_WHITE' undeclared here (not in a function)
/home/slang-1.4.2/src/sldisply.c:938: initializer element is not constant
/home/slang-1.4.2/src/sldisply.c:938: (near initialization for `Color_Defs[15].color')
/home/slang-1.4.2/src/sldisply.c:2367: warning: type mismatch with previous implicit declaration
/home/slang-1.4.2/src/sldisply.c:2166: warning: previous implicit declaration of `SLtt_set_term_vtxxx'
/home/slang-1.4.2/src/sldisply.c:2367: warning: `SLtt_set_term_vtxxx' was previously implicitly declared to return `int'

Technical Details
Message-ID: <slrn97gfjo.97.t.linneweh@toliman.atc.co.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!howland.erols.net!npeer.kpnqwest.net!nmaster.kpnqwest.net!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!news.kapsch.co.at!t.linneweh

Show Full Headers
Complete Article Headers
Message-ID: <slrn97gfjo.97.t.linneweh@toliman.atc.co.at>
Subject: [slrn] Compiling slang on Cygwin
Date: Wed, 31 Jan 2001 16:33:18 +0000
From: t.linneweh@atc.co.at (Tilman Linneweh)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!howland.erols.net!npeer.kpnqwest.net!nmaster.kpnqwest.net!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!news.kapsch.co.at!t.linneweh
Newsgroups: news.software.readers
Reply-To: t.linneweh@atc.co.at
User-Agent: slrn/0.9.6.3 (Win32)
NNTP-Posting-Host: toliman.atc.co.at
X-Trace: 31 Jan 2001 17:33:18 +0100, toliman.atc.co.at
Organization: Kapsch AG; Vienna, Austria
Lines: 194
X-Complaints-To: abuse@kapsch.net
X-URL: http://news.kapsch.co.at