Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2012 14:52:34 -0500
From:      "Dean E. Weimer" <dweimer@dweimer.net>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ntpd problems after port updates
Message-ID:  <9b0a9a920c5e70508e78cfa0e7e00db1@www.dweimer.net>
In-Reply-To: <F4DDD42E-EE76-4B71-AFF0-D7BD3B1271A9@mac.com>
References:  <15eb19d114c2b3d3b0469bc2f9fbdb33@www.dweimer.net> <FA557DF1-9C63-4FFE-8BE8-69F0F28269D7@mac.com> <7feaa1faeb71b57e89b8f6935f90d4b3@www.dweimer.net> <F4DDD42E-EE76-4B71-AFF0-D7BD3B1271A9@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23.04.2012 14:10, Chuck Swiger wrote:
> On Apr 23, 2012, at 12:08 PM, Dean E. Weimer wrote:
>> Tried rebuilding without the with SSL option set, oddly it started 
>> once after that, but a restart caused same behavior.  gdb doesn't give 
>> me anything that I know how to interpret, gdb -c /ntpd.core.  (I 
>> haven't really used gdb before, so if I am not doing something 
>> correctly with it, please feel free to let me know)
>
> Ah, you need to build ntpd with -g in CFLAGS & LDFLAGS for debugging
> symbols to be present....
>

at the risk of sounding like an complete n00b, how do I do that?  After 
reading through the make man page, I decided on trying to build the port 
with "make CFLAGS+=-g LDFLAGS+=-g install clean" however I still get the 
no debugging symbols found message.  Does the information in in the 
Makefile for the port overwrite this option from the command line?  Or 
am I just using the incorrect syntax here?

(gdb) file /usr/local/bin/ntpd
Reading symbols from /usr/local/bin/ntpd...(no debugging symbols 
found)...done.

-- 
Thanks,
  Dean E. Weimer
  http://www.dweimer.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9b0a9a920c5e70508e78cfa0e7e00db1>