[Pluto-help] Errori compilazione kernel 2.4.19
Body
umbmarket78 a libero.it
Sab 24 Ago 2002 21:02:03 CEST
Salve a tutti.
Quando tento di compilare il kernel 2.4.19 (make bzImage) ottengo il seguente
errore:
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.19/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19/include -Wstrict-prototypes -
Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=k6 -nostdinc -I
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include -DKBUILD_BASENAME=ppp_generic
-DEXPORT_SYMTAB -c ppp_generic.c
ppp_generic.c:952: variable or field `ppp_' declared void
ppp_generic.c:954: parse error before `case'
ppp_generic.c:955: `arg' undeclared here (not in a function)
ppp_generic.c:955: `__val_gu' undeclared here (not in a function)
ppp_generic.c:955: warning: data definition has no type or storage class
ppp_generic.c:955: warning: data definition has no type or storage class
ppp_generic.c:955: parse error before `}'
ppp_generic.c:962: warning: data definition has no type or storage class
ppp_generic.c:963: parse error before `break'
ppp_generic.c:967: `arg' undeclared here (not in a function)
ppp_generic.c:967: `arg' undeclared here (not in a function)
ppp_generic.c:967: parse error before `if'
ppp_generic.c:967: parse error before `:'
ppp_generic.c:967: warning: data definition has no type or storage class
ppp_generic.c:967: parse error before `}'
ppp_generic.c:967: warning: data definition has no type or storage class
ppp_generic.c:967: parse error before `}'
ppp_generic.c:969: redefinition of `err'
ppp_generic.c:962: `err' previously defined here
ppp_generic.c:969: warning: data definition has no type or storage class
ppp_generic.c:970: parse error before `break'
ppp_generic.c:977: `arg' undeclared here (not in a function)
ppp_generic.c:977: redefinition of `__pu_addr'
ppp_generic.c:967: `__pu_addr' previously defined here
ppp_generic.c:977: `arg' undeclared here (not in a function)
ppp_generic.c:977: parse error before `if'
ppp_generic.c:977: parse error before `:'
ppp_generic.c:977: warning: data definition has no type or storage class
ppp_generic.c:977: parse error before `}'
ppp_generic.c:977: warning: data definition has no type or storage class
ppp_generic.c:977: parse error before `}'
ppp_generic.c:979: redefinition of `err'
ppp_generic.c:969: `err' previously defined here
ppp_generic.c:979: warning: data definition has no type or storage class
ppp_generic.c:980: parse error before `break'
ppp_generic.c:983: redefinition of `val'
ppp_generic.c:955: `val' previously defined here
ppp_generic.c:983: `arg' undeclared here (not in a function)
ppp_generic.c:983: `__val_gu' undeclared here (not in a function)
ppp_generic.c:983: warning: data definition has no type or storage class
ppp_generic.c:983: warning: data definition has no type or storage class
ppp_generic.c:983: parse error before `}'
ppp_generic.c:986: redefinition of `err'
ppp_generic.c:979: `err' previously defined here
ppp_generic.c:986: warning: data definition has no type or storage class
ppp_generic.c:987: parse error before `break'
ppp_generic.c:990: `arg' undeclared here (not in a function)
ppp_generic.c:990: redefinition of `__pu_addr'
ppp_generic.c:977: `__pu_addr' previously defined here
ppp_generic.c:990: `arg' undeclared here (not in a function)
ppp_generic.c:990: parse error before `if'
ppp_generic.c:990: parse error before `:'
ppp_generic.c:990: warning: data definition has no type or storage class
ppp_generic.c:990: parse error before `}'
ppp_generic.c:990: warning: data definition has no type or storage class
ppp_generic.c:990: parse error before `}'
ppp_generic.c:992: redefinition of `err'
ppp_generic.c:986: `err' previously defined here
ppp_generic.c:992: warning: data definition has no type or storage class
ppp_generic.c:993: parse error before `break'
ppp_generic.c:1000: redefinition of `err'
ppp_generic.c:992: `err' previously defined here
ppp_generic.c:1000: warning: data definition has no type or storage class
ppp_generic.c:1001: parse error before `break'
ppp_generic.c:1004: redefinition of `val'
ppp_generic.c:983: `val' previously defined here
ppp_generic.c:1004: `arg' undeclared here (not in a function)
ppp_generic.c:1004: `__val_gu' undeclared here (not in a function)
ppp_generic.c:1004: warning: data definition has no type or storage class
ppp_generic.c:1004: warning: data definition has no type or storage class
ppp_generic.c:1004: parse error before `}'
ppp_generic.c:1006: warning: data definition has no type or storage class
ppp_generic.c:1007: parse error before `if'
ppp_generic.c:1011: warning: initialization makes integer from pointer without
a cast
ppp_generic.c:1011: initializer element is not constant
ppp_generic.c:1011: warning: data definition has no type or storage class
ppp_generic.c:1012: parse error before `if'
ppp_generic.c:1014: redefinition of `err'
ppp_generic.c:1000: `err' previously defined here
ppp_generic.c:1014: warning: data definition has no type or storage class
ppp_generic.c:1015: parse error before `break'
ppp_generic.c:1022: redefinition of `err'
ppp_generic.c:1014: `err' previously defined here
ppp_generic.c:1022: warning: data definition has no type or storage class
ppp_generic.c:1023: parse error before `break'
ppp_generic.c:1029: redefinition of `err'
ppp_generic.c:1022: `err' previously defined here
ppp_generic.c:1029: `npi' undeclared here (not in a function)
ppp_generic.c:1029: initializer element is not constant
ppp_generic.c:1029: warning: data definition has no type or storage class
ppp_generic.c:1030: parse error before `if'
ppp_generic.c:1032: initializer element is not constant
ppp_generic.c:1032: warning: data definition has no type or storage class
ppp_generic.c:1033: parse error before `if'
ppp_generic.c:1041: parse error before `->'
ppp_generic.c:1041: warning: function declaration isn't a prototype
ppp_generic.c:1041: conflicting types for `netif_wake_queue'
/usr/src/linux-2.4.19/include/linux/netdevice.h:530: previous declaration of
`netif_wake_queue'
ppp_generic.c:1041: warning: data definition has no type or storage class
ppp_generic.c:1043: redefinition of `err'
ppp_generic.c:1029: `err' previously defined here
ppp_generic.c:1043: warning: data definition has no type or storage class
ppp_generic.c:1044: parse error before `break'
ppp_generic.c:1102: redefinition of `ppp_unattached_ioctl'
ppp_generic.c:709: `ppp_unattached_ioctl' previously defined here
ppp_generic.c: In function `ppp_unattached_ioctl':
ppp_generic.c:1126: `all_ppp_lock' undeclared (first use in this function)
ppp_generic.c:1126: (Each undeclared identifier is reported only once
ppp_generic.c:1126: for each function it appears in.)
ppp_generic.c: At top level:
ppp_generic.c:1159: warning: data definition has no type or storage class
ppp_generic.c:1160: parse error before `}'
ppp_generic.c:1170: warning: parameter names (without types) in function
declaration
ppp_generic.c:1170: conflicting types for `kfree_skb'
/usr/src/linux-2.4.19/include/linux/skbuff.h:290: previous declaration of
`kfree_skb'
ppp_generic.c:1170: warning: data definition has no type or storage class
ppp_generic.c:1171: parse error before `}'
ppp_generic.c: In function `ppp_do_recv':
ppp_generic.c:1371: confused by earlier errors, bailing out
{standard input}: Assembler messages:
{standard input}:1868: Error: Symbol ppp_unattached_ioctl already defined.
make[3]: *** [ppp_generic.o] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.19/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.19/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19/drivers'
make: *** [_dir_drivers] Error 2
Ho ricompilato molti kernel ma e' la prima volta che l'operazione nn va a buon
fine;)))
Qualche idea?
Info: RedHat 7.3,GCC 2.96
--
Get today tech's tomorrow...GET LINUX!
More information about the pluto-help
mailing list