logo       
Google Custom Search
    AddThis Social Bookmark Button

Problems installing driver: msg#00003

Subject: Problems installing driver
Hello,

I use Debian and kernel 2.6.17.7, i got this error
bellow trying to compile orinoco-0.15rc4 drivers.

Can someone tell how to resolve this problem ?

debian:/home/orinoco-0.15rc4# make
make -C /usr/src/linux-2.6.17.7
M=/home/orinoco-0.15rc4 KERNELRELEASE=2.6.17.7 m
odules
make[1]: Entering directory `/usr/src/linux-2.6.17.7'
  CC [M]  /home/orinoco-0.15rc4/orinoco_nortel.o
  CC [M]  /home/orinoco-0.15rc4/orinoco_pci.o
  CC [M]  /home/orinoco-0.15rc4/orinoco_plx.o
  CC [M]  /home/orinoco-0.15rc4/orinoco_tmd.o
  CC [M]  /home/orinoco-0.15rc4/hermes.o
  CC [M]  /home/orinoco-0.15rc4/orinoco.o
  CC [M]  /home/orinoco-0.15rc4/orinoco_cs.o
/home/orinoco-0.15rc4/orinoco_cs.c:63: error: syntax
error before "dev_link_t"
/home/orinoco-0.15rc4/orinoco_cs.c:63: warning: no
semicolon at end of struct or
 union
/home/orinoco-0.15rc4/orinoco_cs.c:70: error: syntax
error before '}' token
/home/orinoco-0.15rc4/orinoco_cs.c:77: error: syntax
error before '*' token
/home/orinoco-0.15rc4/orinoco_cs.c:77: warning: type
defaults to `int' in declar
ation of `dev_list'
/home/orinoco-0.15rc4/orinoco_cs.c:77: warning: data
definition has no type or s
torage class
/home/orinoco-0.15rc4/orinoco_cs.c:83: error: syntax
error before '*' token
/home/orinoco-0.15rc4/orinoco_cs.c:83: warning:
function declaration isn't a pro
totype
/home/orinoco-0.15rc4/orinoco_cs.c:84: error: syntax
error before '*' token
/home/orinoco-0.15rc4/orinoco_cs.c:84: warning:
function declaration isn't a pro
totype
/home/orinoco-0.15rc4/orinoco_cs.c: In function
`orinoco_cs_hard_reset':
/home/orinoco-0.15rc4/orinoco_cs.c:96: error:
`dev_link_t' undeclared (first use
 in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:96: error: (Each
undeclared identifier is rep
orted only once
/home/orinoco-0.15rc4/orinoco_cs.c:96: error: for each
function it appears in.)
/home/orinoco-0.15rc4/orinoco_cs.c:96: error: `link'
undeclared (first use in th
is function)
/home/orinoco-0.15rc4/orinoco_cs.c:96: error:
dereferencing pointer to incomplet
e type
/home/orinoco-0.15rc4/orinoco_cs.c:100: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:107: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c: At top level:
/home/orinoco-0.15rc4/orinoco_cs.c:124: error: syntax
error before '*' token
/home/orinoco-0.15rc4/orinoco_cs.c:126: warning:
return type defaults to `int'
/home/orinoco-0.15rc4/orinoco_cs.c: In function
`orinoco_cs_attach':
/home/orinoco-0.15rc4/orinoco_cs.c:130: error:
`dev_link_t' undeclared (first us
e in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:130: error: `link'
undeclared (first use in t
his function)
/home/orinoco-0.15rc4/orinoco_cs.c:131: error:
`client_reg_t' undeclared (first
use in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:131: error: syntax
error before "client_reg"
/home/orinoco-0.15rc4/orinoco_cs.c:134: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:141: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:163: error:
`client_reg' undeclared (first us
e in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:175: warning:
implicit declaration of functio
n `pcmcia_register_client'
/home/orinoco-0.15rc4/orinoco_cs.c: At top level:
/home/orinoco-0.15rc4/orinoco_cs.c:191: error: syntax
error before '*' token
/home/orinoco-0.15rc4/orinoco_cs.c:192: warning:
function declaration isn't a pr
ototype
/home/orinoco-0.15rc4/orinoco_cs.c: In function
`orinoco_cs_detach':
/home/orinoco-0.15rc4/orinoco_cs.c:193: error:
`dev_link_t' undeclared (first us
e in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:193: error: `linkp'
undeclared (first use in
this function)
/home/orinoco-0.15rc4/orinoco_cs.c:194: error: `link'
undeclared (first use in t
his function)
/home/orinoco-0.15rc4/orinoco_cs.c:203: error:
`DEV_CONFIG' undeclared (first us
e in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:208: warning:
implicit declaration of functio
n `pcmcia_deregister_client'
/home/orinoco-0.15rc4/orinoco_cs.c: At top level:
/home/orinoco-0.15rc4/orinoco_cs.c:232: error: syntax
error before '*' token
/home/orinoco-0.15rc4/orinoco_cs.c:233: warning:
function declaration isn't a pr
ototype
/home/orinoco-0.15rc4/orinoco_cs.c: In function
`orinoco_cs_config':
/home/orinoco-0.15rc4/orinoco_cs.c:234: error: `link'
undeclared (first use in t
his function)
/home/orinoco-0.15rc4/orinoco_cs.c:262: error:
`DEV_CONFIG' undeclared (first us
e in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:360: warning:
implicit declaration of functio
n `pcmcia_release_io'
/home/orinoco-0.15rc4/orinoco_cs.c:398: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:398: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:409: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:410: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:413: error:
`DEV_CONFIG_PENDING' undeclared (
first use in this function)
/home/orinoco-0.15rc4/orinoco_cs.c: At top level:
/home/orinoco-0.15rc4/orinoco_cs.c:446: error: syntax
error before '*' token
/home/orinoco-0.15rc4/orinoco_cs.c:447: warning:
function declaration isn't a pr
ototype
/home/orinoco-0.15rc4/orinoco_cs.c: In function
`orinoco_cs_release':
/home/orinoco-0.15rc4/orinoco_cs.c:448: error: `link'
undeclared (first use in t
his function)
/home/orinoco-0.15rc4/orinoco_cs.c:459: warning:
implicit declaration of functio
n `pcmcia_release_configuration'
/home/orinoco-0.15rc4/orinoco_cs.c:463: warning:
implicit declaration of functio
n `pcmcia_release_irq'
/home/orinoco-0.15rc4/orinoco_cs.c:464: error:
`DEV_CONFIG' undeclared (first us
e in this function)
/home/orinoco-0.15rc4/orinoco_cs.c: In function
`orinoco_cs_event':
/home/orinoco-0.15rc4/orinoco_cs.c:477: error:
`dev_link_t' undeclared (first us
e in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:477: error: `link'
undeclared (first use in t
his function)
/home/orinoco-0.15rc4/orinoco_cs.c:486: error:
`DEV_PRESENT' undeclared (first u
se in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:487: error:
`DEV_CONFIG' undeclared (first us
e in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:498: error:
`DEV_CONFIG_PENDING' undeclared (
first use in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:503: error:
`DEV_SUSPEND' undeclared (first u
se in this function)
/home/orinoco-0.15rc4/orinoco_cs.c:511: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:511: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:540: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c:540: error:
dereferencing pointer to incomple
te type
/home/orinoco-0.15rc4/orinoco_cs.c: At top level:
/home/orinoco-0.15rc4/orinoco_cs.c:671: error: unknown
field `attach' specified
in initializer
/home/orinoco-0.15rc4/orinoco_cs.c:671: warning:
excess elements in struct initi
alizer
/home/orinoco-0.15rc4/orinoco_cs.c:671: warning: (near
initialization for `orino
co_driver')
/home/orinoco-0.15rc4/orinoco_cs.c:672: error: unknown
field `detach' specified
in initializer
/home/orinoco-0.15rc4/orinoco_cs.c:672: warning:
excess elements in struct initi
alizer
/home/orinoco-0.15rc4/orinoco_cs.c:672: warning: (near
initialization for `orino
co_driver')
/home/orinoco-0.15rc4/orinoco_cs.c:674: error: unknown
field `event' specified i
n initializer
/home/orinoco-0.15rc4/orinoco_cs.c:674: warning:
excess elements in struct initi
alizer
/home/orinoco-0.15rc4/orinoco_cs.c:674: warning: (near
initialization for `orino
co_driver')
make[2]: *** [/home/orinoco-0.15rc4/orinoco_cs.o]
Error 1
make[1]: *** [_module_/home/orinoco-0.15rc4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17.7'
make: *** [modules] Error 2
debian:/home/orinoco-0.15rc4#

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>