All of lore.kernel.org
 help / color / mirror / Atom feed
* Doubt regarding iio task 01
@ 2016-09-24 13:41 sayli karnik
  2016-09-24 13:47 ` [Outreachy kernel] " Julia Lawall
  2016-09-25  6:28 ` Alison Schofield
  0 siblings, 2 replies; 3+ messages in thread
From: sayli karnik @ 2016-09-24 13:41 UTC (permalink / raw)
  To: amsfield22, daniel.baluta; +Cc: outreachy-kernel

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

Hello,

I ran the following compilation command:
make drivers/iio/dummy/iio_dummy_evgen.ko

The following is the error encountered:
https://www.irccloud.com/pastebin/aO6XB4Le

I have enabled the config options required:
 #
 # IIO dummy driver
 #
 CONFIG_IIO_DUMMY_EVGEN=m
 CONFIG_IIO_SIMPLE_DUMMY=m
 CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
 CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y

Could you point me towards a solution to this?

Thanks!

[-- Attachment #2: Type: text/html, Size: 567 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Outreachy kernel] Doubt regarding iio task 01
  2016-09-24 13:41 Doubt regarding iio task 01 sayli karnik
@ 2016-09-24 13:47 ` Julia Lawall
  2016-09-25  6:28 ` Alison Schofield
  1 sibling, 0 replies; 3+ messages in thread
From: Julia Lawall @ 2016-09-24 13:47 UTC (permalink / raw)
  To: sayli karnik; +Cc: amsfield22, daniel.baluta, outreachy-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1367 bytes --]



On Sat, 24 Sep 2016, sayli karnik wrote:

> Hello,
>
> I ran the following compilation command:
> make drivers/iio/dummy/iio_dummy_evgen.ko
>
> The following is the error encountered:
> https://www.irccloud.com/pastebin/aO6XB4Le
>
> I have enabled the config options required:
>  #
>  # IIO dummy driver
>  #
>  CONFIG_IIO_DUMMY_EVGEN=m
>  CONFIG_IIO_SIMPLE_DUMMY=m
>  CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
>  CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
>
> Could you point me towards a solution to this?

I don't know anything about this case specifically, but maybe it would
help to do make clean, make allmodconfig, then check on the above
configuration variables, and then make.

If you already this, ie started your kernel compile from scratch, then you
will have to wait for Alison or Daniel :)

julia


>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/CAKG5xWjTCC4oyXcHC5du3i
> meE9VP2nwL%3D3c9XwvvHzYTB0zCSA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Doubt regarding iio task 01
  2016-09-24 13:41 Doubt regarding iio task 01 sayli karnik
  2016-09-24 13:47 ` [Outreachy kernel] " Julia Lawall
@ 2016-09-25  6:28 ` Alison Schofield
  1 sibling, 0 replies; 3+ messages in thread
From: Alison Schofield @ 2016-09-25  6:28 UTC (permalink / raw)
  To: sayli karnik; +Cc: daniel.baluta, outreachy-kernel

On Sat, Sep 24, 2016 at 07:11:23PM +0530, sayli karnik wrote:
> Hello,
> 
> I ran the following compilation command:
> make drivers/iio/dummy/iio_dummy_evgen.ko
> 
> The following is the error encountered:
> https://www.irccloud.com/pastebin/aO6XB4Le
> 
> I have enabled the config options required:
>  #
>  # IIO dummy driver
>  #
>  CONFIG_IIO_DUMMY_EVGEN=m
>  CONFIG_IIO_SIMPLE_DUMMY=m
>  CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
>  CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
> 
> Could you point me towards a solution to this?
> 
> Thanks!
Hi Sayli,

Hope this helps...ask more if you get stuck.

git grep those undefined labels and you'll find you need industrialio.ko

To use insmod you'll need to insmod the dependencies. 

insmod industrialio.ko
insmod iio_dummy_evgen.ko
insmod kfifo_buf.ko
insmod iio_dummy.ko

Your end result will satisfy these dependencies..

$ lsmod | grep dummy
iio_dummy              16384  0
kfifo_buf              16384  1 iio_dummy
iio_dummy_evgen        16384  2 iio_dummy
industrialio           61440  3 iio_dummy,kfifo_buf,iio_dummy_evgen

alisons


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-25  6:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-24 13:41 Doubt regarding iio task 01 sayli karnik
2016-09-24 13:47 ` [Outreachy kernel] " Julia Lawall
2016-09-25  6:28 ` Alison Schofield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.