Witaj Krzysztof,
W Twoim liście datowanym 6 listopada 2004 (09:55:23) można przeczytać:
KL> Czy ktoś może mi powiedzieć dlaczego nie mogę skompilować modułu pingera.
KL> Oto komunikat przy kompilacji:
KL> cc -I/usr/include -DUSE_MYSQL -I../.. -Wall -O2 -c -o pinger.o pinger.c
KL> In file included from pinger.h:8,
KL> from pinger.c:26:
KL> /usr/include/net/if.h:45: error: syntax error before numeric constant
KL> /usr/include/net/if.h:111: error: redefinition of `struct ifmap'
KL> /usr/include/net/if.h:126: error: redefinition of `struct ifreq'
KL> /usr/include/net/if.h:176: error: redefinition of `struct ifconf'
KL> In file included from pinger.h:9,
KL> from pinger.c:26:
KL> /usr/include/netpacket/packet.h:24: error: redefinition of `struct
KL> sockaddr_ll'
KL> /usr/include/netpacket/packet.h:53: error: redefinition of `struct
KL> packet_mreq'
KL> make[2]: *** [pinger.o] Error 1
właśnie ja też się o to pytam.
Kompilacja pod Debian 3.1 Testing.
gcc 3.0
Najlepsze jest to że z wersji rozwojowej 1.4 się skompilował.
I w sumie używam tamtego modułu.
--
Pozdrowienia,
****************************
* Marek (SirAdams) Adamski *
* ICQ:42751516 *
* GG:14747 *
* Linux user:#253788 *
****************************