
zinosat at tiscali
Oct 8, 2009, 12:40 AM
Post #3 of 5
(1044 views)
Permalink
|
Hi Luca, Il giorno mer, 07/10/2009 alle 16.40 +0200, Luca Deri ha scritto: > Davide > thanks for your email. Please resync from svn anche check if it works > now two minor problems: in PF_RING/userland/examples it still fails with make: *** No rule to make target `pfcount_luca.o', needed by `pfcount_luca'. Stop. the obvious fix is to remove pfcount_luca from the list of targets; you might consider something like this in case you want to avoid remembering to remove "pfcount_luca" every time you commit a change in the repository ifeq (1, $(shell [ -f pfcount_luca.c ] ) ) PF_COUNT_LUCA = pfcount_luca endif PFPROGS = ringc rings ringm pcaps pfcount ${PF_COUNT_LUCA} pfmap forwarder alldevs the other problem is in PF_RING/userland/lib: vt [at] cavi:~/PF_RING/userland/lib$ sudo make install =*= making library libpfring.so =*= gcc -shared -fPIC Makefile -lpthread -o libpfring.so Makefile: file not recognized: File format not recognized collect2: ld returned 1 exit status make: *** [libpfring.so] Error 1 DYNAMICLIB is commented out in the list of targets but is not commented in "install" rule so it can be fixed either commenting the "cp ${DYNAMICLIB} ${INSTDIR}/lib/" line, or removing the comment in TARGETS = ${STATICLIB} #${DYNAMICLIB} and changing this ${DYNAMICLIB}: Makefile ${OBJS} pfring.h ../../kernel/include/linux/ring.h into this ${DYNAMICLIB}: ${OBJS} pfring.h ../../kernel/include/linux/ring.h Makefile regards, Davide _______________________________________________ Ntop-misc mailing list Ntop-misc [at] listgateway http://listgateway.unipi.it/mailman/listinfo/ntop-misc
|