pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41722: net/ntop compilation errors (NetBSD 4.0)



>Number:         41722
>Category:       pkg
>Synopsis:       net/ntop compilation errors (NetBSD 4.0)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 14 10:50:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        net/ntop fails to compile in a NetBSD 4.0 environment.

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        to simulate a fairly pure NetBSD 4.0 release environment (no x*
        sets, but that's irrelevant here).

        Building net/ntop results in ...

mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I/pkg_comp/obj/pkgsrc/net/ntop/4x/.buildlink/include 
-I/pkg_comp/obj/pkgsrc/net/ntop/4x/.buildlink/include/freetype2 -DNETBSD -g -O2 
-g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fPIC -DPIC -c address.c  -fPIC -DPIC -o .libs/address.o
In file included from address.c:21:
ntop.h:417:19: error: evdns.h: No such file or directory
address.c: In function 'dns_response_callback':
address.c:123: error: 'DNS_ERR_NONE' undeclared (first use in this function)
address.c:123: error: (Each undeclared identifier is reported only once
address.c:123: error: for each function it appears in.)
address.c:129: error: 'DNS_IPv6_AAAA' undeclared (first use in this function)
address.c:150: error: 'DNS_IPv4_A' undeclared (first use in this function)
address.c:164: error: 'DNS_PTR' undeclared (first use in this function)
address.c: In function 'queueAddress':
address.c:243: warning: nested extern declaration of 'evdns_resolve_reverse'
address.c:243: error: 'DNS_ERR_NONE' undeclared (first use in this function)
gmake[2]: *** [address.lo] Error 1
gmake[2]: Leaving directory `/pkg_comp/obj/pkgsrc/net/ntop/4x/ntop-3.3.10'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/net/ntop/4x/ntop-3.3.10'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/net/ntop
*** Error code 1

Stop.

        Earlier it also said ...

configure: creating ./config.status
config.status: creating Makefile
config.status: creating plugins/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --without-libintl-prefix, 
--without-libiconv-prefix

        and

*>>>>  A WARNING message was generated - please review the
*>>>>  output before continuing to make ntop!

        (which was most likely the warning from configure included here,
        but possibly something else).   And ...

=> Modifying libtool scripts to use pkgsrc libtool
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package 
Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.

        Mos probably none of that is relevant, just included for completeness.

>Fix:



Home | Main Index | Thread Index | Old Index