For debugging purpose I need own build cygwin.dll. 
I use snapshot cygwin-src-20100707.tar.bz2
 
When I go through build process ( as noticed at page 
http://cygwin.com/faq/faq-nochunks.html#faq.programming.building-cygwin ) 
some questions arises.

1) I run command 'make check' and following error appear:
   running gcc -L/oss/build/i686-pc-cygwin/winsup 
-L/oss/build/i686-pc-cygwin/winsup/testsuite 
-L/oss/build/i686-pc-cygwin/winsup/w32api/lib -isystem 
/usr/src/cygwin-1.7.5-1/winsup/include -isystem 
/usr/src/cygwin-1.7.5-1/winsup/testsuite/include -isystem 
/usr/src/cygwin-1.7.5-1/winsup/w32api/include 
-B/oss/build/i686-pc-cygwin/newlib/ -isystem 
/oss/build/i686-pc-cygwin/newlib/targ-include -isystem 
/usr/src/cygwin-1.7.5-1/newlib/libc/include    
-I/usr/lib/gcc/i686-pc-cygwin/4.3.4/include -nodefaultlibs -mwin32 -g 
-DDEBUGGING -MD -I/usr/src/cygwin-1.7.5-1/winsup/testsuite/libltp/include -Wall 
-Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin 
-fmessage-length=0 -I. -I/usr/src/cygwin-1.7.5-1/winsup/cygwin/include 
-I/usr/src/cygwin-1.7.5-1/winsup/cygwin 
-I/usr/src/cygwin-1.7.5-1/winsup/w32api/include 
/usr/src/cygwin-1.7.5-1/winsup/testsuite/winsup.api/ltp/chown01.c 
-I/usr/src/cygwin-1.7.5-1/winsup/testsuite/libltp/include 
/oss/build/i686-pc-cygwin/winsup/testsuite/libltp.a 
/oss/build/i686-pc-cygwin/winsup/testsuite/../cygwin/binmode.o -lgcc 
/oss/build/i686-pc-cygwin/winsup/testsuite/../cygwin/libcygwin0.a -lkernel32 
-luser32 -o ltp-chown01.exe
/usr/lib/gcc/i686-pc-cygwin/4.3.4/crtbegin.o:cygming-crtbegin.c:(.data+0x0): 
undefined reference to `___register_frame_info'
/usr/lib/gcc/i686-pc-cygwin/4.3.4/crtbegin.o:cygming-crtbegin.c:(.data+0x4): 
undefined reference to `___deregister_frame_info'
FAIL: ltp/chown01.c (compile)

How to determine where libriaries with symbols ___deregister_frame_info  are 
placed? 

2) When I run command ./configure I palce enviroment variable 
CFLAGS=-DDEBUGGING. This is enough for switch on debug code ?
  There is mention about option --enable-debuggin in file 
how-to-debug-cygwin.txt, but when I try use it debug code do not insert in 
binary file.

3)  Where I can find debug messages?
    From source code i see that messages go to syslog.  So I install and 
configure syslog-ng.
    But nothing appear in /var/log/messages.
    What I may try to do? 

4) Do I need a file /dev/kmsg for debugging output? 
   There is no kmsg file in my  /dev/ directory.

Any help would be appreciated.

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

Reply via email to