delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/23/00:26:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <034501c350d2$6a4a6300$200aa8c0@thorin>
From: "Carlo Florendo" <carlo AT astra DOT ph>
To: <cygwin AT cygwin DOT com>
Subject: practicing building the cygwin.dll
Date: Wed, 23 Jul 2003 12:25:14 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

Hello,

I'm trying to build the cygwin dll from scratch.  I downloaded the entire distribution last year including the sources.  I've never
upgraded any package since then.

I have cygwin-1.3.12-4 installed. Attached is the output of cygcheck -svr

I assumed that building the cygwin.dll is as simple as going inside the ./cygwin-1.3.12-4/ directory, running ./configure, ./make,
and ./make install.

Running ./configure worked well.
However, I get these errors when running make:

<snip the rest of it>

newlib.stdlib           ..working in
atexit.c                ..linked
atexit.exp              ..linked
newlib.string           ..working in
string.exp              ..linked
tstring.c               ..linked
loading cache ../config.cache
configure: error: can not find install-sh or install.sh in .. ./..
make: *** [configure-target-newlib] Error 1

I wondered why it was looking for install-sh or install.sh in its parent directory.  I copied install-sh to the parent directory and
still got the same error.


The next thing I did was to go to the ./cygwin-1.3.12-4/winsup/ directory to try building it from there.
Running configure worked well.  When I ran ./make, here's what I got:

make[1]: Entering directory `/usr/include/w32api'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory `/usr/include/w32api'

make: *** [w32api] Error 1

My /usr/include/w32api directory exists.

Lastly, I thought that going to the ./cygwin-1.3.12-4/winsup/cygwin/ directory would build the cygwin.dll
Running configure worked well.  When I ran make, I got:

g++ -c -gstabs+ -O2 -MMD -fbuiltin ... cygheap.cc
In file included from cygheap.cc:17:
fhandler.h: In method `select_stuff::select_stuff()':
fhandler.h:1200: implicit declaration of function `int memset(...)'
make: *** [cygheap.o] Error 1


So, with the classic question found in this M/L: WAIDW (What am I doing wrongly)?

Thanks!

Best Regards,

Carlo
------
Carlo Florendo
Astra Philippines Inc.
URL: http://www.astra.ph/resources
















--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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