Hi! Am Montag, 25. Februar 2019 19:34:06 UTC+1 schrieb Hans Leeuw: > > > > Op maandag 25 februari 2019 18:59:48 UTC+1 schreef TJF: >> >> Hi Hans! >> > Hi TJF, thanks for the very quick response. > >> >> Am Montag, 25. Februar 2019 16:42:07 UTC+1 schrieb Hans Leeuw: >>> >>> I had exactly the same problem. I commented out the line according to >>> your example. I don't know I was supposed to uncomment the bottom line. I >>> tried both uncommented and commented... Anyway after reboot I am stuck with >>> the same problem. lsmod gives the same output while the /boot/uEnv.txt file >>> is modified and the debug information (running 1.c) is the same as well. >>> >> >> I need to know if you're booting from eMMC or uSD and which kernel you >> use (uname -r). >> > Kernel 4.14 .71-ti-r80 > Debian 9.8 > I have a pocket beagle so I guess that I boot from uSD > and I use the cloud9 IDE >
Please post the output from lsmod | grep uio ls -l /dev/uio* ls -l /sys/devices/ >> This is the output of the c compiler: >>> >>> /tmp/ccNSrhGX.o: In function `main': >>> 1.c:(.text+0x14): undefined reference to `pruio_new' >>> 1.c:(.text+0x28): undefined reference to `pruio_config' >>> 1.c:(.text+0x8a): undefined reference to `pruio_destroy' >>> collect2: error: ld returned 1 exit status >>> <builtin>: recipe for target '1' failed >>> make: *** [1] Error 1 >>> >> >> That's a diferent issue. It's not related to the boot process loading >> drivers. Instead it's a linker problem. Assuming you installed the >> libpruio-dev package, then executing once the command sudo ldconfig >> should solve the problem. >> > I did that but it did not solve anything. > What happens when you compile from command line gcc -Wall -o 1 1.c -lpruio Regards -- 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/de77d790-37f8-4bc9-a3dc-b2bf7ef1d3bd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
