Senthil K
|
Reg - Packet filter Compilation
|
Senthil K
06/26/2009 2:48 AM
post32558
|
Reg - Packet filter Compilation
Hi ,
I download the source code pfil.tar from QNX site,When i compiling in my QNX Pc it throws an error.
Please find the below error and attached th tar.
Please any one help to do the compilation.
/usr/qnx640/host/qnx6/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses -O -DNDEBUG -I. -I/home/senthil/
pfil/x86/dll -I/home/senthil/pfil/x86 -I/home/senthil/pfil -I/usr/qnx640/target/qnx6/usr/include -shared -
DVARIANT_dll -DBUILDENV_qss /home/senthil/pfil/pfhook.c
/home/senthil/pfil/pfhook.c:12:25: error: sys/io-pkt.h: No such file or directory
/home/senthil/pfil/pfhook.c:15:28: error: nw_datastruct.h: No such file or directory
/home/senthil/pfil/pfhook.c: In function 'deinit_module':
/home/senthil/pfil/pfhook.c:62: warning: implicit declaration of function 'pfil_remove_hook'
/home/senthil/pfil/pfhook.c:64: warning: implicit declaration of function 'pfil_head_get'
/home/senthil/pfil/pfhook.c:64: warning: assignment makes pointer from integer without a cast
/home/senthil/pfil/pfhook.c: At top level:
/home/senthil/pfil/pfhook.c:79: warning: 'struct _iopkt_self' declared inside parameter list
/home/senthil/pfil/pfhook.c:79: warning: its scope is only this definition or declaration, which is probably not what
you want
/home/senthil/pfil/pfhook.c: In function 'pfil_entry':
/home/senthil/pfil/pfhook.c:84: warning: implicit declaration of function 'pfil_add_hook'
/home/senthil/pfil/pfhook.c:87: warning: assignment makes pointer from integer without a cast
/home/senthil/pfil/pfhook.c: At top level:
/home/senthil/pfil/pfhook.c:99: warning: parameter names (without types) in function declaration
/home/senthil/pfil/pfhook.c:99: error: function 'IOPKT_LSM_ENTRY_SYM' is initialized like a variable
/home/senthil/pfil/pfhook.c:100: warning: implicit declaration of function 'IOPKT_LSM_ENTRY_SYM_INIT'
cc: /usr/qnx640/host/qnx6/x86/usr/lib/gcc/i386-pc-nto-qnx6.4.0/4.2.4/cc1 error 1
Thanks and Regards
K.Senthil
|
|
|