NetBSD Problem Report #35374
From www@NetBSD.org Sun Jan 7 23:09:43 2007
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
id 68C8563B8CA; Sun, 7 Jan 2007 23:09:43 +0000 (UTC)
Message-Id: <20070107230943.68C8563B8CA@narn.NetBSD.org>
Date: Sun, 7 Jan 2007 23:09:43 +0000 (UTC)
From: shel@artell.net
Reply-To: shel@artell.net
To: gnats-bugs@NetBSD.org
Subject: CMU-dhcp-3.3.7+PU-9 will not build under IRIX 6.5
X-Send-Pr-Version: www-1.0
>Number: 35374
>Category: pkg
>Synopsis: CMU-dhcp-3.3.7+PU-9 will not build under IRIX 6.5
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: irix-pkg-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 07 23:10:00 +0000 2007
>Closed-Date:
>Last-Modified: Mon Jan 08 16:05:07 +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.
>Release-Note:
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: shel@artell.net
Cc: gnats-bugs@NetBSD.org
Subject: Re: install/35374: CMU-dhcp-3.3.7+PU-9 will not build under IRIX 6.5
Date: Mon, 8 Jan 2007 00:19:21 +0100
Sorry, maybe I miss something, but how is this NetBSD related?
Martin
Responsible-Changed-From-To: install-manager->pkg-manager
Responsible-Changed-By: martin@netbsd.org
Responsible-Changed-When: Mon, 08 Jan 2007 00:14:49 +0000
Responsible-Changed-Why:
This is about pkgsrc/net/cmu-dhcpd
State-Changed-From-To: open->feedback
State-Changed-By: wiz@netbsd.org
State-Changed-When: Mon, 08 Jan 2007 00:17:12 +0000
State-Changed-Why:
martin@ asked for relevance to NetBSD.
State-Changed-From-To: feedback->open
State-Changed-By: martin@netbsd.org
State-Changed-When: Mon, 08 Jan 2007 00:22:23 +0000
State-Changed-Why:
Feedback has been provided in private mail - this is a pkgsrc on irix problem.
Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 08 Jan 2007 07:11:25 +0000
Responsible-Changed-Why:
Irix pkgsrc problem.
From: "Sheldon T. Hall" <shel@artell.net>
To: <irix-pkg-people@NetBSD.org>
Cc:
Subject: RE: pkg/35374 (CMU-dhcp-3.3.7+PU-9 will not build under IRIX 6.5)
Date: Mon, 8 Jan 2007 07:59:24 -0800
As a follow-up to ...
> -----Original Message-----
> From: wiz@netbsd.org [mailto:wiz@netbsd.org]
> Sent: Sunday, January 07, 2007 11:11 PM
> To: irix-pkg-people@NetBSD.org; pkg-manager@netbsd.org;
> pkgsrc-bugs@netbsd.org; gnats-admin@netbsd.org;
> wiz@netbsd.org; shel@artell.net
> Subject: Re: pkg/35374 (CMU-dhcp-3.3.7+PU-9 will not build
> under IRIX 6.5)
>
> Synopsis: CMU-dhcp-3.3.7+PU-9 will not build under IRIX 6.5
>
> Responsible-Changed-From-To: pkg-manager->irix-pkg-people
> Responsible-Changed-By: wiz@netbsd.org
> Responsible-Changed-When: Mon, 08 Jan 2007 07:11:25 +0000
> Responsible-Changed-Why:
> Irix pkgsrc problem.
... let me add that following the "workaround" instructions in the INSTALL
file (the part about the error "structure has no member named 'rt_dst'")
solves that initial problem, but the compilation/linking subsequently fails
because of too many warnings:
gcc -o dhcpd dhcp.o main.o dovend.o readfile.o hash.o hashf.o
dynamic.o ping.o perm.o perm_utils.o lookup.o utils.o getif.o hwaddr.o
tzone.o report.o dumptab.o my_strerror.o -lgen -lsocket -lnsl -lelf
ld32: WARNING 84: /usr/lib32/libgen.so is not used for resolving any symbol.
ld32: WARNING 84: /usr/lib32/libsocket.so is not used for resolving any
symbol.
ld32: WARNING 84: /usr/lib32/libnsl.so is not used for resolving any symbol.
ld32: WARNING 84: /usr/lib32/libelf.a is not used for resolving any symbol.
ld32: WARNING 134: weak definition of gethostname in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of authnone_create in
/usr/lib32/libnsl.so preempts that weak definition in
/usr/lib32/mips3/libc.so.
... lots more of these, mentioning various files ...
ld32: WARNING 85: definition of _netname2host in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of netname2host in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: Giving up after printing 50 warnings. Use -wall to print all
warnings.
I'll be happy to help you resolve this. I'd be an ideal candidate as a
tester, since I don't know enough to do anything but follow directions....
Thanks.
-Shel
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.