linking with cygwin1.dll

Lissette Lemus del Cueto
Wed May 19 06:48:00 GMT 1999


 I'm traying to build an .exe using Cygnus B20 release. I could compile
my code but the program gave me the following runtime error:

 [main] C\..\mktree.exe 1321(0) handle exceptions: Exception:

 I've debugged the program (with the gdb provided by Cygnus) and I got
the following:
 Starting program ../mktree.exe
 6100..:/ .../bin/cygwin1.dll

 [failed reading symbols from DLL]
 "/WINNT/system32/advapi32.dll": error reading line number

 [failed reading symbols from DLL]
 "/WINNT/system32/KERNEL32.dll": error reading line number

 In FAQ i found that it's possible to add WIN32 API libraries with -l
option. I've tried -lcygwin -ladvapi32 options but the same thing

 Maybe I need some compile option or some flag for Cygnus? I can't find
nothing in FAQ.

 Thanks you in advance
Lissette Lemus del Cueto            
Inst. Automatica Industrial(CSIC)   Tfno.(34) 91 871 19 00 Ext. 213
Ctra. Campo Real, Km 22.800 N-III   Fax  (34) 91 871 70 50
La Poveda, Arganda. 28500 Madrid    E-mail:

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list