Jump to content
Форум по продукции MOXA

frofis

Пользователи
  • Posts

    11
  • Joined

  • Last visited

Posts posted by frofis

  1. KCPPFLAGS="" make -C /lib/modules/4.2.0-24-generic/build M=/9/moxa EXTRA_CFLAGS=" -DNP_TIMEOUT=''" modules
    make[1]: Entering directory `/usr/src/linux-headers-4.2.0-24-generic'
      CC [M]  /9/moxa/npreal2.o
    /9/moxa/npreal2.c:99:8: warning: "DIST_ID" is not defined [-Wundef]
    /9/moxa/npreal2.c:109:8: warning: "DIST_ID" is not defined [-Wundef]
    /9/moxa/npreal2.c:161:8: warning: "DIST_ID" is not defined [-Wundef]
    /9/moxa/npreal2.c: In function ‘npreal_disconnect’:
    /9/moxa/npreal2.c:788:4: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c:802:5: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_flush_buffer’:
    /9/moxa/npreal2.c:1329:19: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_startup’:
    /9/moxa/npreal2.c:1965:5: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c:1981:6: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c:2029:6: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c:2101:21: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_port_init’:
    /9/moxa/npreal2.c:2463:24: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c:2534:22: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c:2580:22: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_port_shutdown’:
    /9/moxa/npreal2.c:2650:25: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c:2664:26: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_set_serial_info’:
    /9/moxa/npreal2.c:2998:6: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_start_break’:
    /9/moxa/npreal2.c:3047:25: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_stop_break’:
    /9/moxa/npreal2.c:3071:24: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_wait_and_set_command’:
    /9/moxa/npreal2.c:4149:17: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_linectrl’:
    /9/moxa/npreal2.c:4730:22: error: invalid type argument of unary ‘*’ (have ‘int’)
    /9/moxa/npreal2.c: In function ‘npreal_setxon_xoff’:
    /9/moxa/npreal2.c:4767:8: error: invalid type argument of unary ‘*’ (have ‘int’)
    make[2]: *** [/9/moxa/npreal2.o] Ошибка 1
    make[1]: *** [_module_/9/moxa] Ошибка 2
    make[1]: Leaving directory `/usr/src/linux-headers-4.2.0-24-generic'
    make: *** [module] Ошибка 2

    Вот такое выдает

×
×
  • Create New...