[Dnsmasq-discuss] Hint needed: neither patched 'dnsmasq 2.75' nor '2.76test4' will compile

Matthias Andree matthias.andree at gmx.de
Tue Jan 5 20:55:03 GMT 2016


Am 05.01.2016 um 21:01 schrieb Matthias Fischer:
> Hi,
> 
> On 05.01.2016 20:11, Matthias Andree wrote:
>>> >Building always stops with the exact same errors, regardless if I use
>>> >'2.75' with a total of 41 patches by now, or the original
>>> >'2.75test4'-source.
>> Does either compile without third-party patches?
> 
> Until now, it made no difference compiling "2.75" with *all* patches or
> "2.76test4" without them: errors remain, building stops.
> 
> I tried "2.76test4" yesterday:
> 
> ***SNIP***
> Jan  4 22:46:25: Building dnsmasq dnsmasq-2.76test4.tar.xz checksum OK
> + cd /usr/src/lfs
> + make -f dnsmasq LFS_BASEDIR=/usr/src install
> ====================================== Installing dnsmasq-2.76test4 ...
> Install started; saving file list to /usr/src/lsalr ...
> cd /usr/src/dnsmasq-2.76test4 && patch -Np1 -i
> /usr/src/src/patches/dnsmasq-Add-support-to-read-ISC-DHCP-lease-file.patch

That's not "without all patches".

However, I can reproduce the issue on a vanilla 2.76test4, apparently an
#undef HAVE_DHCP isn't properly supported in 2.76test4.

Simon, do you need to comment out the do_script_run() calls in
dnsmasq.c::main(), or does the do_script_run() need to remain enabled?
Minimum command to reproduce the issue on a pristine 2.76test4:

sed -i src/config.h -e 's|#define HAVE_DHCP|//#define HAVE_DHCP|g' \
&& make -j4




More information about the Dnsmasq-discuss mailing list