Menu

#2794 make fails "U64"

64-bit
pending
nobody
perl (81) U64 (1)
5
2018-06-08
2017-08-14
Jack Kuiper
No

make fails on ubuntu 17.04 (Desktop)

commands are:
make

Output:
perl.c -fPIC -DPIC -o .libs/snmp_perl.o
In file included from ../include/net-snmp/utilities.h:42:0,
from ../include/net-snmp/net-snmp-includes.h:71,
from snmp_perl.c:9:
../include/net-snmp/library/int64.h:8:30: error: conflicting types for 'U64'
typedef struct counter64 U64;
^~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.24/CORE/perl.h:2684:0,
from snmp_perl.c:6:
/usr/lib/x86_64-linux-gnu/perl/5.24/CORE/handy.h:179:17: note: previous declaration of 'U64' was here
typedef U64TYPE U64;
^~~
Makefile:98: die Regel für Ziel „snmp_perl.lo“ scheiterte
make[1]: *** [snmp_perl.lo] Fehler 1
make[1]: Verzeichnis „/home/jack/projects/net-snmp/agent“ wird verlassen
Makefile:852: die Regel für Ziel „installsubdirlibs“ scheiterte
make: *** [installsubdirlibs] Fehler 1

perl is 5.24.1

Discussion

  • Robert Story

    Robert Story - 2017-10-27
    • labels: --> perl, U64
    • status: open --> pending
     
  • Robert Story

    Robert Story - 2017-10-27

    What release of net-snmp? Check the output of './configure --help' and see if the --disable-U64 options is available.

     
  • Leo Miaton

    Leo Miaton - 2017-12-26

    The same thing is happening to me with version 5.7.2 (OS ubuntu)

     
    • Tim Menard

      Tim Menard - 2018-06-08

      Leo, did you ever get 5.7.2 to install on Ubuntu?

       
  • Tim Menard

    Tim Menard - 2018-06-08

    I'm having the same issue in version 5.7.3 on Deabian. Tried ./configure --disable-U64, --disable-U64 not available.

    In file included from ../include/net-snmp/utilities.h:42:0,
    from ../include/net-snmp/net-snmp-includes.h:71,
    from snmp_perl.c:9:
    ../include/net-snmp/library/int64.h:8:30: error: conflicting types for 'U64'
    typedef struct counter64 U64;
    ^~~
    In file included from /usr/lib/x86_64-linux-gnu/perl/5.24/CORE/perl.h:2684:0,
    from snmp_perl.c:6:
    /usr/lib/x86_64-linux-gnu/perl/5.24/CORE/handy.h:179:17: note: previous declaration of 'U64' was here
    typedef U64TYPE U64;
    ^~~
    Makefile:98: recipe for target 'snmp_perl.lo' failed

     
  • Tim Menard

    Tim Menard - 2018-06-08

    This ticket should be changed to closed as it was fixed in commit 31613e and is part of 5.8.

     

Log in to post a comment.

MongoDB Logo MongoDB