Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Volodymyr G. Mosiychuk               2:5020/400     26 Jul 2004  15:56:56
 To : All
 Subject : ng_ipacct Compiling Error!
 -------------------------------------------------------------------------------- 
 
 
 Доброго времени суток All!!!
 
 У меня проблемы с компилированием сабжа:
 
 ------------------------------------------------------------
 
 # make
 
 ===> ng_ipacct
 
 Warning: Object directory not changed from original
 /tmp/vovan/src/ng_ipacct_time/ng_ipacct
 cc -O -pipe -mcpu=pentiumpro -gcc -I/tmp/vovan/src/ng_ipacct_time/ng_ipacct 
  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wm
 issing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions 
 -std=c99 -DKLD_MODULE -nostdinc -I-  -I/tmp/vovan/src/ng_ipacct_time/ng_ipac
 ct -I. -I@ -I@/../include -finline-limit=15000 -fno-common  -mno-align-long-
 strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls 
 -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -
 Winline -Wcast-qual  -fformat-extensions -std=c99 -c ng_ipacct.c
 cc1: warning: `cc': unknown or unsupported -g option
 ng_ipacct.c:96: warning: initialization from incompatible pointer type
 ng_ipacct.c:97: warning: initialization from incompatible pointer type
 ng_ipacct.c:99: warning: missing braces around initializer
 ng_ipacct.c:99: warning: (near initialization for
 `ng_ipacct_typestruct.types')
 ng_ipacct.c:140: error: conflicting types for `ng_ipacct_constructor'
 ng_ipacct.c:77: error: previous declaration of `ng_ipacct_constructor'
 ng_ipacct.c: In function `ng_ipacct_constructor':
 ng_ipacct.c:147: error: structure has no member named `private'
 ng_ipacct.c: In function `ng_ipacct_newhook':
 ng_ipacct.c:200: error: structure has no member named `private'
 ng_ipacct.c: At top level:
 ng_ipacct.c:215: error: conflicting types for `ng_ipacct_rcvmsg'
 ng_ipacct.c:78: error: previous declaration of `ng_ipacct_rcvmsg'
 ng_ipacct.c: In function `ng_ipacct_rcvmsg':
 ng_ipacct.c:235: error: structure has no member named `name'
 ng_ipacct.c:250: error: structure has no member named `name'
 ng_ipacct.c:269: error: structure has no member named `name'
 ng_ipacct.c:282: error: structure has no member named `name'
 ng_ipacct.c:299: error: structure has no member named `name'
 ng_ipacct.c:311: error: structure has no member named `name'
 ng_ipacct.c:327: error: structure has no member named `name'
 ng_ipacct.c: At top level:
 ng_ipacct.c:364: error: conflicting types for `ng_ipacct_rcvdata'
 ng_ipacct.c:81: error: previous declaration of `ng_ipacct_rcvdata'
 ng_ipacct.c: In function `ng_ipacct_rcvdata':
 ng_ipacct.c:365: error: structure has no member named `private'
 ng_ipacct.c:378: warning: implicit declaration of function `NG_FREE_DATA'
 ng_ipacct.c:388: warning: implicit declaration of function `NTOHS'
 ng_ipacct.c:404: warning: redundant redeclaration of `NG_FREE_DATA' in same
 scope
 ng_ipacct.c:378: warning: previous declaration of `NG_FREE_DATA'
 ng_ipacct.c: In function `ng_ipacct_rmnode':
 ng_ipacct.c:417: error: structure has no member named `flags'
 ng_ipacct.c:418: warning: implicit declaration of function `ng_cutlinks'
 ng_ipacct.c:419: warning: implicit declaration of function `ng_unname'
 ng_ipacct.c:420: warning: implicit declaration of function `ng_unref'
 ng_ipacct.c: In function `ng_ipacct_disconnect':
 ng_ipacct.c:432: error: structure has no member named `private'
 ng_ipacct.c:437: error: structure has no member named `private'
 ng_ipacct.c:438: error: structure has no member named `name'
 ng_ipacct.c:439: error: structure has no member named `node'
 ng_ipacct.c:441: warning: implicit declaration of function `ng_rmnode'
 ng_ipacct.c:441: error: structure has no member named `node'
 ng_ipacct.c: In function `ng_ipacct_findhook':
 ng_ipacct.c:464: error: structure has no member named `private'
 ng_ipacct.c: In function `ipv4_make_ipacct_data':
 ng_ipacct.c:709: warning: implicit declaration of function `IP_VHL_V'
 ng_ipacct.c:709: error: structure has no member named `ip_vhl'
 ng_ipacct.c:712: warning: implicit declaration of function `IP_VHL_HL'
 ng_ipacct.c:712: error: structure has no member named `ip_vhl'
 *** Error code 1
 
 Stop in /tmp/vovan/src/ng_ipacct_time/ng_ipacct.
 *** Error code 1
 
 Stop in /tmp/vovan/src/ng_ipacct_time.
 
 ----------------------------------------------------------------------------
 ------------
 Ядро:
 
 =================================
 
 .....................
 
 options         NETGRAPH
 options         NETGRAPH_ASYNC
 options         NETGRAPH_BPF
 options         NETGRAPH_BRIDGE
 options         NETGRAPH_CISCO
 options         NETGRAPH_ECHO
 options         NETGRAPH_ETHER
 options         NETGRAPH_FRAME_RELAY
 options         NETGRAPH_GIF
 options         NETGRAPH_GIF_DEMUX
 options         NETGRAPH_HOLE
 options         NETGRAPH_IFACE
 options         NETGRAPH_IP_INPUT
 options         NETGRAPH_KSOCKET
 options         NETGRAPH_L2TP
 options         NETGRAPH_LMI
 options         NETGRAPH_MPPC_ENCRYPTION
 options         NETGRAPH_ONE2MANY
 options         NETGRAPH_PPP
 options         NETGRAPH_PPPOE
 options         NETGRAPH_PPTPGRE
 options         NETGRAPH_RFC1490
 options         NETGRAPH_SOCKET
 options         NETGRAPH_SPLIT
 options         NETGRAPH_TEE
 options         NETGRAPH_TTY
 options         NETGRAPH_UI
 options         NETGRAPH_VJC
 options         NETGRAPH_ATM_ATMPIF
 ................
 
 =================================
 Заранее благодарен, Владимир.
 --- ifmail v.2.15dev5.3
  * Origin: Ukranian Academic Research Network (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 ng_ipacct Compiling Error!   Volodymyr G. Mosiychuk   26 Jul 2004 15:56:56 
 Re: ng_ipacct Compiling Error!   Gleb Smirnoff   26 Jul 2004 16:45:03 
 Re: ng_ipacct Compiling Error!   Volodymyr G. Mosiychuk   26 Jul 2004 16:58:11 
 Re: ng_ipacct Compiling Error!   Gleb Smirnoff   26 Jul 2004 17:55:27 
Архивное /ru.unix.bsd/6477f3ffed62.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional