Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Problem With Code In Ubuntu ,please Help Me (http://www.go4expert.com/forums/code-ubuntu-help-t3845/)

krisvamc 13Apr2007 01:41

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.

DaWei 13Apr2007 08:51

Re: Problem With Code In Ubuntu ,please Help Me
 
I would vote, "Boggles the Mind", but I don't see that as a choice.

Peter_APIIT 4May2007 13:40

Re: Problem With Code In Ubuntu ,please Help Me
 
What is MCC ? As i know, MCC in mandriva is mandriva control center which is something like control panel in window.

Are you trying ti install this program ?

Step 1:

Untar the file by issues this command tar xfzv file name -- tar.gz or tar xfjv file name -- tar.bz

stpe 2:

./configure

stpe 3:

make or you can check the man pages make --help

stpe 4:

make check -- To check is there any errors.
make install -- To install the program.

Hope this help.


All times are GMT +5.5. The time now is 19:43.