Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-12-2007, 02:49 PM
|
#1
|
LQ Newbie
Registered: Apr 2007
Posts: 29
Rep:
|
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.
|
|
|
04-12-2007, 03:55 PM
|
#2
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Rep:
|
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.
Last edited by rose_bud4201; 04-12-2007 at 04:01 PM.
|
|
|
04-12-2007, 03:57 PM
|
#3
|
Member
Registered: Jul 2006
Location: Washington DC Metro Area
Distribution: Ubuntu 7.10 on a System 76 Pangolin Value laptop - sweeeet!
Posts: 41
Rep:
|
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...
|
|
|
04-12-2007, 05:59 PM
|
#4
|
LQ Newbie
Registered: Apr 2007
Posts: 29
Original Poster
Rep:
|
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.
|
|
|
04-12-2007, 07:03 PM
|
#5
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Rep:
|
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 01:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|