Menu

Installing on debian voyage

Help
2011-01-03
2012-09-19
  • Nicola Banterle

    Nicola Banterle - 2011-01-03

    hi all! I've some error on make ... I'll post it. NB1: i've the latest
    libusb, so if it's that the problem, please tell me.

    ./configure

    checking for a BSD-compatible install... /usr/bin/install -c

    checking whether build environment is sane... yes

    checking for a thread-safe mkdir -p... /bin/mkdir -p

    checking for gawk... no

    checking for mawk... mawk

    checking whether make sets $(MAKE)... yes

    checking for gcc... gcc

    checking for C compiler default output file name... a.out

    checking whether the C compiler works... yes

    checking whether we are cross compiling... no

    checking for suffix of executables...

    checking for suffix of object files... o

    checking whether we are using the GNU C compiler... yes

    checking whether gcc accepts -g... yes

    checking for gcc option to accept ISO C89... none needed

    checking for style of include used by make... GNU

    checking dependency style of gcc... gcc3

    checking whether make sets $(MAKE)... (cached) yes

    checking for library containing libusb_init... no

    checking how to run the C preprocessor... gcc -E

    checking for grep that handles long lines and -e... /bin/grep

    checking for egrep... /bin/grep -E

    checking for ANSI C header files... yes

    checking for sys/types.h... yes

    checking for sys/stat.h... yes

    checking for stdlib.h... yes

    checking for string.h... yes

    checking for memory.h... yes

    checking for strings.h... yes

    checking for inttypes.h... yes

    checking for stdint.h... yes

    checking for unistd.h... yes

    checking fcntl.h usability... yes

    checking fcntl.h presence... yes

    checking for fcntl.h... yes

    checking netinet/in.h usability... yes

    checking netinet/in.h presence... yes

    checking for netinet/in.h... yes

    checking for stdlib.h... (cached) yes

    checking for string.h... (cached) yes

    checking sys/socket.h usability... yes

    checking sys/socket.h presence... yes

    checking for sys/socket.h... yes

    checking syslog.h usability... yes

    checking syslog.h presence... yes

    checking for syslog.h... yes

    checking for unistd.h... (cached) yes

    checking for pid_t... yes

    checking for size_t... yes

    checking for uint16_t... yes

    checking for uint8_t... yes

    checking vfork.h usability... no

    checking vfork.h presence... no

    checking for vfork.h... no

    checking for fork... yes

    checking for vfork... yes

    checking for working fork... yes

    checking for working vfork... (cached) yes

    checking for stdlib.h... (cached) yes

    checking for GNU libc compatible malloc... yes

    checking for alarm... yes

    checking for memset... yes

    checking for select... yes

    checking for socket... yes

    checking for strerror... yes

    checking for strtol... yes

    checking for strtoul... yes

    configure: creating ./config.status

    config.status: creating Makefile

    config.status: executing depfiles commands

    make

    gcc -DPACKAGE_NAME=\"mochad\" -DPACKAGE_TARNAME=\"mochad\"
    -DPACKAGE_VERSION=\"0.1.3\" -DPACKAGE_STRING=\"mochad\ 0.1.3\"
    -DPACKAGE_BUGREPORT=\"mmauka@users.sourceforge.net\" -DPACKAGE_URL=\"\"
    -DPACKAGE=\"mochad\" -DVERSION=\"0.1.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
    -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
    -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
    -DHAVE_FCNTL_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
    -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1
    -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1
    -DHAVE_MALLOC=1 -DHAVE_ALARM=1 -DHAVE_MEMSET=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1
    -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -I. -g -O2 -MT mochad.o -MD
    -MP -MF .deps/mochad.Tpo -c -o mochad.o mochad.c

    mochad.c: In function 'find_cm15a':

    mochad.c:255: warning: assignment makes pointer from integer without a cast

    mochad.c:257: warning: assignment makes pointer from integer without a cast

    mochad.c: In function 'IntrOut_cb':

    mochad.c:293: error: dereferencing pointer to incomplete type

    mochad.c: In function 'IntrIn_cb':

    mochad.c:302: error: dereferencing pointer to incomplete type

    mochad.c:302: error: 'LIBUSB_TRANSFER_COMPLETED' undeclared (first use in this
    function)

    mochad.c:302: error: (Each undeclared identifier is reported only once

    mochad.c:302: error: for each function it appears in.)

    mochad.c:303: error: dereferencing pointer to incomplete type

    mochad.c:310: error: dereferencing pointer to incomplete type

    mochad.c:311: error: dereferencing pointer to incomplete type

    mochad.c:311: error: dereferencing pointer to incomplete type

    mochad.c:314: error: dereferencing pointer to incomplete type

    mochad.c:326: error: dereferencing pointer to incomplete type

    mochad.c:326: error: dereferencing pointer to incomplete type

    mochad.c: In function 'alloc_transfers':

    mochad.c:351: warning: assignment makes pointer from integer without a cast

    mochad.c:357: warning: assignment makes pointer from integer without a cast

    mochad.c: In function 'mydaemon':

    mochad.c:454: warning: assignment makes pointer from integer without a cast

    mochad.c:459: error: dereferencing pointer to incomplete type

    mochad.c:459: error: dereferencing pointer to incomplete type

    mochad.c:461: error: dereferencing pointer to incomplete type

    mochad.c:462: error: dereferencing pointer to incomplete type

    make: *** Error 1

    PS: I've edit the include of the library... it's <usb.h> instead of
    <libusb-1.0 libusb.h=""></libusb-1.0></usb.h>

    Thanks for the time :)

     
  • Nicola Banterle

    Nicola Banterle - 2011-01-03

    Normally would make this error:

    gcc -DPACKAGE_NAME=\"mochad\" -DPACKAGE_TARNAME=\"mochad\"
    -DPACKAGE_VERSION=\"0.1.3\" -DPACKAGE_STRING=\"mochad\ 0.1.3\"
    -DPACKAGE_BUGREPORT=\"mmauka@users.sourceforge.net\" -DPACKAGE_URL=\"\"
    -DPACKAGE=\"mochad\" -DVERSION=\"0.1.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
    -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
    -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
    -DHAVE_FCNTL_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
    -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1
    -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1
    -DHAVE_MALLOC=1 -DHAVE_ALARM=1 -DHAVE_MEMSET=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1
    -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -I. -g -O2 -MT mochad.o -MD
    -MP -MF .deps/mochad.Tpo -c -o mochad.o mochad.c

    mochad.c:68:31: error: libusb-1.0/libusb.h: No such file or directory

    mochad.c: In function 'find_cm15a':

    mochad.c:255: warning: assignment makes pointer from integer without a cast

    mochad.c:257: warning: assignment makes pointer from integer without a cast

    mochad.c: In function 'IntrOut_cb':

    mochad.c:293: error: dereferencing pointer to incomplete type

    mochad.c: In function 'IntrIn_cb':

    mochad.c:302: error: dereferencing pointer to incomplete type

    mochad.c:302: error: 'LIBUSB_TRANSFER_COMPLETED' undeclared (first use in this
    function)

    mochad.c:302: error: (Each undeclared identifier is reported only once

    mochad.c:302: error: for each function it appears in.)

    mochad.c:303: error: dereferencing pointer to incomplete type

    mochad.c:310: error: dereferencing pointer to incomplete type

    mochad.c:311: error: dereferencing pointer to incomplete type

    mochad.c:311: error: dereferencing pointer to incomplete type

    mochad.c:314: error: dereferencing pointer to incomplete type

    mochad.c:326: error: dereferencing pointer to incomplete type

    mochad.c:326: error: dereferencing pointer to incomplete type

    mochad.c: In function 'alloc_transfers':

    mochad.c:351: warning: assignment makes pointer from integer without a cast

    mochad.c:357: warning: assignment makes pointer from integer without a cast

    mochad.c: In function 'mydaemon':

    mochad.c:454: warning: assignment makes pointer from integer without a cast

    mochad.c:459: error: dereferencing pointer to incomplete type

    mochad.c:459: error: dereferencing pointer to incomplete type

    mochad.c:461: error: dereferencing pointer to incomplete type

    mochad.c:462: error: dereferencing pointer to incomplete type

    make: *** Error 1

     

Log in to post a comment.