tcpdump mailing list archives

Re: compiling problem


From: "Harley Stenzel" <hstenzel () gmail com>
Date: Wed, 7 Jun 2006 10:00:55 -0400

On 6/4/06, lalani () cs fsu edu <lalani () cs fsu edu> wrote:
Hi guys,
  I havent heard from anyone and I really need solution to this problem.
  I was able to successfully create makefile.

  When I tried to run the 'make' command with this option in the makefile
  #CCOPT = -O2
  CCOPT = -g
  I get this error


Change CCOPT to -O2 -g and it'll be fine, provided you're using gcc.
With gcc, optimization and debugging are non-exclusive.

  -Harley


I wanted to use -g so later I can use debuuger like gdb, ddd to debug
the program.
I would really appreciate help on this matter.

Thanks for your consideration,
zubin
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: