Skip to content

Instantly share code, notes, and snippets.

@axiomsofchoice
Created June 9, 2012 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axiomsofchoice/2902291 to your computer and use it in GitHub Desktop.
Save axiomsofchoice/2902291 to your computer and use it in GitHub Desktop.
v4l woes
pi@raspberrypi:~/media_build$ make all
make -C /home/pi/media_build/v4l all
make[1]: Entering directory `/home/pi/media_build/v4l'
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/pi/media_build/v4l/firmware'
make[2]: Leaving directory `/home/pi/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/pi/media_build/v4l/firmware'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/home/pi/media_build/v4l/firmware'
Kernel build directory is /lib/modules/3.1.9+/build
make -C ../linux apply_patches
make[2]: Entering directory `/home/pi/media_build/linux'
Patches for 3.1.9+ already applied.
make[2]: Leaving directory `/home/pi/media_build/linux'
make -C /lib/modules/3.1.9+/build SUBDIRS=/home/pi/media_build/v4l modules
make[2]: Entering directory `/lib/modules/3.1.9+/build'
WARNING: Symbol version dump /lib/modules/3.1.9+/build/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/pi/media_build/v4l/cpia2_v4l.o
In file included from <command-line>:0:
/home/pi/media_build/v4l/compat.h: In function 'i2c_smbus_read_word_swapped':
/home/pi/media_build/v4l/compat.h:44: error: implicit declaration of function 'i2c_smbus_read_word_data'
/home/pi/media_build/v4l/compat.h: In function 'i2c_smbus_write_word_swapped':
/home/pi/media_build/v4l/compat.h:53: error: implicit declaration of function 'i2c_smbus_write_word_data'
make[3]: *** [/home/pi/media_build/v4l/cpia2_v4l.o] Error 1
make[2]: *** [_module_/home/pi/media_build/v4l] Error 2
make[2]: Leaving directory `/lib/modules/3.1.9+/build'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/pi/media_build/v4l'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment