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
xmlto html-nochunks -m /usr/src/cygwin-1.5.24-2/winsup/doc/cygwin.dsl cygwin-ug-net.sgml I/O error : Attempt to load network entity 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:3: warning: 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: parser error : Entity 'copy' not defined <para>Copyright © 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.</para> ^ /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® 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/src/cygwin-1.5.24-2/winsup/doc/faq-sections.xml I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/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 : Entity 'auml' not defined international characters (£äö) in <literal>bash</literal>, add t ^ /usr/src/cygwin-1.5.24-2/winsup/doc/faq-using.xml:392: parser error : Entity 'ouml' not defined international characters (£äö) 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 : Failure to process entity FAQ-USING &FAQ-USING; ^ /usr/src/cygwin-1.5.24-2/winsup/doc/faq-sections.xml:44: parser error : Entity '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="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/src/cygwin-1.5.24-2/winsup/doc/faq.xml I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd /usr/src/cygwin-1.5.24-2/winsup/doc/faq.xml:16: warning: failed to load external 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 : Entity 'auml' not defined international characters (£äö) in <literal>bash</literal>, add t ^ /usr/src/cygwin-1.5.24-2/winsup/doc/faq-using.xml:392: parser error : Entity 'ouml' not defined international characters (£äö) 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 process 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="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' [EMAIL PROTECTED] /usr/src/cygwin-1.5.24-2 $
-- 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/