This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failed build of Cygwin/X


The application xcursorgen.exe does not even go inside
its "main" function, it becomes trapped by a signal,
at least this happens if run from the debugger gdb:

--------------------------------------------------
--------------------------------------------------
(gdb) run
Starting program:
/home/victorgalve/x-devel/build/std/programs/xcursorgen/xcursorgen.exe

Loaded symbols for
/cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for
/cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for
/cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for
/cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/X11R6/bin/cygXcursor-1.dll
Loaded symbols for /usr/X11R6/bin/cygXfixes-3.dll
Loaded symbols for /usr/X11R6/bin/cygXrender-1.dll
Loaded symbols for /usr/bin/cygpng12.dll
Loaded symbols for
/cygdrive/c/WINDOWS/system32/cygz.dll
Loaded symbols for
/cygdrive/c/WINDOWS/system32/user32.dll
Loaded symbols for
/cygdrive/c/WINDOWS/system32/gdi32.dll

Program received signal SIGTRAP, Trace/breakpoint
trap.
0x005159f4 in ?? ()
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x005159f4 in ?? ()
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint
trap.
0x00515a2f in ?? ()
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint
trap.
0x00515a2f in ?? ()
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint
trap.
0x00515a2f in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) 
--------------------------------------------------
--------------------------------------------------

And the making of xcursorgen.exe is as follows:

--------------------------------------------------
--------------------------------------------------
gcc -O2 -fno-strength-reduce -Wall -Wpointer-arith    
-I../.. -I../../exports/include   -D__i386__
-DWIN32_LEAN_AND_MEAN -DX_LOCALE 				-D_X86_
-D__CYGWIN__ -D_XOPEN_SOURCE 			
-D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE 			
-D_SVID_SOURCE -D_GNU_SOURCE -DFD_SETSIZE=256 			
-DXResExtension  -DFUNCPROTO=15 -DNARROWPROTO       -c
-o xcursorgen.o xcursorgen.c
rm -f xcursorgen.exe
gcc -o xcursorgen.exe -O2 -fno-strength-reduce -Wall
-Wpointer-arith     -L../../exports/lib   xcursorgen.o
-lXcursor -lXrender -lXext -lX11 -lpng 		   -lz.dll
-L/usr/X11R6/lib    
-Wl,--enable-auto-import,--enable-runtime-pseudo-reloc
--------------------------------------------------
--------------------------------------------------

Can it be a problem with some of the libraries?
Maybe Windows disables my executable?

Here comes my configuration:
--> Windows XP Pro SP2 (32 bits version)
--> AMD Athlon 64
--> Norton antivirus (but is deactivated)

Any idea will be wellcomed! Thank you!



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]