[Dnsmasq-discuss] Build on ancient gcc

Gilles Espinasse g.esp at free.fr
Sat Jul 12 08:38:02 BST 2008


----- Original Message ----- 
From: RevRagnarok 
To: dnsmasq-discuss at lists.thekelleys.org.uk 
Sent: Saturday, July 12, 2008 6:23 AM
Subject: [Dnsmasq-discuss] Build on ancient gcc


> I have a virtual machine that I am trying to put the latest DNSMasq (2.43) onto.
> It currently has 1.14 installed from RPM (yes, its base install is from the PREVIOUS
> time there was a Red Hat 7). The gcc on it is ancient, 2.96. 
>
> Anyway, I am getting an error "dnsmasq.h:545: array size is missing in 'filename'"
>
> Has anybody seen this before? I checked the subjects of the most recent two archives.
> I know I need to upgrade that machine, but was hoping this wouldn't be hopeless.
> Thanks! 
>
A simple and not futurproof change is to put a size for the longest path you would use with tftp, something like

char filename[200];

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20080712/b0f13698/attachment.htm


More information about the Dnsmasq-discuss mailing list