Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
ahhhh
im trying to install my compex usb adapter and i run the ./install and get compile errorsheres my script output
any help is appreciated!
Script started on Fri 12 Dec 2003 12:10:23 AM EST
]0;root@lin:/tmp/wireless/atmelwlandriver[root@lin atmelwlandriver]# ./install
Build all=N -start
Build all -end
Beginning to input pre-defined variables... ...
End of input... ...
X Windows include files missing
Kernel Version Running 2.4.20-8
Found Kernel Source Directory ()
End of Make Config process... ...
Finished. Now run make clean, all, install
find . -name '*.o' -o -name '*.map' |xargs rm -f
Building src/usb
make[1]: Entering directory `/tmp/wireless/atmelwlandriver/src/usb'
for i in rfmd; do make $i || exit 1; done
make[2]: Entering directory `/tmp/wireless/atmelwlandriver/src/usb'
make final CFLAGS:='-D__KERNEL__ -O3 -fno-strict-aliasing -fomit-frame-pointer -pipe -I/include -I/tmp/wireless/atmelwlandriver/src/includes -I/tmp/wireless/atmelwlandriver/src/includes/usb -Wall -DRFMD' MODULE:='usbvnetr.o'
make[3]: Entering directory `/tmp/wireless/atmelwlandriver/src/usb'
gcc -D__KERNEL__ -O3 -fno-strict-aliasing -fomit-frame-pointer -pipe -I/include -I/tmp/wireless/atmelwlandriver/src/includes -I/tmp/wireless/atmelwlandriver/src/includes/usb -Wall -DRFMD -c -o callbacks.o callbacks.c
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from /tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:24,
from callbacks.c:22:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
from /tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:24,
from callbacks.c:22:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from /tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:24,
from callbacks.c:22:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:24,
from callbacks.c:22:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from /tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:24,
from callbacks.c:22:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from /tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:27,
from callbacks.c:22:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from callbacks.c:22:
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:32:25: asm/uaccess.h: No such file or directory
In file included from callbacks.c:22:
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h: At top level:
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:251: parse error before "wait_queue_head_t"
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:251: warning: no semicolon at end of struct or union
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:252: warning: type defaults to `int' in declaration of `remove_wait'
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:252: warning: data definition has no type or storage class
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:256: parse error before '*' token
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:256: warning: type defaults to `int' in declaration of `lock'
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:256: warning: data definition has no type or storage class
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:323: parse error before '}' token
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:323: warning: type defaults to `int' in declaration of `VNet_ADAPTER'
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:323: warning: type defaults to `int' in declaration of `PVNet_ADAPTER'
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:323: warning: data definition has no type or storage class
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:336: parse error before "PVNet_ADAPTER"
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:336: warning: no semicolon at end of struct or union
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:340: parse error before '}' token
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:340: warning: type defaults to `int' in declaration of `TX_LIST'
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:340: warning: type defaults to `int' in declaration of `PTX_LIST'
/tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:340: warning: data definition has no type or storage class
In file included from /tmp/wireless/atmelwlandriver/src/includes/usb/vnetusba.h:393,
from callbacks.c:22:
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:34: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:35: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:36: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:37: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:38: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:39: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:40: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:41: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:42: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:43: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:44: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:45: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:46: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:47: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:48: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:49: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:50: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:51: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:52: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:53: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:54: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:55: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:56: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:57: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:58: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:59: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:60: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:61: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:62: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:63: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:68: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:75: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:77: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:78: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:83: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:85: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:86: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:87: parse error before '*' token
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:87: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:87: warning: type defaults to `int' in declaration of `AllocPacket'
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:87: warning: data definition has no type or storage class
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:88: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:90: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:91: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:96: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:97: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:99: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:100: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:101: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:103: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:104: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:111: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:112: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:113: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:114: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:117: parse error before "Adapter"
/tmp/wireless/atmelwlandriver/src/includes/usb/stdinclude.h:122: parse error before "PVNet_ADAPTER"
callbacks.c:23:21: asm/msr.h: No such file or directory
callbacks.c: In function `GetCmd_callback':
callbacks.c:47: parse error before "Adapter"
callbacks.c:50: `Adapter' undeclared (first use in this function)
callbacks.c:50: (Each undeclared identifier is reported only once
callbacks.c:50: for each function it appears in.)
callbacks.c:53: warning: implicit declaration of function `spin_lock_irqsave'
callbacks.c:57: warning: implicit declaration of function `waitqueue_active'
callbacks.c:60: warning: implicit declaration of function `wake_up_interruptible'
callbacks.c:65: warning: implicit declaration of function `spin_unlock_irqrestore'
callbacks.c:70: dereferencing pointer to incomplete type
callbacks.c:71: `USB_ST_NOERROR' undeclared (first use in this function)
callbacks.c:73: `USB_ST_STALL' undeclared (first use in this function)
callbacks.c:74: `USB_ST_TIMEOUT' undeclared (first use in this function)
callbacks.c: In function `ctrl_callback':
callbacks.c:321: parse error before "Adapter"
callbacks.c:322: dereferencing pointer to incomplete type
callbacks.c:327: `Adapter' undeclared (first use in this function)
callbacks.c:347: dereferencing pointer to incomplete type
callbacks.c:348: `USB_ST_NOERROR' undeclared (first use in this function)
callbacks.c:350: `USB_ST_STALL' undeclared (first use in this function)
callbacks.c:355: `USB_ST_TIMEOUT' undeclared (first use in this function)
callbacks.c:524: dereferencing pointer to incomplete type
callbacks.c:556: warning: implicit declaration of function `printk'
callbacks.c: In function `RxCallback':
callbacks.c:730: parse error before "Adapter"
callbacks.c:734: `Adapter' undeclared (first use in this function)
callbacks.c:749: dereferencing pointer to incomplete type
callbacks.c:750: dereferencing pointer to incomplete type
callbacks.c:750: `EPIPE' undeclared (first use in this function)
callbacks.c:765: dereferencing pointer to incomplete type
callbacks.c:767: dereferencing pointer to incomplete type
callbacks.c:808: warning: implicit declaration of function `FILL_BULK_URB'
callbacks.c:810: warning: implicit declaration of function `usb_rcvbulkpipe'
callbacks.c:814: warning: implicit declaration of function `usb_submit_urb'
callbacks.c:815: warning: implicit declaration of function `warn'
callbacks.c: In function `TxOkCB':
callbacks.c:822: parse error before "TxOk"
callbacks.c:829: `Adapter' undeclared (first use in this function)
callbacks.c:841: `TxOk' undeclared (first use in this function)
callbacks.c:849: dereferencing pointer to incomplete type
callbacks.c:865: `KERN_WARNING' undeclared (first use in this function)
callbacks.c:865: parse error before string constant
callbacks.c:865: warning: left-hand operand of comma expression has no effect
callbacks.c:865: parse error before ')' token
callbacks.c:867: warning: implicit declaration of function `kfree'
callbacks.c:868: parse error before string constant
callbacks.c:868: warning: left-hand operand of comma expression has no effect
callbacks.c:868: parse error before ')' token
callbacks.c: In function `DFUCallbacks':
callbacks.c:886: parse error before "Adapter"
callbacks.c:890: `Adapter' undeclared (first use in this function)
callbacks.c:950: warning: implicit declaration of function `udelay'
make[3]: *** [callbacks.o] Error 1
make[3]: Leaving directory `/tmp/wireless/atmelwlandriver/src/usb'
make[2]: *** [rfmd] Error 2
make[2]: Leaving directory `/tmp/wireless/atmelwlandriver/src/usb'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/tmp/wireless/atmelwlandriver/src/usb'
make: *** [all] Error 1
]0;root@lin:/tmp/wireless/atmelwlandriver[root@lin atmelwlandriver]# exitScript done on Fri 12 Dec 2003 12:10:36 AM EST

im not sure but it was included with my amtel drivers for my device i just want to get my device up and running!
can u help ?

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |