2011-01-15 15:46:04 drivers/char/test/built-in.o: No such file: No such file or directory
Carl Berglund (SWEDEN)
Message: 97469
Hi, im trying to add the simple-gpio.c driver to linux kernel and I follow the guide in docs.blackfin.uclinux.org/doku.php?id=basic_driver_configure_and_build
But when i compile i get the error:
/opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/bin/ld.real: drivers/char/test/built-in.o: No such file: No such file or directory
make[3]: *** [drivers/char/built-in.o] Error 1
make[2]: *** [drivers/char] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `blackfin-linux-dist/linux-2.6.x'
make: *** [linux] Error 1
What is built-in.o and how do i get it?
QuoteReplyEditDelete
2011-01-15 15:55:56 Re: drivers/char/test/built-in.o: No such file: No such file or directory
Mike Frysinger (UNITED STATES)
Message: 97470
use the GPIO sysfs driver:
docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:gpio-sysfs
QuoteReplyEditDelete
2011-01-16 09:23:28 Re: drivers/char/test/built-in.o: No such file: No such file or directory
Carl Berglund (SWEDEN)
Message: 97474
Thanks, that works great.
But why doesn't the other driver work?
And what is the difference between devices in /dev and /sys?
QuoteReplyEditDelete
2011-01-16 12:22:09 Re: drivers/char/test/built-in.o: No such file: No such file or directory
Mike Frysinger (UNITED STATES)
Message: 97478
there is probably a bug in the way you tried to integrate the code
/dev is a bunch of device nodes manually managed while /sys is a pseudo filesystem generated on the fly