delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/07/09:30:50

Message-Id: <200706071330.l57DUcBd009277@delorie.com>
X-Spam-Check-By: sourceware.org
From: "Olivier Langlois" <olivier DOT langlois AT streamtheworld DOT com>
To: <cygwin AT cygwin DOT com>
Subject: cygwin1.dll building question
Date: Thu, 7 Jun 2007 09:30:22 -0400
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

------=_NextPart_000_002F_01C7A8E6.79350210
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

I wanted to add the function strcasestr() from glibc to the cygwin's libc
and I have encountered a serie of difficulties and questions. Some of them
are related to the process of offering changes to cygwin but I will reserve
those for the other mailing list.

1- I have modified a Makefile.am file to include the new c file to compile
but I have never been able to regenerate the corresponding Makefile.in. I
have guessed that maybe I had to configure the project in the maintainer
mode but I have never been able to make it work with the needed custom tools
from RedHat. I have finally workaround problem #1 but editing manually the
Makefile.in file. How are you supposed to regenerate the Makefile.in?

2-During make, I have received some errors during the doc generation but I
did not care since this is done after compiling the dll (errors attached if
someone is interested to look at them).

3-The generated cygwin0.dll looks like an exact copy of cygwin1.dll. Does
that dll has a special purpose or it is just a building artifact?

4-My generated libcygwin.a is 3.6MB vs 953KB for the one distributed with
the cygwin binaries. Obviously, I did not build the same thing. Does someone
have an idea about what would explain that difference?

5-Doing 'make install' broke my cygwin setup (gcc was exiting without
generating any output). Even reinstalling every cygwin components from
setup.exe did not solve the problem. To fix that problem, I have to erase
the 'cygwin' directory completely before reinstalling cygwin. To workaround
that problem, instead of doing 'make install' I have just manually copied
cygwin1.dll and libcygwin.a from the src package to the appropriate
locations.

Thank you,
Olivier Langlois
http://www.streamtheworld.com


------=_NextPart_000_002F_01C7A8E6.79350210
Content-Type: text/plain;
	name="docgen_errors.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="docgen_errors.txt"

xmlto html-nochunks -m /usr/src/cygwin-1.5.24-2/winsup/doc/cygwin.dsl cygwi=
n-ug-net.sgml
I/O error : Attempt to load network entity http://www.oasis-open.org/docboo=
k/xml/4.2/docbookx.dtd
/usr/src/cygwin-1.5.24-2/i686-pc-cygwin/winsup/doc/cygwin-ug-net.sgml:3: wa=
rning: failed to load external entity "http:/
/www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"[]>
                                                           ^
/usr/src/cygwin-1.5.24-2/i686-pc-cygwin/winsup/doc/cygwin-ug-net.sgml:14: p=
arser error : Entity 'copy' not defined
<para>Copyright &copy; 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.</pa=
ra>
                      ^
/usr/src/cygwin-1.5.24-2/i686-pc-cygwin/winsup/doc/cygwin-ug-net.sgml:200: =
parser error : Entity 'reg' not defined
"Cygwin32: A Free Win32 Porting Layer for UNIX&reg; Applications" which can=
 be
                                                   ^
cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html
rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz
gzip cygwin-ug-net/cygwin-ug-net-nochunks.html
xmlto html -o faq -m /usr/src/cygwin-1.5.24-2/winsup/doc/cygwin.dsl /usr/sr=
c/cygwin-1.5.24-2/winsup/doc/faq-sections.xml

I/O error : Attempt to load network entity http://www.oasis-open.org/docboo=
k/xml/4.2/docbookx.dtd
/usr/src/cygwin-1.5.24-2/winsup/doc/faq-sections.xml:16: warning: failed to=
 load external entity "http://www.oasis-open.
org/docbook/xml/4.2/docbookx.dtd"
]>
  ^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq-using.xml:392: parser error : Entit=
y 'auml' not defined
international characters (&pound;&auml;&ouml;) in <literal>bash</literal>, =
add t
                                       ^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq-using.xml:392: parser error : Entit=
y 'ouml' not defined
international characters (&pound;&auml;&ouml;) in <literal>bash</literal>, =
add t
                                             ^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq-using.xml:953: parser error : chunk=
 is not well balanced

^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq-sections.xml:44: parser error : Fai=
lure to process entity FAQ-USING
&FAQ-USING;
           ^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq-sections.xml:44: parser error : Ent=
ity 'FAQ-USING' not defined
&FAQ-USING;
           ^
unable to parse /usr/src/cygwin-1.5.24-2/winsup/doc/faq-sections.xml
cp: cannot stat `*': No such file or directory
make[3]: [faq/faq.html] Error 1 (ignored)
sed -i 's;</a><a name=3D"id[0-9]*"></a>;</a>;g' faq/faq.*.html
sed: can't read faq/faq.*.html: No such file or directory
make[3]: [faq/faq.html] Error 2 (ignored)
xmlto html -o faq -m /usr/src/cygwin-1.5.24-2/winsup/doc/cygwin.dsl /usr/sr=
c/cygwin-1.5.24-2/winsup/doc/faq.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docboo=
k/xml/4.2/docbookx.dtd
/usr/src/cygwin-1.5.24-2/winsup/doc/faq.xml:16: warning: failed to load ext=
ernal entity "http://www.oasis-open.org/docbo
ok/xml/4.2/docbookx.dtd"
]>
  ^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq-using.xml:392: parser error : Entit=
y 'auml' not defined
international characters (&pound;&auml;&ouml;) in <literal>bash</literal>, =
add t
                                       ^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq-using.xml:392: parser error : Entit=
y 'ouml' not defined
international characters (&pound;&auml;&ouml;) in <literal>bash</literal>, =
add t
                                             ^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq-using.xml:953: parser error : chunk=
 is not well balanced

^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq.xml:43: parser error : Failure to p=
rocess entity FAQ-USING
&FAQ-USING;
           ^
/usr/src/cygwin-1.5.24-2/winsup/doc/faq.xml:43: parser error : Entity 'FAQ-=
USING' not defined
&FAQ-USING;
           ^
unable to parse /usr/src/cygwin-1.5.24-2/winsup/doc/faq.xml
cp: cannot stat `*': No such file or directory
make[3]: [faq/faq-nochunks.html] Error 1 (ignored)
sed -i 's;</a><a name=3D"id[0-9]*"></a>;</a>;g' faq/faq-nochunks.html
sed: can't read faq/faq-nochunks.html: No such file or directory
make[3]: [faq/faq-nochunks.html] Error 2 (ignored)
make[3]: Leaving directory `/usr/src/cygwin-1.5.24-2/i686-pc-cygwin/winsup/=
doc'
make[2]: Leaving directory `/usr/src/cygwin-1.5.24-2/i686-pc-cygwin/winsup'
make[1]: Leaving directory `/usr/src/cygwin-1.5.24-2'

Administrator AT Idefix /usr/src/cygwin-1.5.24-2
$


------=_NextPart_000_002F_01C7A8E6.79350210
Content-Type: text/plain; charset=us-ascii

--
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/
------=_NextPart_000_002F_01C7A8E6.79350210--

- Raw text -


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