Problem With Code In Ubuntu ,please Help Me

Discussion in 'C' started by krisvamc, Apr 12, 2007.

?

problem

  1. code problem

    1 vote(s)
    100.0%
  2. error

    0 vote(s)
    0.0%
  3. code

    0 vote(s)
    0.0%
  4. source code

    0 vote(s)
    0.0%
  1. krisvamc

    krisvamc New Member

    Joined:
    Apr 12, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    I would vote, "Boggles the Mind", but I don't see that as a choice.
     
  3. Peter_APIIT

    Peter_APIIT New Member

    Joined:
    Apr 11, 2007
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    Malaysia
    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.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice