Most Wanted: `getopt' killer on PLD Tornado system !
Wojtek Slusarczyk
wojtek w SHADOW.EU.ORG
Nie, 4 Paź 1998, 15:35:23 CEST
Hej,
W zwiazku z szerzacym sie terroryzmem `getopt' na develu z
przykroscia zawiadamiam, ze zwijamy buissenes do czasu rozwiazania
tego problemu przez jakiegos `policjanta'... Probowalem wlasnie
przebudowac poprawionego mounta-2.8 a ten diabel ponownie sie odezwal..;(
Nagroda za unicestwienie, tej zarazy:
3 litry mineralnej,
Pokrycie kosztow TPSA w przypadku modemowcow (nie zwracamy za wydzwanianie
do `goracych lini')
termos kawy (Inka),
dozywotnie konto na zakazonej maszynce,
uscisk mojej dloni ;)
wykaz bledow:
gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -DHAVE_NFS mount.c
mount.c:1129: elements of array `longopts' have incomplete type
mount.c:1131: warning: excess elements in struct initializer after `longopts[0]'
mount.c:1131: warning: excess elements in struct initializer after `longopts[0]'
mount.c:1131: warning: excess elements in struct initializer after `longopts[0]'
mount.c:1131: warning: excess elements in struct initializer after `longopts[0]'
mount.c:1132: warning: excess elements in struct initializer after `longopts[1]'
mount.c:1132: warning: excess elements in struct initializer after `longopts[1]'
mount.c:1132: warning: excess elements in struct initializer after `longopts[1]'
mount.c:1132: warning: excess elements in struct initializer after `longopts[1]'
mount.c:1133: warning: excess elements in struct initializer after `longopts[2]'
mount.c:1133: warning: excess elements in struct initializer after `longopts[2]'
mount.c:1133: warning: excess elements in struct initializer after `longopts[2]'
....................................
mount.c:1145: invalid use of undefined type `struct option'
mount.c: In function `main':
mount.c:1175: warning: implicit declaration of function `getopt_long'
make: *** [mount.o] Error 1
a tam bylo tylko :
extern char version[];
static struct option longopts[] =
{
{ "all", 0, 0, 'a' },
{ "fake", 0, 0, 'f' },
{ "fork", 0, 0, 'F' },
{ "help", 0, 0, 'h' },
{ "no-mtab", 0, 0, 'n' },
{ "read-only", 0, 0, 'r' },
{ "ro", 0, 0, 'r' },
{ "verbose", 0, 0, 'v' },
{ "version", 0, 0, 'V' },
{ "read-write", 0, 0, 'w' },
{ "rw", 0, 0, 'w' },
{ "options", 1, 0, 'o' },
{ "types", 1, 0, 't' },
{ NULL, 0, 0, 0 }
};
na razie,
Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu
Więcej informacji o liście dyskusyjnej pld-devel-pl