LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Closed Thread
  Search this Thread
Old 04-12-2007, 02:49 PM   #1
krisvamc
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Rep: Reputation: 15
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.
 
Old 04-12-2007, 03:55 PM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
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.
 
Old 04-12-2007, 03:57 PM   #3
cwej
Member
 
Registered: Jul 2006
Location: Washington DC Metro Area
Distribution: Ubuntu 7.10 on a System 76 Pangolin Value laptop - sweeeet!
Posts: 41

Rep: Reputation: 15
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...
 
Old 04-12-2007, 05:59 PM   #4
krisvamc
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Original Poster
Rep: Reputation: 15
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.
 
Old 04-12-2007, 07:03 PM   #5
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
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.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
small syntax problem with C code (implemented in Code Composer Studio) illiniguy3043 Programming 6 01-07-2008 02:14 AM
Ubuntu stop when fstab contains code smb Lantius Ubuntu 1 06-26-2006 06:30 PM
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Ubuntu 0 06-13-2006 06:33 AM
User Preferences: Use HTML code instead of vB code? (vB code is overrated) stefanlasiewski LQ Suggestions & Feedback 5 07-26-2005 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration