PDA

View Full Version : Newb here Moblock?



ArthurEC
14th June 2010, 06:07 PM
First off hello to all and thanks in anticipation for your help. I am using Fedora 13 and want to add moblock. Regardless of where I download it from using Archive Manager I get the following error.
"/tmp/MoBlock-0.8-i586.tar.bz2 could not be opened, because the associated helper application does not exist. Change the association in your preference"
Any ideas, what am I not getting? Thanks.

glennzo
14th June 2010, 06:42 PM
Save the file instead of trying to open it with the helper app. Then manually extract the archive.

ArthurEC
14th June 2010, 10:01 PM
Thanks I'll try that.

---------- Post added at 05:01 PM CDT ---------- Previous post was at 01:50 PM CDT ----------

That worked for saving the tar.bz2. I ran tar xvjf MoBlock-0.8-i586.tar.bz2, cd to the directory. Ran make and got the following.
gcc -Wall -O2 -march=i586 -mtune=i686 -fomit-frame-pointer -ffast-math -D_GNU_SOURCE -DNFQUEUE -L/usr/include/libipq -c -o MoBlock.o MoBlock.c

In file included from MoBlock.c:35:

/usr/include/linux/netfilter_ipv4.h:53: error: ‘INT_MIN’ undeclared here (not in a function)

/usr/include/linux/netfilter_ipv4.h:64: error: ‘INT_MAX’ undeclared here (not in a function)

MoBlock.c:46:52: error: libnetfilter_queue/libnetfilter_queue.h: No such file or directory

MoBlock.c:377: warning: ‘struct nfq_data’ declared inside parameter list

MoBlock.c:377: warning: its scope is only this definition or declaration, which is probably not what you want

MoBlock.c:377: warning: ‘struct nfgenmsg’ declared inside parameter list

MoBlock.c:377: warning: ‘struct nfq_q_handle’ declared inside parameter list

MoBlock.c: In function ‘nfqueue_cb’:

MoBlock.c:384: warning: implicit declaration of function ‘nfq_get_msg_packet_hdr’

MoBlock.c:384: warning: assignment makes pointer from integer without a cast

MoBlock.c:386: error: dereferencing pointer to incomplete type

MoBlock.c:387: warning: implicit declaration of function ‘nfq_get_payload’

MoBlock.c:389: error: dereferencing pointer to incomplete type

MoBlock.c:392: warning: implicit declaration of function ‘nfq_set_verdict’

MoBlock.c: In function ‘netlink_loop’:

MoBlock.c:497: warning: implicit declaration of function ‘nfq_open’

MoBlock.c:497: warning: assignment makes pointer from integer without a cast

MoBlock.c:503: warning: implicit declaration of function ‘nfq_unbind_pf’

MoBlock.c:508: warning: implicit declaration of function ‘nfq_bind_pf’

MoBlock.c:514: warning: implicit declaration of function ‘nfq_create_queue’

MoBlock.c:514: warning: assignment makes pointer from integer without a cast

MoBlock.c:520: warning: implicit declaration of function ‘nfq_set_mode’

MoBlock.c:520: error: ‘NFQNL_COPY_PACKET’ undeclared (first use in this function)

MoBlock.c:520: error: (Each undeclared identifier is reported only once

MoBlock.c:520: error: for each function it appears in.)

MoBlock.c:525: warning: implicit declaration of function ‘nfq_nfnlh’

MoBlock.c:525: warning: assignment makes pointer from integer without a cast

MoBlock.c:526: warning: implicit declaration of function ‘nfnl_fd’

MoBlock.c:529: warning: implicit declaration of function ‘nfq_handle_packet’

MoBlock.c:533: warning: implicit declaration of function ‘nfq_destroy_queue’

MoBlock.c:534: warning: implicit declaration of function ‘nfq_close’

make: *** [MoBlock.o] Error 1

Any ideas?

glennzo
14th June 2010, 10:52 PM
No sir. Not one to be compiling programs all that often. Anything helpful on Moblock web sites?

ArthurEC
14th June 2010, 10:57 PM
Thanks, but I have been looking and not finding anything that works. Oh well...