Senthil K
|
Packet filter compilation in Momentics
|
Senthil K
11/16/2009 12:01 PM
post42027
|
Packet filter compilation in Momentics
Hi,
I had compile the lsm packet filter code in QNX momentics,compilation is successful but while linking the following are
the errors
ake[2]: Entering directory `D:/Paticla/Compilation_check/lsm/x86/dll'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `D:/Paticla/Compilation_check/lsm/x86/dll'
C:/QNX641/host/win32/x86/usr/bin/make -j 1 -Co -fMakefile all
make[2]: Entering directory `D:/Paticla/Compilation_check/lsm/x86/o'
C:/QNX641/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses -O -DNDEBUG -I. -ID:/
Paticla/Compilation_check/lsm/x86/o -ID:/Paticla/Compilation_check/lsm/x86 -ID:/Paticla/Compilation_check/lsm -IC:/
QNX641/target/qnx6/usr/include -DBUILDENV_qss D:/Paticla/Compilation_check/lsm/packfil.c
C:/QNX641/host/win32/x86/usr/bin/rm -f D:/Paticla/Compilation_check/lsm/x86/o/lsm
C:/QNX641/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -oD:/Paticla/Compilation_check/lsm/x86/o/lsm lsm.o packfil.o
-L . -L C:/QNX641/target/qnx6/x86/lib -L C:/QNX641/target/qnx6/x86/usr/lib -Wl,--rpath-link . -Wl,--rpath-link C:/
QNX641/target/qnx6/x86/lib -Wl,--rpath-link C:/QNX641/target/qnx6/x86/usr/lib
packfil.o: In function `pfil_entry':
packfil.c:(.text+0x264): undefined reference to `pfil_head_get'
packfil.c:(.text+0x28e): undefined reference to `pfil_add_hook'
packfil.c:(.text+0x2ae): undefined reference to `pfil_add_hook'
make[2]: Leaving directory `D:/Paticla/Compilation_check/lsm/x86/o'
packfil.c:(.text+0x2c2): undefined reference to `pfil_head_get'
C:/QNX641/host/win32/x86/usr/bin/make -j 1 -Co-g -fMakefile all
packfil.c:(.text+0x2e8): undefined reference to `pfil_add_hook'
packfil.c:(.text+0x308): undefined reference to `pfil_add_hook'
packfil.o: In function `iface_hook':
packfil.c:(.text+0x416): undefined reference to `pfil_head_get'
packfil.c:(.text+0x440): undefined reference to `pfil_remove_hook'
packfil.c:(.text+0x460): undefined reference to `pfil_remove_hook'
packfil.c:(.text+0x474): undefined reference to `pfil_head_get'
packfil.c:(.text+0x49a): undefined reference to `pfil_remove_hook'
packfil.c:(.text+0x4ba): undefined reference to `pfil_remove_hook'
cc: C:/QNX641/host/win32/x86/usr/bin/ntox86-ld caught signal 1
make[2]: *** [D:/Paticla/Compilation_check/lsm/x86/o/lsm] Error 1
make[2]: Target `all' not remade because of errors.
Please help me on this...
Thanks and Regards
K.Senthil
|
|
|