J'ai un probleme de compilation sur la redhat 7.3
Voici pour unicorn_atm :
gcc -O2 -fno-exceptions -fno-gnu-linker -Wstrict-prototypes -fomit-frame-point
er -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -DMODULE -D__KERNEL__ -
DLINUX -DDEBUG=1 -DMODULE -I../include/ -I../ -c -o unicorn_atmdrv.o unicorn_atm
drv.c
In file included from unicorn_atmdrv.c:7:
/usr/include/linux/module.h:60: parse error before `atomic_t'
/usr/include/linux/module.h:60: warning: no semicolon at end of struct or union
/usr/include/linux/module.h:60: warning: no semicolon at end of struct or union
/usr/include/linux/module.h:62: parse error before `}'
/usr/include/linux/module.h:62: warning: data definition has no type or storage
class
/usr/include/linux/module.h:91: parse error before `}'
In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from unicorn_atmdrv.c:10:
/usr/include/asm/timex.h:10:21: asm/msr.h: Aucun fichier ou répertoire de ce typ
e
In file included from /usr/include/linux/sched.h:14,
from unicorn_atmdrv.c:10:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from unicorn_atmdrv.c:10:
/usr/include/asm/signal.h:107: parse error before `sigset_t'
/usr/include/asm/signal.h:107: warning: no semicolon at end of struct or union
/usr/include/asm/signal.h:110: parse error before `}'
In file included from /usr/include/linux/timer.h:18,
from /usr/include/linux/sched.h:81,
from unicorn_atmdrv.c:10:
/usr/include/linux/spinlock.h:131: parse error before `*'
In file included from unicorn_atmdrv.c:15:
/usr/include/linux/compatmac.h:137:25: asm/uaccess.h: Aucun fichier ou répertoir
e de ce type
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from unicorn_atmdrv.c:18:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: Aucun fichier ou répertoire de ce
type
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from unicorn_atmdrv.c:18:
/usr/include/asm/pgalloc.h:57: parse error before `*'
/usr/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/include/asm/pgalloc.h:59: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: (Each undeclared identifier is reported only once
/usr/include/asm/pgalloc.h:59: for each function it appears in.)
/usr/include/asm/pgalloc.h:59: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: parse error before `)'
/usr/include/asm/pgalloc.h:62: `USER_PTRS_PER_PGD' undeclared (first use in this
function)
/usr/include/asm/pgalloc.h:63: `swapper_pg_dir' undeclared (first use in this fu
nction)
/usr/include/asm/pgalloc.h:63: `PTRS_PER_PGD' undeclared (first use in this func
tion)
/usr/include/asm/pgalloc.h:66: warning: control reaches end of non-void function
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:70: parse error before `*'
/usr/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/include/asm/pgalloc.h:80: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:80: parse error before `)'
/usr/include/asm/pgalloc.h:81: warning: control reaches end of non-void function
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:83: parse error before `*'
/usr/include/asm/pgalloc.h:84: warning: function declaration isn't a prototype
/usr/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/include/asm/pgalloc.h:85: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:90: parse error before `*'
/usr/include/asm/pgalloc.h:91: warning: function declaration isn't a prototype
/usr/include/asm/pgalloc.h: In function `free_pgd_slow':
/usr/include/asm/pgalloc.h:99: warning: implicit declaration of function `free_p
age'
/usr/include/asm/pgalloc.h:99: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:103: parse error before `*'
/usr/include/asm/pgalloc.h: In function `pte_alloc_one':
/usr/include/asm/pgalloc.h:105: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:105: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:105: invalid lvalue in assignment
/usr/include/asm/pgalloc.h:106: parse error before `int'
/usr/include/asm/pgalloc.h:109: parse error before `)'
/usr/include/asm/pgalloc.h:111: warning: implicit declaration of function `clear
_page'
/usr/include/asm/pgalloc.h:113: warning: implicit declaration of function `sched
ule_timeout'
/usr/include/asm/pgalloc.h:114: `count' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:116: warning: control reaches end of non-void functio
n
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:118: parse error before `*'
/usr/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/usr/include/asm/pgalloc.h:127: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:127: parse error before `)'
/usr/include/asm/pgalloc.h:128: warning: control reaches end of non-void functio
n
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:130: parse error before `*'
/usr/include/asm/pgalloc.h:131: warning: function declaration isn't a prototype
/usr/include/asm/pgalloc.h: In function `pte_free_fast':
/usr/include/asm/pgalloc.h:132: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:137: parse error before `*'
/usr/include/asm/pgalloc.h:138: warning: function declaration isn't a prototype
/usr/include/asm/pgalloc.h: In function `pte_free_slow':
/usr/include/asm/pgalloc.h:139: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_mm':
/usr/include/asm/pgalloc.h:183: `current' undeclared (first use in this function
)
/usr/include/asm/pgalloc.h:184: warning: implicit declaration of function `__flu
sh_tlb'
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:188: warning: `struct vm_area_struct' declared inside
parameter list
/usr/include/asm/pgalloc.h:188: warning: its scope is only this definition or de
claration, which is probably not what you want.
/usr/include/asm/pgalloc.h: In function `flush_tlb_page':
/usr/include/asm/pgalloc.h:190: dereferencing pointer to incomplete type
/usr/include/asm/pgalloc.h:190: `current' undeclared (first use in this function
)
/usr/include/asm/pgalloc.h:191: warning: implicit declaration of function `__flu
sh_tlb_one'
/usr/include/asm/pgalloc.h: In function `flush_tlb_range':
/usr/include/asm/pgalloc.h:197: `current' undeclared (first use in this function
)
In file included from /usr/include/linux/skbuff.h:26,
from unicorn_atmdrv.c:18:
/usr/include/linux/highmem.h: At top level:
/usr/include/linux/highmem.h:68: warning: `struct page' declared inside paramete
r list
/usr/include/linux/highmem.h: In function `kmap':
/usr/include/linux/highmem.h:68: warning: implicit declaration of function `page
_address'
/usr/include/linux/highmem.h:68: warning: return makes pointer from integer with
out a cast
/usr/include/linux/highmem.h: At top level:
/usr/include/linux/highmem.h:83: warning: `struct page' declared inside paramete
r list
/usr/include/linux/highmem.h: In function `clear_user_highpage':
/usr/include/linux/highmem.h:85: warning: passing arg 1 of `kmap' from incompati
ble pointer type
/usr/include/linux/highmem.h:86: warning: implicit declaration of function `clea
r_user_page'
/usr/include/linux/highmem.h: At top level:
/usr/include/linux/highmem.h:90: warning: `struct page' declared inside paramete
r list
/usr/include/linux/highmem.h: In function `clear_highpage':
/usr/include/linux/highmem.h:92: warning: passing arg 1 of `kmap' from incompati
ble pointer type
/usr/include/linux/highmem.h: At top level:
/usr/include/linux/highmem.h:96: warning: `struct page' declared inside paramete
r list
/usr/include/linux/highmem.h: In function `memclear_highpage':
/usr/include/linux/highmem.h:101: warning: implicit declaration of function `BUG
'
/usr/include/linux/highmem.h:102: warning: passing arg 1 of `kmap' from incompat
ible pointer type
/usr/include/linux/highmem.h: At top level:
/usr/include/linux/highmem.h:110: warning: `struct page' declared inside paramet
er list
/usr/include/linux/highmem.h: In function `memclear_highpage_flush':
/usr/include/linux/highmem.h:116: warning: passing arg 1 of `kmap' from incompat
ible pointer type
/usr/include/linux/highmem.h:118: warning: implicit declaration of function `flu
sh_page_to_ram'
/usr/include/linux/highmem.h: At top level:
/usr/include/linux/highmem.h:122: warning: `struct page' declared inside paramet
er list
/usr/include/linux/highmem.h: In function `copy_user_highpage':
/usr/include/linux/highmem.h:126: warning: passing arg 1 of `kmap' from incompat
ible pointer type
/usr/include/linux/highmem.h:127: warning: passing arg 1 of `kmap' from incompat
ible pointer type
/usr/include/linux/highmem.h:128: warning: implicit declaration of function `cop
y_user_page'
/usr/include/linux/highmem.h: At top level:
/usr/include/linux/highmem.h:133: warning: `struct page' declared inside paramet
er list
/usr/include/linux/highmem.h: In function `copy_highpage':
/usr/include/linux/highmem.h:137: warning: passing arg 1 of `kmap' from incompat
ible pointer type
/usr/include/linux/highmem.h:138: warning: passing arg 1 of `kmap' from incompat
ible pointer type
/usr/include/linux/highmem.h:139: warning: implicit declaration of function `cop
y_page'
In file included from unicorn_atmdrv.c:18:
/usr/include/linux/skbuff.h: At top level:
/usr/include/linux/skbuff.h:120: parse error before `atomic_t'
/usr/include/linux/skbuff.h:120: warning: no semicolon at end of struct or union
/usr/include/linux/skbuff.h:124: parse error before `}'
/usr/include/linux/skbuff.h:183: parse error before `atomic_t'
/usr/include/linux/skbuff.h:183: warning: no semicolon at end of struct or union
/usr/include/linux/skbuff.h:215: parse error before `}'
unicorn_atmdrv.c:85: field `atm_skb_data' has incomplete type
unicorn_atmdrv.c:111: warning: `struct atm_vcc' declared inside parameter list
unicorn_atmdrv.c:112: warning: `struct atm_vcc' declared inside parameter list
unicorn_atmdrv.c:114: warning: `struct atm_vcc' declared inside parameter list
unicorn_atmdrv.c:118: variable `atm_devops' has initializer but incomplete type
unicorn_atmdrv.c:120: unknown field `open' specified in initializer
unicorn_atmdrv.c:120: warning: excess elements in struct initializer
unicorn_atmdrv.c:120: warning: (near initialization for `atm_devops'
unicorn_atmdrv.c:121: unknown field `close' specified in initializer
unicorn_atmdrv.c:121: warning: excess elements in struct initializer
unicorn_atmdrv.c:121: warning: (near initialization for `atm_devops'
unicorn_atmdrv.c:122: unknown field `ioctl' specified in initializer
unicorn_atmdrv.c:122: warning: excess elements in struct initializer
unicorn_atmdrv.c:122: warning: (near initialization for `atm_devops'
unicorn_atmdrv.c:123: unknown field `send' specified in initializer
unicorn_atmdrv.c:123: warning: excess elements in struct initializer
unicorn_atmdrv.c:123: warning: (near initialization for `atm_devops'
unicorn_atmdrv.c:124: unknown field `proc_read' specified in initializer
unicorn_atmdrv.c:124: warning: excess elements in struct initializer
unicorn_atmdrv.c:124: warning: (near initialization for `atm_devops'
unicorn_atmdrv.c:125: unknown field `owner' specified in initializer
unicorn_atmdrv.c:125: warning: excess elements in struct initializer
unicorn_atmdrv.c:125: warning: (near initialization for `atm_devops'
unicorn_atmdrv.c: In function `unicorn_atm_startdevice':
unicorn_atmdrv.c:253: warning: implicit declaration of function `atm_dev_registe
r'
unicorn_atmdrv.c:253: warning: assignment makes pointer from integer without a c
ast
unicorn_atmdrv.c:258: warning: implicit declaration of function `printk'
unicorn_atmdrv.c:258: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:258: parse error before string constant
unicorn_atmdrv.c:258: dereferencing pointer to incomplete type
unicorn_atmdrv.c:260: dereferencing pointer to incomplete type
unicorn_atmdrv.c:261: dereferencing pointer to incomplete type
unicorn_atmdrv.c:262: dereferencing pointer to incomplete type
unicorn_atmdrv.c:262: `ATM_PHY_SIG_LOST' undeclared (first use in this function)
unicorn_atmdrv.c:263: dereferencing pointer to incomplete type
unicorn_atmdrv.c:265: dereferencing pointer to incomplete type
unicorn_atmdrv.c: In function `unicorn_atm_stopdevice':
unicorn_atmdrv.c:281: dereferencing pointer to incomplete type
unicorn_atmdrv.c:282: dereferencing pointer to incomplete type
unicorn_atmdrv.c:282: `ATM_PHY_SIG_LOST' undeclared (first use in this function)
unicorn_atmdrv.c:283: dereferencing pointer to incomplete type
unicorn_atmdrv.c:284: warning: implicit declaration of function `shutdown_atm_de
v'
unicorn_atmdrv.c:286: dereferencing pointer to incomplete type
unicorn_atmdrv.c:287: warning: implicit declaration of function `wake_up'
unicorn_atmdrv.c:287: dereferencing pointer to incomplete type
unicorn_atmdrv.c:274: warning: `walk' might be used uninitialized in this functi
on
unicorn_atmdrv.c: In function `unicorn_set_mac':
unicorn_atmdrv.c:322: dereferencing pointer to incomplete type
unicorn_atmdrv.c:324: dereferencing pointer to incomplete type
unicorn_atmdrv.c:327: dereferencing pointer to incomplete type
unicorn_atmdrv.c:328: warning: implicit declaration of function `get_random_byte
s'
unicorn_atmdrv.c:328: dereferencing pointer to incomplete type
unicorn_atmdrv.c:330: `KERN_INFO' undeclared (first use in this function)
unicorn_atmdrv.c:330: parse error before string constant
unicorn_atmdrv.c: In function `get_modemstate':
unicorn_atmdrv.c:348: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:348: parse error before string constant
unicorn_atmdrv.c: In function `unicorn_atm_proc_read':
unicorn_atmdrv.c:354: dereferencing pointer to incomplete type
unicorn_atmdrv.c:359: warning: implicit declaration of function `sprintf'
unicorn_atmdrv.c:366: dereferencing pointer to incomplete type
unicorn_atmdrv.c:366: dereferencing pointer to incomplete type
unicorn_atmdrv.c:366: dereferencing pointer to incomplete type
unicorn_atmdrv.c:366: dereferencing pointer to incomplete type
unicorn_atmdrv.c:367: dereferencing pointer to incomplete type
unicorn_atmdrv.c:367: dereferencing pointer to incomplete type
unicorn_atmdrv.c:373: warning: implicit declaration of function `atomic_read'
unicorn_atmdrv.c:373: dereferencing pointer to incomplete type
unicorn_atmdrv.c:373: dereferencing pointer to incomplete type
unicorn_atmdrv.c:374: dereferencing pointer to incomplete type
unicorn_atmdrv.c:374: dereferencing pointer to incomplete type
unicorn_atmdrv.c:375: dereferencing pointer to incomplete type
unicorn_atmdrv.c: At top level:
unicorn_atmdrv.c:380: warning: `struct atm_vcc' declared inside parameter list
unicorn_atmdrv.c: In function `vcc_free_skb':
unicorn_atmdrv.c:383: dereferencing pointer to incomplete type
unicorn_atmdrv.c:384: dereferencing pointer to incomplete type
unicorn_atmdrv.c:386: warning: implicit declaration of function `dev_kfree_skb_a
ny'
unicorn_atmdrv.c: In function `get_link_rate':
unicorn_atmdrv.c:400: `KERN_INFO' undeclared (first use in this function)
unicorn_atmdrv.c:400: parse error before string constant
unicorn_atmdrv.c:403: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:403: parse error before string constant
unicorn_atmdrv.c: In function `build_aal5_cell':
unicorn_atmdrv.c:409: dereferencing pointer to incomplete type
unicorn_atmdrv.c:414: `KERN_ERR' undeclared (first use in this function)
unicorn_atmdrv.c:414: parse error before string constant
unicorn_atmdrv.c:415: parse error before string constant
unicorn_atmdrv.c:418: dereferencing pointer to incomplete type
unicorn_atmdrv.c:419: dereferencing pointer to incomplete type
unicorn_atmdrv.c:419: dereferencing pointer to incomplete type
unicorn_atmdrv.c:420: dereferencing pointer to incomplete type
unicorn_atmdrv.c:421: dereferencing pointer to incomplete type
unicorn_atmdrv.c:425: dereferencing pointer to incomplete type
unicorn_atmdrv.c:425: dereferencing pointer to incomplete type
unicorn_atmdrv.c:427: dereferencing pointer to incomplete type
unicorn_atmdrv.c:428: warning: implicit declaration of function `skb_pull'
unicorn_atmdrv.c:440: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:440: parse error before string constant
unicorn_atmdrv.c:411: warning: `payload_len' might be used uninitialized in this
function
unicorn_atmdrv.c: In function `snd_poll':
unicorn_atmdrv.c:477: `KERN_ERR' undeclared (first use in this function)
unicorn_atmdrv.c:477: parse error before string constant
unicorn_atmdrv.c:479: warning: implicit declaration of function `skb_peek'
unicorn_atmdrv.c:479: warning: assignment makes pointer from integer without a c
ast
unicorn_atmdrv.c:485: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:485: parse error before string constant
unicorn_atmdrv.c:491: dereferencing pointer to incomplete type
unicorn_atmdrv.c:501: dereferencing pointer to incomplete type
unicorn_atmdrv.c:504: warning: implicit declaration of function `skb_unlink'
unicorn_atmdrv.c:505: warning: implicit declaration of function `atomic_inc'
unicorn_atmdrv.c:505: dereferencing pointer to incomplete type
unicorn_atmdrv.c:506: warning: passing arg 1 of `vcc_free_skb' from incompatible
pointer type
unicorn_atmdrv.c:508: warning: assignment makes pointer from integer without a c
ast
unicorn_atmdrv.c:514: parse error before string constant
unicorn_atmdrv.c:471: warning: `max_cells' might be used uninitialized in this f
unction
unicorn_atmdrv.c: In function `find_vcc':
unicorn_atmdrv.c:522: dereferencing pointer to incomplete type
unicorn_atmdrv.c:522: dereferencing pointer to incomplete type
unicorn_atmdrv.c:523: dereferencing pointer to incomplete type
unicorn_atmdrv.c:523: dereferencing pointer to incomplete type
unicorn_atmdrv.c:520: warning: `vcc' might be used uninitialized in this functio
n
unicorn_atmdrv.c: In function `rawcell_decode':
unicorn_atmdrv.c:532: dereferencing pointer to incomplete type
unicorn_atmdrv.c:535: dereferencing pointer to incomplete type
unicorn_atmdrv.c:537: dereferencing pointer to incomplete type
unicorn_atmdrv.c:537: warning: implicit declaration of function `dev_alloc_skb'
unicorn_atmdrv.c:539: `KERN_WARNING' undeclared (first use in this function)
unicorn_atmdrv.c:539: parse error before string constant
unicorn_atmdrv.c:545: dereferencing pointer to incomplete type
unicorn_atmdrv.c:546: warning: implicit declaration of function `skb_trim'
unicorn_atmdrv.c:548: warning: implicit declaration of function `skb_put'
unicorn_atmdrv.c:548: warning: passing arg 1 of `memcpy' makes pointer from inte
ger without a cast
unicorn_atmdrv.c:553: dereferencing pointer to incomplete type
unicorn_atmdrv.c:555: dereferencing pointer to incomplete type
unicorn_atmdrv.c:531: warning: `skb' might be used uninitialized in this functio
n
unicorn_atmdrv.c: In function `aal5_decode':
unicorn_atmdrv.c:567: dereferencing pointer to incomplete type
unicorn_atmdrv.c:567: dereferencing pointer to incomplete type
unicorn_atmdrv.c:568: `KERN_WARNING' undeclared (first use in this function)
unicorn_atmdrv.c:568: parse error before string constant
unicorn_atmdrv.c:568: dereferencing pointer to incomplete type
unicorn_atmdrv.c:572: dereferencing pointer to incomplete type
unicorn_atmdrv.c:572: dereferencing pointer to incomplete type
unicorn_atmdrv.c:573: dereferencing pointer to incomplete type
unicorn_atmdrv.c:573: dereferencing pointer to incomplete type
unicorn_atmdrv.c:573: dereferencing pointer to incomplete type
unicorn_atmdrv.c:573: dereferencing pointer to incomplete type
unicorn_atmdrv.c:576: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:576: parse error before string constant
unicorn_atmdrv.c:576: dereferencing pointer to incomplete type
unicorn_atmdrv.c:579: dereferencing pointer to incomplete type
unicorn_atmdrv.c:580: parse error before string constant
unicorn_atmdrv.c:580: dereferencing pointer to incomplete type
unicorn_atmdrv.c:585: dereferencing pointer to incomplete type
unicorn_atmdrv.c:586: parse error before string constant
unicorn_atmdrv.c:586: dereferencing pointer to incomplete type
unicorn_atmdrv.c:587: dereferencing pointer to incomplete type
unicorn_atmdrv.c:590: dereferencing pointer to incomplete type
unicorn_atmdrv.c:594: parse error before string constant
unicorn_atmdrv.c: In function `rcv_poll':
unicorn_atmdrv.c:616: `KERN_ERR' undeclared (first use in this function)
unicorn_atmdrv.c:616: parse error before string constant
unicorn_atmdrv.c:625: dereferencing pointer to incomplete type
unicorn_atmdrv.c:626: case label not within a switch statement
unicorn_atmdrv.c:629: warning: implicit declaration of function `atm_charge'
unicorn_atmdrv.c:629: dereferencing pointer to incomplete type
unicorn_atmdrv.c:630: dereferencing pointer to incomplete type
unicorn_atmdrv.c:631: dereferencing pointer to incomplete type
unicorn_atmdrv.c:633: `KERN_WARNING' undeclared (first use in this function)
unicorn_atmdrv.c:633: parse error before string constant
unicorn_atmdrv.c:633: dereferencing pointer to incomplete type
unicorn_atmdrv.c:633: dereferencing pointer to incomplete type
unicorn_atmdrv.c:633: dereferencing pointer to incomplete type
unicorn_atmdrv.c:636: dereferencing pointer to incomplete type
unicorn_atmdrv.c:640: dereferencing pointer to incomplete type
unicorn_atmdrv.c:643: default label not within a switch statement
unicorn_atmdrv.c:644: parse error before string constant
unicorn_atmdrv.c:644: dereferencing pointer to incomplete type
unicorn_atmdrv.c:645: dereferencing pointer to incomplete type
unicorn_atmdrv.c:652: parse error before string constant
unicorn_atmdrv.c:654: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:654: parse error before string constant
unicorn_atmdrv.c: In function `unicorn_poll_data':
unicorn_atmdrv.c:674: dereferencing pointer to incomplete type
unicorn_atmdrv.c:674: `ATM_PHY_SIG_FOUND' undeclared (first use in this function
)
unicorn_atmdrv.c:676: dereferencing pointer to incomplete type
unicorn_atmdrv.c:681: dereferencing pointer to incomplete type
unicorn_atmdrv.c:681: `ATM_PHY_SIG_LOST' undeclared (first use in this function)
unicorn_atmdrv.c:682: dereferencing pointer to incomplete type
unicorn_atmdrv.c:685: warning: implicit declaration of function `skb_dequeue'
unicorn_atmdrv.c:685: warning: assignment makes pointer from integer without a c
ast
unicorn_atmdrv.c:686: dereferencing pointer to incomplete type
unicorn_atmdrv.c:687: `KERN_ERR' undeclared (first use in this function)
unicorn_atmdrv.c:687: parse error before string constant
unicorn_atmdrv.c:688: dereferencing pointer to incomplete type
unicorn_atmdrv.c:689: warning: passing arg 1 of `vcc_free_skb' from incompatible
pointer type
unicorn_atmdrv.c: At top level:
unicorn_atmdrv.c:706: conflicting types for `unicorn_atm_send'
unicorn_atmdrv.c:114: previous declaration of `unicorn_atm_send'
unicorn_atmdrv.c: In function `unicorn_atm_send':
unicorn_atmdrv.c:707: dereferencing pointer to incomplete type
unicorn_atmdrv.c:711: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:711: parse error before string constant
unicorn_atmdrv.c:711: dereferencing pointer to incomplete type
unicorn_atmdrv.c:711: dereferencing pointer to incomplete type
unicorn_atmdrv.c:711: dereferencing pointer to incomplete type
unicorn_atmdrv.c:722: dereferencing pointer to incomplete type
unicorn_atmdrv.c:723: case label not within a switch statement
unicorn_atmdrv.c:725: dereferencing pointer to incomplete type
unicorn_atmdrv.c:727: dereferencing pointer to incomplete type
unicorn_atmdrv.c:729: parse error before string constant
unicorn_atmdrv.c:729: dereferencing pointer to incomplete type
unicorn_atmdrv.c:729: dereferencing pointer to incomplete type
unicorn_atmdrv.c:729: dereferencing pointer to incomplete type
unicorn_atmdrv.c:730: warning: implicit declaration of function `skb_queue_tail'
unicorn_atmdrv.c:731: break statement not within loop or switch
unicorn_atmdrv.c:732: default label not within a switch statement
unicorn_atmdrv.c:733: `KERN_WARNING' undeclared (first use in this function)
unicorn_atmdrv.c:733: parse error before string constant
unicorn_atmdrv.c:740: parse error before string constant
unicorn_atmdrv.c:741: warning: passing arg 1 of `vcc_free_skb' from incompatible
pointer type
unicorn_atmdrv.c:708: warning: `skb_data' might be used uninitialized in this fu
nction
unicorn_atmdrv.c: In function `wait_for_showtime':
unicorn_atmdrv.c:747: `KERN_ERR' undeclared (first use in this function)
unicorn_atmdrv.c:747: parse error before string constant
unicorn_atmdrv.c:759: `current' undeclared (first use in this function)
unicorn_atmdrv.c: In function `stop_poll_timer':
unicorn_atmdrv.c:795: warning: assignment makes pointer from integer without a c
ast
unicorn_atmdrv.c:796: dereferencing pointer to incomplete type
unicorn_atmdrv.c: At top level:
unicorn_atmdrv.c:801: conflicting types for `unicorn_atm_open'
unicorn_atmdrv.c:111: previous declaration of `unicorn_atm_open'
unicorn_atmdrv.c: In function `unicorn_atm_open':
unicorn_atmdrv.c:802: dereferencing pointer to incomplete type
unicorn_atmdrv.c:803: dereferencing pointer to incomplete type
unicorn_atmdrv.c:806: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:806: parse error before string constant
unicorn_atmdrv.c:811: dereferencing pointer to incomplete type
unicorn_atmdrv.c:815: dereferencing pointer to incomplete type
unicorn_atmdrv.c:817: dereferencing pointer to incomplete type
unicorn_atmdrv.c:818: dereferencing pointer to incomplete type
unicorn_atmdrv.c:819: `ATM_VF_ADDR' undeclared (first use in this function)
unicorn_atmdrv.c:819: dereferencing pointer to incomplete type
unicorn_atmdrv.c:820: `ATM_VF_PARTIAL' undeclared (first use in this function)
unicorn_atmdrv.c:820: dereferencing pointer to incomplete type
unicorn_atmdrv.c:821: `ATM_VF_READY' undeclared (first use in this function)
unicorn_atmdrv.c:821: dereferencing pointer to incomplete type
unicorn_atmdrv.c:827: warning: implicit declaration of function `skb_queue_head_
init'
unicorn_atmdrv.c:834: dereferencing pointer to incomplete type
unicorn_atmdrv.c:834: `ATM_PHY_SIG_FOUND' undeclared (first use in this function
)
unicorn_atmdrv.c:836: dereferencing pointer to incomplete type
unicorn_atmdrv.c:837: dereferencing pointer to incomplete type
unicorn_atmdrv.c:846: invalid use of undefined type `struct module'
unicorn_atmdrv.c:846: invalid use of undefined type `struct module'
unicorn_atmdrv.c:846: warning: value computed is not used
unicorn_atmdrv.c: At top level:
unicorn_atmdrv.c:852: conflicting types for `unicorn_atm_close'
unicorn_atmdrv.c:112: previous declaration of `unicorn_atm_close'
unicorn_atmdrv.c: In function `unicorn_atm_close':
unicorn_atmdrv.c:853: dereferencing pointer to incomplete type
unicorn_atmdrv.c:854: dereferencing pointer to incomplete type
unicorn_atmdrv.c:856: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:856: parse error before string constant
unicorn_atmdrv.c:859: dereferencing pointer to incomplete type
unicorn_atmdrv.c:860: dereferencing pointer to incomplete type
unicorn_atmdrv.c:861: dereferencing pointer to incomplete type
unicorn_atmdrv.c:863: `ATM_VF_PARTIAL' undeclared (first use in this function)
unicorn_atmdrv.c:863: dereferencing pointer to incomplete type
unicorn_atmdrv.c:866: dereferencing pointer to incomplete type
unicorn_atmdrv.c:867: dereferencing pointer to incomplete type
unicorn_atmdrv.c:868: `ATM_VF_ADDR' undeclared (first use in this function)
unicorn_atmdrv.c:868: dereferencing pointer to incomplete type
unicorn_atmdrv.c:875: warning: implicit declaration of function `atomic_dec'
unicorn_atmdrv.c:875: invalid use of undefined type `struct module'
unicorn_atmdrv.c:875: invalid use of undefined type `struct module'
unicorn_atmdrv.c:875: warning: value computed is not used
unicorn_atmdrv.c: In function `unicorn_atm_ioctl':
unicorn_atmdrv.c:882: dereferencing pointer to incomplete type
unicorn_atmdrv.c:887: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:887: parse error before string constant
unicorn_atmdrv.c:890: `KERN_ERR' undeclared (first use in this function)
unicorn_atmdrv.c:890: parse error before string constant
unicorn_atmdrv.c:894: warning: implicit declaration of function `put_user'
unicorn_atmdrv.c:897: warning: implicit declaration of function `copy_from_user'
unicorn_atmdrv.c:901: warning: implicit declaration of function `kmalloc'
unicorn_atmdrv.c:901: `GFP_KERNEL' undeclared (first use in this function)
unicorn_atmdrv.c:901: warning: assignment makes pointer from integer without a c
ast
unicorn_atmdrv.c:912: warning: implicit declaration of function `copy_to_user'
unicorn_atmdrv.c:913: warning: implicit declaration of function `kfree'
unicorn_atmdrv.c:918: `ENOIOCTLCMD' undeclared (first use in this function)
unicorn_atmdrv.c:885: warning: `err' might be used uninitialized in this functio
n
unicorn_atmdrv.c: In function `unicorn_atm_init':
unicorn_atmdrv.c:934: `KERN_INFO' undeclared (first use in this function)
unicorn_atmdrv.c:934: parse error before string constant
unicorn_atmdrv.c:937: `KERN_WARNING' undeclared (first use in this function)
unicorn_atmdrv.c:937: parse error before string constant
unicorn_atmdrv.c:940: `GFP_KERNEL' undeclared (first use in this function)
unicorn_atmdrv.c:940: warning: assignment makes pointer from integer without a c ast
unicorn_atmdrv.c:942: parse error before string constant
unicorn_atmdrv.c: In function `unicorn_atm_cleanup':
unicorn_atmdrv.c:959: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:959: parse error before string constant
unicorn_atmdrv.c: In function `unicorn_attach':
unicorn_atmdrv.c:977: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:977: parse error before string constant
unicorn_atmdrv.c:983: `KERN_ERR' undeclared (first use in this function)
unicorn_atmdrv.c:983: parse error before string constant
unicorn_atmdrv.c:984: parse error before string constant
unicorn_atmdrv.c:985: parse error before string constant
unicorn_atmdrv.c:986: parse error before string constant
unicorn_atmdrv.c:987: parse error before string constant
unicorn_atmdrv.c:988: parse error before string constant
unicorn_atmdrv.c: In function `unicorn_detach':
unicorn_atmdrv.c:1002: `KERN_DEBUG' undeclared (first use in this function)
unicorn_atmdrv.c:1002: parse error before string constant
make: *** [unicorn_atmdrv.o] Erreur 1
J'ai supprimer le ligne KERNELDIR comme dis dans la doc...
Ca viens de quoi ? 
Message édité par Kyle le 20-09-2002 à 19:50:31