DHCP removal...
Siegenthaler Tina
tina at ieu.uzh.ch
Wed Jul 20 08:21:31 UTC 2011
I had to add the string "%s" (including the quotation marks) to several lines of several files of the source code. Seems (or seemed, since this was version 4.1.0) to be a problem when using gcc > 4.0.1.
For example, in
common/print.c, lines 311 and 335
I changed
log_info(some_text) to log_info("%s", some_text)
Same for
client/dhclient.c lines 382, 383, 384; 648, 649, 650
relay/dhcrelay.c lines 403, 404, 405
server/dhcpd.c lines 469, 470, 471; 1024, 1025; 1063, 1064, 1065; 1172, 1173
But I don't know if this still applies to version 4.2.0, and if so, whether the line numbers remained the same.
Apart from that, I never had any problems compiling or running dhcpd on Mac OS X, and I started with version 3.x on 10.4.
What errors did you get and when? I always got some error messages, but as long as it would finish compiling, it would also run...
Hope this helps,
Tina
Am 19.07.2011 um 21:17 schrieb Jeff Justice:
> Version 4.2 of dhcpd and OSX 10.6.8.
>
> What modifications did you wind up making? I never actually fired it up because I assumed the number of errors it threw would make it unstable, so I thought I'd clear it out and try again.
>
> Jeff
>
>
> On Jul 19, 2011, at 9:37 AM, Siegenthaler Tina wrote:
>
>>
>>
>>> I tried to install DHCP on OSX, but got a bunch of errors.
>>>
>>> I didn't see an uninstall file. I would like to start totally fresh, but not sure where everything went.
>>>
>>> Is there an uninstall script or can someone provide the paths where things are put?
>>>
>>> Jeff
>>>
>>>
>>
>>
>> Hi Jeff
>>
>> Which version (of dhcpd and OS X)? What were the errors? I have dhcpd running on Mac OS X 10.6, but there were some modifications I had to make so it would compile...
>>
>> For me (OS X 10.6 and dhcpd 4.1.0), the three main dhcpd files (dhclient, dhcpd and dhcprelay) get installed in /usr/local/sbin. Then there are of course the manpages, but those should not be important to uninstall. I'm not sure if there are more files somewhere, I'm afraid.
>>
>>
>> Tina
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
More information about the dhcp-users
mailing list