Find the answer to your Linux question:
Results 1 to 4 of 4
hi guys. i am have following probs and doubts... 1.I am having problems compiling tcng-10b.tar.gz for traffic control next generation in fedora 8 (2.6.24). 2.A technical question.My objective is tis. ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    7

    Unhappy Tcng in fedora 8 ???

    hi guys.
    i am have following probs and doubts...
    1.I am having problems compiling tcng-10b.tar.gz for traffic control next generation in fedora 8 (2.6.24).
    2.A technical question.My objective is tis. Running fedora on a desktop PC (2 GB RAM,2 GHz processor intel pentium pro).I want to read data from a external disk such as RAID packetize the data ,then push it through the UDP socket over ethernet.But the packets must be pushed out of NIC at regular intervals like say a single 40K data every 10ms. Can tis be achieved using tcng or tc with a leaky bucket filter or sumthin of tat sort????

    will love some help from u guys...........

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    What problems are you having with compiling? Can you post any output?

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    7

    Exclamation Outputs

    first of all thanxs for respondin....

    When I compiled tcng-10b.tar.gz on a desktop PC with
    kernel 2.6.23.1-42.fc8
    gcc version 4.1.2
    GNU Make 3.81
    got the following output

    ################################################## ######################
    [root@localhost ~]# cd /usr/src/tcng
    [root@localhost tcng]# make
    for n in shared tcc tcsim scripts doc build; do \
    ( grep TCSIM=false config >/dev/null && [ $n = tcsim ]; ) || \
    ( grep BUILD_MANUAL=false config >/dev/null && [ $n = doc ]; ) || \
    make -C $n all || exit 1; done
    make[1]: Entering directory `/usr/src/tcng/shared'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/src/tcng/shared'
    make[1]: Entering directory `/usr/src/tcng/tcc'
    cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I../shared -DVERSION=\"`cat ../VERSION`\" -DTOPDIR=\"/usr/src/tcng\" -DDOLLAR -c -o f_fw.o f_fw.c
    In file included from ../shared/memutil.h:14,
    from util.h:15,
    from f_fw.c:14:
    /usr/include/sys/types.h:62: error: conflicting types for ‘dev_t’
    /usr/include/linux/types.h:13: error: previous declaration of ‘dev_t’ was here
    /usr/include/sys/types.h:67: error: conflicting types for ‘gid_t’
    /usr/include/linux/types.h:27: error: previous declaration of ‘gid_t’ was here
    /usr/include/sys/types.h:72: error: conflicting types for ‘mode_t’
    /usr/include/linux/types.h:15: error: previous declaration of ‘mode_t’ was here
    /usr/include/sys/types.h:77: error: conflicting types for ‘nlink_t’
    /usr/include/linux/types.h:16: error: previous declaration of ‘nlink_t’ was here
    /usr/include/sys/types.h:82: error: conflicting types for ‘uid_t’
    /usr/include/linux/types.h:26: error: previous declaration of ‘uid_t’ was here
    In file included from /usr/include/sys/types.h:134,
    from ../shared/memutil.h:14,
    from util.h:15,
    from f_fw.c:14:
    /usr/include/time.h:105: error: conflicting types for ‘timer_t’
    /usr/include/linux/types.h:22: error: previous declaration of ‘timer_t’ was here
    In file included from /usr/include/sys/types.h:221,
    from ../shared/memutil.h:14,
    from util.h:15,
    from f_fw.c:14:
    /usr/include/sys/select.h:78: error: conflicting types for ‘fd_set’
    /usr/include/linux/types.h:12: error: previous declaration of ‘fd_set’ was here
    In file included from ../shared/memutil.h:14,
    from util.h:15,
    from f_fw.c:14:
    /usr/include/sys/types.h:235: error: conflicting types for ‘blkcnt_t’
    /usr/include/linux/types.h:124: error: previous declaration of ‘blkcnt_t’ was here
    make[1]: *** [f_fw.o] Error 1
    make[1]: Leaving directory `/usr/src/tcng/tcc'
    make: *** [all] Error 1

    ################################################## ######################

    Wen i ran it on a PC with same kernel 2.6.23.1-42.fc8 but with a 2.6.24 kernel in /usr/src/ directory i got


    ################################################## #######################
    [root@localhost src]# cd tcng
    [root@localhost tcng]# make
    ./configure
    find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

    building tcsim: yes
    found kernel 2.6.24, need one of 2.4.3,2.4.4,2.4.5,2.4.6,2.4.7,2.4.8,2.4.9,2.4.10,2 .4.12,2.4.13,2.4.14,2.4.15,2.4.16,2.4.17,2.4.18,2. 4.19,2.4.20,2.4.21,2.4.22,2.4.23,2.4.24,2.4.25,2.4 .26,2.4.27,2.5.0,2.5.1,2.5.2,2.5.3,2.5.4
    make: *** [config] Error 1

    ################################################## ##########################

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Is there no configure script for this? I'm surprised its not available as an RPM, there are many deb's available.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...