Witajcie !!
Dawno nic samodzielnie nie kompilowałem a poza tym brak umiejetnosci
że tak powiem LMS-owskich zaskutkował ze stanełem wobec pewnie
drobnego dylematu. Podczas kompilacji moduły "pinger" ALEC's-a dostaje
komunikaty błedu jakis zalezności ale nie kumam (niewiele z PHP
kumam)o co mu biega. Prosze o malutkiego kopa we własciwym kierunku
#;-). Komunikat tako sie objawia:
make[2]: Wejście do katalogu `/home/users/admin/lms/daemon/modules/pinger'
cc -I/usr/include -DUSE_MYSQL -I../.. -c -o pinger.o pinger.c
pinger.c:37: error: `IFNAMSIZ' undeclared here (not in a function)
pinger.c: In function `get_iface_desc':
pinger.c:40: error: storage size of `interf' isn't known
pinger.c:47: error: `IFNAMSIZ' undeclared (first use in this function)
pinger.c:47: error: (Each undeclared identifier is reported only once
pinger.c:47: error: for each function it appears in.)
pinger.c: In function `get_ifaces':
pinger.c:85: error: storage size of `ifc' isn't known
pinger.c:87: error: storage size of `ifr' isn't known
pinger.c:94: error: invalid application of `sizeof' to an incomplete type
pinger.c:102: error: invalid application of `sizeof' to an incomplete type
pinger.c: In function `send_arp_req':
pinger.c:115: error: storage size of `str' isn't known
pinger.c: In function `recv_arp_reply':
pinger.c:198: error: storage size of `str' isn't known
pinger.c:215: error: `PACKET_HOST' undeclared (first use in this function)
make[2]: *** [pinger.o] Błąd 1
make[2]: Opuszczenie katalogu `/home/users/admin/lms/daemon/modules/pinger'
--
Pozdrowienia,
Jurek mailto:jwjurek@poczta.onet.pl