Re: UDP multicast packet loss not reported if TX ring overrun?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Monday, August 24, 2009 - 4:14 pm

Christoph Lameter a écrit :

# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.1/configure --enable-languages=c,c++ --prefix=/usr
Thread model: posix
gcc version 4.4.1 (GCC)
# pwd
/opt/src/lldiag-0.14
# make
gcc -Wall -omcast mcast.c -lrt -lm
mcast.c: In function ‘set_ip’:
mcast.c:121: warning: implicit declaration of function ‘htons’
mcast.c: In function ‘build_pattern_array’:
mcast.c:168: warning: implicit declaration of function ‘htonl’
/tmp/cc4sYCDr.o: In function `lock':
mcast.c:(.text+0xcad): undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
make: *** [mcast] Error 1


I have no idea where is defined sync_fetch_and_add

Thanks
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 1:01 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 1:46 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Mon Aug 17, 2:50 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 3:13 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Mon Aug 17, 3:43 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 3:52 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 3:57 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Mon Aug 17, 5:12 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 5:25 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 24, 10:40 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Mon Aug 24, 3:36 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Eric Dumazet, (Mon Aug 24, 4:14 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 6:45 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 6:46 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 6:48 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 7:00 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 8:35 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 9:11 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 9:36 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 10:01 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 10:44 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 10:53 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Tue Aug 25, 11:38 am)