Problem With Code In Ubuntu ,please Help Me

This is a discussion on Problem With Code In Ubuntu ,please Help Me within the C Programming forums, part of the General Programming Boards category; Hi, I am trying to install MCC (Multicast Control Client) source code in linux ubuntu system and I got errors ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    2

    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.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    People that compile as root make me chuckle. Thanks.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,834
    However, people who spam the board with unformatted code, and inappropriate use of bold are the pits.

    Apparently deleting your posts wasn't enough of a message to you.

    Go pester the original author of the package, or the current maintainer.

    This board isn't for you "I downloaded foo code and it won't compile - fix it for me" types.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with progress code
    By JFonseka in forum C Programming
    Replies: 13
    Last Post: 04-25-2008, 06:03 PM
  2. Problem with my morse code program
    By justin87 in forum C++ Programming
    Replies: 1
    Last Post: 10-21-2007, 06:23 PM
  3. problem with selection code
    By DavidP in forum Game Programming
    Replies: 1
    Last Post: 06-14-2004, 02:05 PM
  4. Replies: 5
    Last Post: 12-03-2003, 05:47 PM
  5. Help with code for simple Y2K problem
    By Mule in forum C++ Programming
    Replies: 3
    Last Post: 03-06-2003, 12:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21