<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1609" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background=""><FONT face=Arial size=2></FONT>
<DIV><BR><FONT face=Arial size=2>----- Original Message ----- <BR>From:
RevRagnarok <BR>To: dnsmasq-discuss@lists.thekelleys.org.uk <BR>Sent: Saturday,
July 12, 2008 6:23 AM<BR>Subject: [Dnsmasq-discuss] Build on ancient
gcc<BR><BR><BR>> I have a virtual machine that I am trying to put the latest
DNSMasq (2.43) onto.</FONT></DIV>
<DIV><FONT face=Arial size=2>> It currently has 1.14 installed from RPM
(yes, its base install is from the PREVIOUS</FONT></DIV>
<DIV><FONT face=Arial size=2>> time there was a Red Hat 7). The gcc on
it is ancient, 2.96. <BR>><BR>> Anyway, I am getting an error
"dnsmasq.h:545: array size is missing in 'filename'"<BR>><BR>> Has anybody
seen this before? I checked the subjects of the most recent two
archives.</FONT></DIV>
<DIV><FONT face=Arial size=2>> I know I need to upgrade that machine,
but was hoping this wouldn't be hopeless.</FONT></DIV>
<DIV><FONT face=Arial size=2>> Thanks! </FONT></DIV>
<DIV><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>A simple and not futurproof change is to put a size
for the longest path you would use with tftp, something like</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>char
filename[200];<BR><BR></FONT></DIV></BODY></HTML>