On Wed, Jun 21, 2017 at 4:58 PM, mzimmers <[email protected]> wrote:
> My project *is* his project. I'm trying to build the ebbchar.c file included
> in his repository. I have no idea how this used to work, but it doesn't now
> (not on my system anyway).
>
> I added the ARCM=arm to my copy of the Makefile, but I'm still getting the
> error message. Is this because I have my C_INCLUDE_PATH pointing to the
> wrong place?

Yeap looks like you messed something up, as the example just works:

git clone https://github.com/derekmolloy/exploringBB.git
cd ./exploringBB/extras/kernel/ebbchar/

sudo apt install linux-headers-`uname -r`

debian@BeagleBoard-X15:~/exploringBB/extras/kernel/ebbchar$ make
make -C /lib/modules/4.4.68-ti-r108/build/
M=/home/debian/exploringBB/extras/kernel/ebbchar modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.68-ti-r108'
  CC [M]  /home/debian/exploringBB/extras/kernel/ebbchar/ebbchar.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/debian/exploringBB/extras/kernel/ebbchar/ebbchar.mod.o
  LD [M]  /home/debian/exploringBB/extras/kernel/ebbchar/ebbchar.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.68-ti-r108'
cc testebbchar.c -o test

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYhBffvT8kqmHt4ob1bDc5V6XNroWzPZWBcjDH_WCZuAXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to