[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Debugging issues
From: |
michael |
Subject: |
Re: [Bug-wget] Debugging issues |
Date: |
Sat, 10 Nov 2018 12:05:09 +0200 |
Thank you!
-----Original Message-----
From: Darshit Shah <address@hidden>
Sent: Saturday, 10 November, 2018 11:40 AM
To: address@hidden
Cc: address@hidden
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?
* address@hidden <address@hidden> [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