Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

several compiling issues with 4.4.19 #35

Open
hede5562 opened this issue Sep 6, 2016 · 2 comments
Open

several compiling issues with 4.4.19 #35

hede5562 opened this issue Sep 6, 2016 · 2 comments

Comments

@hede5562
Copy link

hede5562 commented Sep 6, 2016

With 4.4.19 I have multiple compiling issues. With 4.4.17 the same config was fine.
Examples:

  CC [M]  net/netfilter/xt_CONNSECMARK.o
drivers/input/touchscreen/sur40.c: In function ‘sur40_process_video’:
drivers/input/touchscreen/sur40.c:453:21: error: ‘struct vb2_buffer’ has no member named ‘timestamp’
  new_buf->vb.vb2_buf.timestamp = ktime_get_ns();
                     ^
drivers/input/touchscreen/sur40.c: In function ‘sur40_probe’:
drivers/input/touchscreen/sur40.c:582:14: error: ‘struct vb2_queue’ has no member named ‘dev’
  sur40->queue.dev = sur40->dev;
              ^
drivers/input/touchscreen/sur40.c: At top level:
drivers/input/touchscreen/sur40.c:826:2: warning: initialization from incompatible pointer type
  .queue_setup  = sur40_queue_setup,
  ^
drivers/input/touchscreen/sur40.c:826:2: warning: (near initialization for ‘sur40_queue_ops.queue_setup’)
scripts/Makefile.build:264: recipe for target 'drivers/input/touchscreen/sur40.o' failed
make[3]: *** [drivers/input/touchscreen/sur40.o] Error 1
scripts/Makefile.build:403: recipe for target 'drivers/input/touchscreen' failed
make[2]: *** [drivers/input/touchscreen] Error 2
scripts/Makefile.build:403: recipe for target 'drivers/input' failed
make[1]: *** [drivers/input] Error 2
Makefile:947: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: *** Warte auf noch nicht beendete Prozesse...
  CC [M]  net/netfilter/xt_CT.o
  CC [M]  fs/udf/truncate.o
  CC [M]  fs/udf/symlink.o
  CC [M]  net/netfilter/xt_DSCP.o
  CC [M]  fs/udf/directory.o


  CC [M]  drivers/media/i2c/wm8775.o
  CC [M]  drivers/media/dvb-frontends/si2168.o
drivers/media/dvb-frontends/si2168.c: In function ‘si2168_probe’:
drivers/media/dvb-frontends/si2168.c:712:2: error: implicit declaration of function ‘i2c_add_mux_adapter’ [-Werror=implicit-function-declaration]
  dev->adapter = i2c_add_mux_adapter(client->adapter, &client->dev,
  ^
drivers/media/dvb-frontends/si2168.c:712:15: warning: assignment makes pointer from integer without a cast
  dev->adapter = i2c_add_mux_adapter(client->adapter, &client->dev,
               ^
drivers/media/dvb-frontends/si2168.c: In function ‘si2168_remove’:
drivers/media/dvb-frontends/si2168.c:746:2: error: implicit declaration of function ‘i2c_del_mux_adapter’ [-Werror=implicit-function-declaration]
  i2c_del_mux_adapter(dev->adapter);
  ^
  CC      drivers/mmc/core/sdio.o
  CC [M]  drivers/media/i2c/mt9v011.o
  CC [M]  drivers/md/bcache/bset.o
cc1: some warnings being treated as errors
scripts/Makefile.build:264: recipe for target 'drivers/media/dvb-frontends/si2168.o' failed
make[3]: *** [drivers/media/dvb-frontends/si2168.o] Error 1
scripts/Makefile.build:403: recipe for target 'drivers/media/dvb-frontends' failed
make[2]: *** [drivers/media/dvb-frontends] Error 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
  CC [M]  drivers/md/bcache/btree.o
  LD      drivers/media/i2c/built-in.o

@RobertCNelson
Copy link
Owner

@hede5562 sorry about this, i needed a few iio drivers from a later kernel, that required an i2c-mux change that broke a coupe of 4.4.x drivers:

see the patches/defconfig diff here:

28eb887

Regards,

@hede5562
Copy link
Author

hede5562 commented Sep 7, 2016

@RobertCNelson np - I do not need those drivers and can remove them. Still, if somebody does...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants