Matthew Yin(deleted)
|
Packet Filtering link error ( Momentics )
|
Matthew Yin(deleted)
05/04/2011 6:24 PM
post85412
|
Packet Filtering link error ( Momentics )
Hi,
I am new to QNX...
When trying to compile the code provide in:
http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.io-pkt_en_user_guide/filtering.html
I got the following error:
C:\BBNDK100\host\win32\x86\usr\bin\make.exe -k CPULIST=x86 all --file=C:/DOCUME~1/myin/LOCALS~1/Temp/
QMakefile130454651754650171.tmp
C:/BBNDK100/host/win32/x86/usr/bin/make.exe -j 1 -Cx86 -fMakefile all
make.exe[1]: Entering directory `C:/ide-4.7-workspace/PFTest/x86'
C:/BBNDK100/host/win32/x86/usr/bin/make.exe -j 1 -Co -fMakefile all
make.exe[2]: Entering directory `C:/ide-4.7-workspace/PFTest/x86/o'
C:/BBNDK100/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -O -DNDEBUG -I. -IC:/ide-4.7-workspace/
PFTest/x86/o -IC:/ide-4.7-workspace/PFTest/x86 -IC:/ide-4.7-workspace/PFTest -IC:/BBNDK100/target/qnx6/usr/include/io-
pkt -IC:/BBNDK100/target/qnx6/usr/include -DBUILDENV_qss C:/ide-4.7-workspace/PFTest/PFTest.c
C:/BBNDK100/host/win32/x86/usr/bin/rm -f C:/ide-4.7-workspace/PFTest/x86/o/PFTest
C:/BBNDK100/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -ptcpip -o C:/ide-4.7-workspace/PFTest/x86/o/PFTest PFTest.o
-L . -L C:/BBNDK100/target/qnx6/x86/lib -L C:/BBNDK100/target/qnx6/x86/usr/lib -Wl,--rpath-link . -Wl,--rpath-link C:
/BBNDK100/target/qnx6/x86/lib -Wl,--rpath-link C:/BBNDK100/target/qnx6/x86/usr/lib -Bstatic -lc -Bdynamic -
lc -Bstatic -lsocket -Bdynamic -lsocket -Bstatic -lsocks -Bdynamic -lsocks
PFTest.o: In function `pfil_entry':
PFTest.c:(.text+0x51): undefined reference to `pfil_head_get'
PFTest.c:(.text+0x7b): undefined reference to `pfil_add_hook'
PFTest.c:(.text+0x9b): undefined reference to `pfil_add_hook'
PFTest.c:(.text+0xaf): undefined reference to `pfil_head_get'
PFTest.c:(.text+0xd5): undefined reference to `pfil_add_hook'
PFTest.c:(.text+0xf5): undefined reference to `pfil_add_hook'
There is an old thread about this issue, but there seems no final solutions:
http://community.qnx.com/sf/discussion/do/listPosts/projects.networking/discussion.drivers.topc10823
Did I miss something in Momentics Project Properties settings?
Thanks,
Matthew
|
|
|