This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Error reading line numbers ?



> I have compiled my program with -c -g option's and linked it with libc.a, libm.a,libcygwin.a an librpclib.a and got this error when I start it:
> 

You do not neet to link against libc.a, libcygwin.a is enough.




> (gdb) r
> 61000000:/WINNT/System32/cygwin1.dll
> 
> [failed reading symbols from dll]
> "/WINNT/system32/advapi32.dll":error reading line numbers
> 
> [failed reading symbols from dll]
> "/WINNT/system32/KERNEL32.dll":error reading line numbers
> 
> 77e70000:/WINNT/system32/USER32.dll
> 77ed0000:/WINNT/system32/GDI32.dll
> 77e10000:/WINNT/system32/RPCRT4.dll
> 5f810000:/WINNT/system32/rpcltc1.dll
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x6105af0f in _size_of_stack_reserve__ ()
> (gdb)
> 

You need to get more info out of gdb.  The above info is not enough.

If you are using Corinna's RPC library, why are you trying to link against
Microsoft RPC libraries?

Suhaib


> Any one know what to do?
> 
> If it is any help here's some information :
> 
> gdb ver. 4.17.1
> gcc ver. 2.91.66
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com