Advertisement
pjj90292

compilation Error driver drxvi314.ko

Aug 26th, 2013
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. Since my existing wimax driver drxvi314.ko appears to be imperfect in all its incarnations, I decided to compile it again against the kubuntu kernel 3.8.0-29-generic.
  2. Did not work. I ran into a mysterious compilation error again.
  3.  
  4. Please note the last few lines 'defining' the error.
  5. I have no idea what the actual error is and how to fix it. HELP, please.
  6. Looks like something is wrong in the code somewhere.
  7.  
  8. Here is the terminal output:
  9.  
  10. peter@pjj:~/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb$ make
  11. make -Wall O=/lib/modules/3.8.0-29-generic/build -C /lib/modules/3.8.0-29-generic/source SUBDIRS=/home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb modules
  12. make[1]: Entering directory `/usr/src/linux-headers-3.8.0-26-generic'
  13. CC [M] /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Interface/usb/InterfaceDld.o
  14. In file included from /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/headers.h:83:0,
  15. from /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Interface/usb/InterfaceDld.c:22:
  16. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/led_control.h:103:24: error: ‘GPIO’ undeclared here (not in a function)
  17. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/led_control.h:105:16: error: expected ‘)’ before ‘->’ token
  18. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/led_control.h:111:7: error: expected identifier or ‘(’ before ‘}’ token
  19. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/led_control.h:111:8: error: expected identifier or ‘(’ before ‘while’
  20. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/led_control.h:117:13: error: redefinition of ‘gpio_val’
  21. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/led_control.h:103:13: note: previous definition of ‘gpio_val’ was here
  22. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/led_control.h:119:16: error: expected ‘)’ before ‘->’ token
  23. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/led_control.h:125:7: error: expected identifier or ‘(’ before ‘}’ token
  24. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/led_control.h:125:8: error: expected identifier or ‘(’ before ‘while’
  25. In file included from /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/headers.h:93:0,
  26. from /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Interface/usb/InterfaceDld.c:22:
  27.  
  28. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/osal_misc.h:83:1: error: expected identifier or ‘(’ before ‘{’ token
  29. /home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Include/Common/osal_misc.h:93:1: error: expected identifier or ‘(’ before ‘{’ token
  30. make[3]: *** [/home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb/Interface/usb/InterfaceDld.o] Error 1
  31. make[2]: *** [_module_/home/peter/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb] Error 2
  32. make[1]: *** [sub-make] Error 2
  33. make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-26-generic'
  34. make: *** [default] Error 2
  35.  
  36. peter@pjj:~/sprint1304/Sprint4GDeveloperPack-1.6.1.2.2/USB_350/Source/Driver/Network/OSAL/Linux/usb$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement