Subject: install/35374: CMU-dhcp-3.3.7+PU-9 will not build under IRIX 6.5
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <shel@artell.net>
List: netbsd-bugs
Date: 01/07/2007 23:10:01
>Number:         35374
>Category:       install
>Synopsis:       CMU-dhcp-3.3.7+PU-9 will not build under IRIX 6.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 07 23:10:00 +0000 2007
>Originator:     Sheldon T. Hall
>Release:        None - trying to build it under IRIX
>Organization:
none
>Environment:
IRIX64 tandem 6.5 10070055 IP25
>Description:
Since I couldn't find the actual source code here, I downloaded it from the Princeton site pointed to on your CMU-dhcp page.

Download, un-zipping, and untarring were uneventful.

./configure ran without any error messages.

Then:

/usr/people/shel/dhcpd/CMU-dhcp-3.3.7+PU-9 $ make
        gcc -O -DNO_SNMP  -c dhcp.c
        gcc -O -DNO_SNMP  -c main.c
main.c: In function `main':
main.c:1013: error: structure has no member named `rt_dst'
main.c:1019: error: `SIOCADDRT' undeclared (first use in this function)
main.c:1019: error: (Each undeclared identifier is reported only once
main.c:1019: error: for each function it appears in.)
*** Error code 1 (bu21)

Thanks for any help you can render.

-Shel

>How-To-Repeat:
Attempt to compile /CMU-dhcp-3.3.7+PU-9 using gcc under IRIX 6.5.22f.
>Fix:
I haven't a clue.