LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Problem With Code In Ubuntu ,please Help Me (https://www.linuxquestions.org/questions/ubuntu-63/problem-with-code-in-ubuntu-please-help-me-545524/)

krisvamc 04-12-2007 02:49 PM

Problem With Code In Ubuntu ,please Help Me
 


Hi,

I am trying to install MCC (Multicast Control Client) source code in linux ubuntu system and I got errors while compiling by ./compile..

Could anybody please tell me how to rectify the errors or any solution to the problem. Please help as I am desperate for the solution.

The error is :

root@vamsi-laptop:/home/vamsi/Desktop/mcop/mcc# ./compile
rm -f ../../obj/c_vector.o ../../obj/sample.o
rm -f *~
rm -f \#*
rm -f *.a
rm -f c_vector
gcc -c -gstabs -I/usr/local/lib -I. -I../parser -o c_vector.o c_vector.c
mv c_vector.o ../../obj
make: *** No rule to make target `sample.o', needed by `c_vector'. Stop.
rm -f *.o
rm -f ../../obj/parser.o
rm -f *~
rm -f \#*
rm -f *.a
gcc -gstabs -Wall -pg -c parser.c
parser.c: In function ‘fprint_MCOP_message’:
parser.c:805: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
mv parser.o ../../obj
./compile: line 9: cd: ../testclient: No such file or directory
rm -f *.o
rm -f ../../obj/parser.o
rm -f *~
rm -f \#*
rm -f *.a
gcc -gstabs -Wall -pg -c parser.c
parser.c: In function ‘fprint_MCOP_message’:
parser.c:805: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
mv parser.o ../../obj
rm -f *.o
rm -f *~
rm -f \#*
rm -f *.a
rm -f mcopd
rm ../../obj/mcopd.o ../../obj/igmp.o ../../obj/netif.o ../../obj/connection.o ../../obj/handling.o ../../obj/perl.o ../../obj/repository.o ../../obj/config.o ../../obj/logfile.o ../../obj/usr_cmd.o
rm: cannot remove `../../obj/mcopd.o': No such file or directory
rm: cannot remove `../../obj/igmp.o': No such file or directory
rm: cannot remove `../../obj/netif.o': No such file or directory
rm: cannot remove `../../obj/connection.o': No such file or directory
rm: cannot remove `../../obj/handling.o': No such file or directory
rm: cannot remove `../../obj/perl.o': No such file or directory
rm: cannot remove `../../obj/repository.o': No such file or directory
rm: cannot remove `../../obj/config.o': No such file or directory
rm: cannot remove `../../obj/logfile.o': No such file or directory
rm: cannot remove `../../obj/usr_cmd.o': No such file or directory
make: *** [clean] Error 1
gcc -c -O2 -D__NO_LOG -I/usr/local/lib -I. -I../parser -I/usr/include/libipq -I../c_vector -o iptables_handler.o iptables_handler.c
iptables_handler.c: In function ‘ipth_list_entry_child’:
iptables_handler.c:291: error: ‘struct iptables_match’ has no member named ‘used’
iptables_handler.c:300: error: ‘struct iptables_match’ has no member named ‘used’

make: *** [iptables_handler.o] Error 1
root@vamsi-laptop:/home/vamsi/Desktop/mcop/mcc#

testclient is not available in the code.How to rectify that.

Thanks,

vamsi.

rose_bud4201 04-12-2007 03:55 PM

Well, given that the MCC documentation says

Quote:

2. in the directory mcop, type "./compile". It will compile all the necessary source files and creates the executable program.
and that your output shows

Code:

root@vamsi-laptop:/home/vamsi/Desktop/mcop/mcc# ./compile
My first suggestion would be: cd up a directory level, and (assuming there's a compile file there) try it again. If that doesn't work, either their documentation is incorrect, or they left something out of their distribution files - email, IRC or otherwise contact the developers. They're probably your best resource for a broken package.

However, my reading comprehension just kicked in - "(1.6.2004) Opening of the MCOP/TUT web pages. First versions of the MCC and MCS implementations has been published."

In other words, this is a broken package which is still at version 0.1 and hasn't been touched since 2004. Best of luck to you in making this work, but my level of optimism isn't running very high.

cwej 04-12-2007 03:57 PM

Since Ubuntu doesn't allow root directly, but through "sudo," I think it would be:

$ sudo /home/vamsi/Desktop/mcop/mcc# ./compile
{then answer request for password}
then the rest of your code...

krisvamc 04-12-2007 05:59 PM

problem with code
 
Hi,

I tried to contact them by mail, but their email id is expired. I am trying so hard to find the problem, but the documentation is not helpful. What I should I do now!!!!

Anyhow thanks for your reply.

vamsi.

rose_bud4201 04-12-2007 07:03 PM

Honestly? It's an old, expired project which never made it out of version 0.1. There's nothing you can do about it except find another way to do whatever it is you need to do, without this particular project.


All times are GMT -5. The time now is 12:20 PM.