www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/02/14/17:13:36

Delivered-To: listarch-cygwin-developers AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <36C702E2.3CC7A3C5@uni-duesseldorf.de>
Date: Sun, 14 Feb 1999 18:07:46 +0100
From: Stipe Tolj <tolj AT uni-duesseldorf DOT de>
Organization: Department of Economical Computer Science, University of Cologne,
Germany
X-Mailer: Mozilla 4.05 [de]C-NECCK (Win95; I)
MIME-Version: 1.0
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: b20.1 (egcs-1.1.1): making winsup problem
References: <36C5A7F4 DOT 9B6787CF AT uni-duesseldorf DOT de>

This is what I was posting before I subscribed to the list. Unfortunatly it bounced since I was no member of the list.

Regards,
Stipe

> Hallo,
>
> I'm trying to rebuild the cygwin1.dll library. I have installed the
> latest snapshot cygwin-src-19990208.tar.gz package to /vol/cygwin and
> follow the installation instructions within the README file saying
>
>     $ cd /vol/cygwin
>     $ ./configure
>     $ make
>
> Everything is fine until we come up compiling within the winsup
> directory. I get quite a lot of warnings and errors while compiling the
> file assert.cc.
>
> The coresponding log files for configure and make (within the winsup
> directory) have been attached to this mail.
>
> I'm running Cygwin b20.1 with latst egcs-1.1.1 binary update from Mumit
> on a Windows 98 machine.
>
> I have not changed anything within the egcs header files or the
> cygwin-src package, so why does it not compile snoothly?
>
> Thankfull for any help to solve this problem.
>
> Regards,
> Stipe
>
> --
> Stipe Tolj <tolj AT uni-duesseldorf DOT de>
>
> Cygwin Porting Project -- "We build UNIX on top of Windows"
> http://www.student.uni-koeln.de/cygwin/
>
> Department of Economical Computer Science
> University of Cologne, Germany
>
>   ------------------------------------------------------------------------
> loading cache ./config.cache
> checking for a BSD compatible install... (cached) /bin/install -c
> checking for gcc... (cached) gcc
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking host system type... i586-pc-cygwin32
> checking target system type... i586-pc-cygwin32
> checking build system type... i586-pc-cygwin32
> checking for ar... (cached) ar
> checking for as... (cached) as
> checking for ranlib... (cached) ranlib
> checking for ld... (cached) ld
> checking for dlltool... (cached) dlltool
> checking how to run the C preprocessor... (cached) gcc -E
> checking for working alloca.h... (cached) no
> checking for alloca... (cached) yes
> checking whether make sets ${MAKE}... (cached) yes
> checking if newlib needed... no
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating cygwin.def
> configuring in regexp
> 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 host system type... i586-pc-cygwin32
> checking target system type... i586-pc-cygwin32
> checking build system type... i586-pc-cygwin32
> checking for a BSD compatible install... (cached) /bin/install -c
> updating cache .././config.cache
> creating ./config.status
> creating Makefile
> configuring in mingw
> running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
> loading cache .././config.cache
> checking host system type... i586-pc-cygwin32
> checking target system type... i586-pc-cygwin32
> checking build system type... i586-pc-cygwin32
> checking for a BSD compatible install... (cached) /bin/install -c
> updating cache .././config.cache
> creating ./config.status
> creating Makefile
> configuring in utils
> 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 host system type... i586-pc-cygwin32
> checking target system type... i586-pc-cygwin32
> checking build system type... i586-pc-cygwin32
> checking for a BSD compatible install... (cached) /bin/install -c
> checking for Cygwin environment... (cached) yes
> checking for Mingw32 environment... (cached) no
> checking for executable suffix... (cached) .exe
> updating cache .././config.cache
> creating ./config.status
> creating Makefile
> configuring in doc
> running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
> loading cache .././config.cache
> updating cache .././config.cache
> creating ./config.status
> creating Makefile
>
>   ------------------------------------------------------------------------
> gcc -c -g -O2 -Wall -Wwrite-strings       -I./include -I. -I./newlib/libc/sys/cygwin -I./newlib/libc/include -I./config/i386 -nostdinc++ config/i386/setjmp.c
> gcc -c -g -O2 -Wall -Wwrite-strings       -I./include -I. -I./newlib/libc/sys/cygwin -I./newlib/libc/include -I./config/i386 -nostdinc++ config/i386/longjmp.c
> gcc -c -fno-rtti -fno-exceptions -g -O2 -Wall -Wwrite-strings       -I./include -I. -I./newlib/libc/sys/cygwin -I./newlib/libc/include -I./config/i386 -nostdinc++ -o assert.o assert.cc
> assert.cc:22: parse error before `,'
> assert.cc:29: warning: ANSI C++ forbids declaration `h' with no type
> assert.cc:30: warning: initialization to `int' from `void *' lacks a cast
> assert.cc:31: parse error before `if'
> assert.cc:35: warning: ANSI C++ forbids declaration `buf' with no type
> assert.cc:35: `failedexpr' was not declared in this scope
> assert.cc:37: `failedexpr' was not declared in this scope
> assert.cc:37: `line' was not declared in this scope
> assert.cc:37: `file' was not declared in this scope
> assert.cc:37: warning: ANSI C++ forbids declaration `siprintf' with no type
> assert.cc:37: `int siprintf' redeclared as different kind of symbol
> c:/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/egcs-2.91.60/../../../../i586-cygwin32/include/stdio.h:176: previous declaration of `int siprintf(char *, const char * ...)'
> assert.cc:37: warning: initializer list being treated as compound expression
> assert.cc:38: warning: ANSI C++ forbids declaration `MessageBoxA' with no type
> assert.cc:38: `int MessageBoxA' redeclared as different kind of symbol
> include/Windows32/ASCIIFunctions.h:1626: previous declaration of `int MessageBoxA(void *, const char *, const char *, UINT)'
> assert.cc:38: warning: initializer list being treated as compound expression
> assert.cc:39: parse error before `}'
> assert.cc:48: warning: return-type of `abort' defaults to `int'
> assert.cc:48: new declaration `int abort()'
> c:/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/egcs-2.91.60/../../../../i586-cygwin32/include/stdlib.h:45: ambiguates old declaration `void abort()'
> assert.cc:51: parse error before `}'
> make: *** [assert.o] Error 1



--
Stipe Tolj <tolj AT uni-duesseldorf DOT de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany




- Raw text -


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