Re: [Bug-wget] Debugging issues

2018-11-10 Thread michael
Thank you!

-Original Message-
From: Darshit Shah  
Sent: Saturday, 10 November, 2018 11:40 AM
To: mich...@cyber-dome.com
Cc: bug-wget@gnu.org
Subject: Re: [Bug-wget] Debugging issues

[Moving to wget-dev]

You should never touch any generated files. If you want to have debug symbols,
set the appropriate CFLAGS environment before running configure.

$ ./bootstrap
$ CFLAGS="-g -ggdb3 -O0" ./configure
$ make

Also, I don't use Netbeans (or any other IDE), but I don't understand why you
would have so many projects? You just need one that starts the root directory
of the repo?


* mich...@cyber-dome.com  [181110 10:13]:
> 
> Hello all,
> 
> I managed to get my Netbeans working! (I created several projects for each
> directory. Too much visual studio solutions)
> 
> Now, I changed the "gcc" to "gcc -g" In the make files.
> 
> When I attempt to run a debug run, I get the error:
> "wget2/netbeans/src/.libs/wget2: symbol lookup error:
> /home/mik/wget2/netbeans/src/.libs/wget2: undefined symbol: wget_strerror"
> 
> Can you salvage me on this?
> 
> Do you have a way to run the make with debugging information generated?
> (without changing the Makefile)?
> 
> For instance: 
> 
> 
> 

-- 
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6




Re: [Bug-wget] Debugging issues

2018-11-10 Thread Darshit Shah
[Moving to wget-dev]

You should never touch any generated files. If you want to have debug symbols,
set the appropriate CFLAGS environment before running configure.

$ ./bootstrap
$ CFLAGS="-g -ggdb3 -O0" ./configure
$ make

Also, I don't use Netbeans (or any other IDE), but I don't understand why you
would have so many projects? You just need one that starts the root directory
of the repo?


* mich...@cyber-dome.com  [181110 10:13]:
> 
> Hello all,
> 
> I managed to get my Netbeans working! (I created several projects for each
> directory. Too much visual studio solutions)
> 
> Now, I changed the "gcc" to "gcc -g" In the make files.
> 
> When I attempt to run a debug run, I get the error:
> "wget2/netbeans/src/.libs/wget2: symbol lookup error:
> /home/mik/wget2/netbeans/src/.libs/wget2: undefined symbol: wget_strerror"
> 
> Can you salvage me on this?
> 
> Do you have a way to run the make with debugging information generated?
> (without changing the Makefile)?
> 
> For instance: 
> 
> 
> 

-- 
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6


signature.asc
Description: PGP signature


[Bug-wget] Debugging issues

2018-11-09 Thread michael


Hello all,

I managed to get my Netbeans working! (I created several projects for each
directory. Too much visual studio solutions)

Now, I changed the "gcc" to "gcc -g" In the make files.

When I attempt to run a debug run, I get the error:
"wget2/netbeans/src/.libs/wget2: symbol lookup error:
/home/mik/wget2/netbeans/src/.libs/wget2: undefined symbol: wget_strerror"

Can you salvage me on this?

Do you have a way to run the make with debugging information generated?
(without changing the Makefile)?

For instance: