<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 06/15/2017 04:32 PM, Arnaud Quette
      wrote:<br>
      <br>
      Hello<br>
      <br>
    </div>
    <blockquote type="cite"
cite="mid:CAFm_bUhjnQ4u6vi+gz2eWJ-iJ4cNE6jLgQOCT6YJm9-5UF4M1Q@mail.gmail.com">
      <div dir="ltr"><br>
        <div text="#000000" bgcolor="#FFFFFF">.... still no reply from
          them ...<span class=""><br>
          </span></div>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
            </div>
            <div>is the guy you contacted Paul Henri?<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I wrote to a generic alias ( Ro-PQSupport ). Got a reply from a
    fellow Romanian who also CC:ed something looking like a list
    (List-EGPQCO-BUCRO-PQ ). I replied to both of them 5 days ago,
    received nothing since.<br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CAFm_bUhjnQ4u6vi+gz2eWJ-iJ4cNE6jLgQOCT6YJm9-5UF4M1Q@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote"><span class=""></span>
            <div text="#000000" bgcolor="#FFFFFF"><span class=""><br>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div class="gmail_extra">
                      <div class="gmail_quote">
                        <blockquote style="margin:0px 0px 0px
                          0.8ex;border-left:1px solid
                          rgb(204,204,204);padding-left:1ex"
                          class="gmail_quote">
                          <div bgcolor="#FFFFFF"><span
                              class="m_210620360290409676gmail-">
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div>
                                    <div class="gmail_extra">Would you
                                      also be able to test some github
                                      code?<br>
                                    </div>
                                    <div class="gmail_extra">We have the
                                      libusb-1.0 branch that provides
                                      both libusb 1.0 support
                                      (interesting to test to see if the
                                      problem still happens) along with
                                      few other improvements (though
                                      these should not help for your
                                      issue): <a
                                        href="https://github.com/networkupstools/nut/tree/libusb-1.0"
                                        target="_blank"
                                        moz-do-not-send="true">https://github.com/networkupst<wbr>ools/nut/tree/libusb-1.0</a><br>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                            </span></div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </span></div>
            <div><br>
            </div>
            <div>argh, no improvement, but still with libusb 0.1.<br>
            </div>
            <div>do you have libusb 1.0 -devel package installed? With
              that libusb1.0 nut branch, if both 1.0 and 0.1 are
              available, 1.0 will take precedence.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    I just tried using libusb-1.0 instead of 0.1 (the only change I did
    was to replace libusb 0.1-devel with libusb 1.0-devel in the
    buildroot ) but it did not fly. I'll try to see what was missing and
    fix:<br>
    <br>
    libtool: link: gcc -I../include -I/usr/include/libusb-1.0
    -DNETSNMP_ENABLE_IPV6 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
    -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
    -mtune=generic -D_RPM_4_4_COMPAT -Ulinux -Dlinux=linux
    -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
    -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
    -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -I/usr/include
    -I/usr/include/neon -I/usr/include/modbus -O2 -g -pipe -Wall
    -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
    --param=ssp-buffer-size=4 -m64 -mtune=generic -Wl,-z -Wl,now -Wl,-z
    -Wl,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
    -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o
    snmp-ups snmp-ups.o apc-mib.o baytech-mib.o compaq-mib.o eaton-mib.o
    ietf-mib.o mge-mib.o netvision-mib.o powerware-mib.o
    raritan-pdu-mib.o bestpower-mib.o cyberpower-mib.o delta_ups-mib.o
    xppc-mib.o huawei-mib.o eaton-ats16-mib.o apc-ats-mib.o
    raritan-px2-mib.o eaton-ats30-mib.o apc-pdu-mib.o main.o dstate.o
    -Wl,-z -Wl,relro -Wl,-z -Wl,now  ../common/.libs/libcommon.a
    ../common/.libs/libparseconf.a -L/usr/lib64 -lnetsnmp
-lpthread                                                                                                                                                             
    <br>
    nutdrv_qx-nutdrv_qx.o: In function
`ippon_command':                                                                                                                                            
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/nutdrv_qx.c:679:
    undefined reference to
`libusb_strerror'                                                                                         
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/nutdrv_qx.c:692:
    undefined reference to
`libusb_strerror'                                                                                         
    <br>
    nutdrv_qx-nutdrv_qx.o: In function
`fabula_command':                                                                                                                                           
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/nutdrv_qx.c:907:
    undefined reference to
`libusb_strerror'                                                                                         
    <br>
    nutdrv_qx-nutdrv_qx.o: In function
`krauler_command':                                                                                                                                          
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/nutdrv_qx.c:770:
    undefined reference to
`libusb_strerror'                                                                                         
    <br>
    nutdrv_qx-nutdrv_qx.o: In function
`sgs_command':                                                                                                                                              
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/nutdrv_qx.c:542:
    undefined reference to
`libusb_strerror'                                                                                         
    <br>
nutdrv_qx-nutdrv_qx.o:/builddir/build/BUILD/nut-libusb-1.0/drivers/nutdrv_qx.c:568:
    more undefined references to `libusb_strerror'
    follow                                                       <br>
    collect2: ld returned 1 exit
status                                                                                                                                                            
    <br>
    make[1]: *** [nutdrv_qx] Error 1      <br>
    [...]<br>
    <br>
                                                                                                  
    <br>
    libtool: link: gcc -I../include -I/usr/include/libusb-1.0
    -DNETSNMP_ENABLE_IPV6 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
    -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
    -mtune=generic -D_RPM_4_4_COMPAT -Ulinux -Dlinux=linux
    -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
    -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
    -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -I/usr/include
    -I/usr/include/neon -I/usr/include/modbus -O2 -g -pipe -Wall
    -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
    --param=ssp-buffer-size=4 -m64 -mtune=generic -Wl,-z -Wl,now -Wl,-z
    -Wl,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
    -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o
    bcmxcp_usb bcmxcp_usb.o bcmxcp.o usb-common.o main.o dstate.o 
    ../common/.libs/libcommon.a ../common/.libs/libparseconf.a -lusb-1.0
    -lm
    -lpthread                                                               
    <br>
    bcmxcp_usb.o: In function
`nutusb_open':                                                                                                                                                       
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/bcmxcp_usb.c:515:
    undefined reference to
`libusb_strerror'                                                                                        
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/bcmxcp_usb.c:504:
    undefined reference to
`libusb_strerror'                                                                                        
    <br>
    collect2: ld returned 1 exit
status                                                                                                                                                            
    <br>
    make[1]: *** [bcmxcp_usb] Error
1                                                                                                                                                              
    <br>
    libusb1.o: In function
`nut_libusb_strerror':                                                                                                                                                  
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/libusb1.c:484:
    undefined reference to
`libusb_strerror'                                                                                           
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/libusb1.c:469:
    undefined reference to
`libusb_strerror'                                                                                           
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/libusb1.c:479:
    undefined reference to
`libusb_strerror'                                                                                           
    <br>
    libusb1.o: In function
`nut_libusb_open':                                                                                                                                                      
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/libusb1.c:181:
    undefined reference to
`libusb_strerror'                                                                                           
    <br>
    /builddir/build/BUILD/nut-libusb-1.0/drivers/libusb1.c:282:
    undefined reference to
`libusb_strerror'                                                                                           
    <br>
libusb1.o:/builddir/build/BUILD/nut-libusb-1.0/drivers/libusb1.c:289:
    more undefined references to `libusb_strerror'
follow                                                                    
    <br>
    collect2: ld returned 1 exit
status                                                                                                                                                            
    <br>
    make[1]: *** [usbhid-ups] Error 1                               <br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CAFm_bUhjnQ4u6vi+gz2eWJ-iJ4cNE6jLgQOCT6YJm9-5UF4M1Q@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> <br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> <br>
                    Comments on the new tree:<br>
                a)    there seem to be some missing files in the tree:<br>
                - some bits for augeas, devs and udev:<br>
                <a href="http://configure.ac:1526" target="_blank"
                  moz-do-not-send="true">configure.ac:1526</a>: required
                file `scripts/augeas/<a href="http://nutupsconf.aug.in"
                  target="_blank" moz-do-not-send="true">nutupsconf.<wbr>aug.in</a>'
                not found<br>
                <a href="http://configure.ac:1526" target="_blank"
                  moz-do-not-send="true">configure.ac:1526</a>: required
                file `scripts/devd/<a href="http://nut-usb.conf.in"
                  target="_blank" moz-do-not-send="true">nut-usb.conf.in</a>'
                not found<br>
                <a href="http://configure.ac:1526" target="_blank"
                  moz-do-not-send="true">configure.ac:1526</a>: required
                file `scripts/udev/<a href="http://nut-usbups.rules.in"
                  target="_blank" moz-do-not-send="true">nut-usbups.<wbr>rules.in</a>'
                not found<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>when using git, you must call autogen.sh prior to
              calling configure...<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    running autogen.sh was triggered automatically. but even if I do it
    explicitly, I still get:<br>
    + autoreconf
-i                                                                                         
    <br>
    configure.ac:887: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
    detected in body                     <br>
    ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded
    from...                                     <br>
    ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded
    from...                                  <br>
    ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded
    from...                                   <br>
    /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is
    expanded from...                          <br>
    /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded
    from...                                <br>
    /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded
    from...                                <br>
    /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded
    from...                                         <br>
    /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded
    from...                                            <br>
    /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded
    from...                                   <br>
    configure.ac:887: the top level           <br>
                                                   <br>
    [.... looong part of output deleted...]<br>
    <br>
    configure.ac:1526: required file `scripts/augeas/nutupsconf.aug.in'
    not found<br>
    configure.ac:1526: required file `scripts/devd/nut-usb.conf.in' not
    found<br>
    configure.ac:1526: required file `scripts/udev/nut-usbups.rules.in'
    not found<br>
    Makefile.am: installing `./INSTALL'<br>
    autoreconf: automake failed with exit status: 1<br>
    error: Bad exit status from /var/tmp/rpm-tmp.F5xT0r (%build)<br>
        Bad exit status from /var/tmp/rpm-tmp.F5xT0r (%build)<br>
    <br>
    <br>
    regards,<br>
    <br>
        manuel<br>
  </body>
</html>