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

Error compiling Debian 4.14.71-ti-r80 #7

Open
Collie147 opened this issue Jul 2, 2019 · 2 comments
Open

Error compiling Debian 4.14.71-ti-r80 #7

Collie147 opened this issue Jul 2, 2019 · 2 comments

Comments

@Collie147
Copy link

Got the below when compiling on 4.14.71

debian@beaglebone:/pru/BeagleScope$ sudo make
make[1]: Entering directory '/home/debian/pru/BeagleScope/driver'
make[2]: Entering directory '/usr/src/linux-headers-4.14.71-ti-r80'
CC [M] /home/debian/pru/BeagleScope/driver/dc782a.o
CC [M] /home/debian/pru/BeagleScope/driver/pi-bus.o
/home/debian/pru/BeagleScope/driver/pi-bus.c:99:38: warning: âstruct rpmsg_channelâ declared inside parameter list will not be visible outside of this definition or declaration
static int pi_bus_rpmsg_probe(struct rpmsg_channel *rpdev)
^~~~~~~~~~~~~
/home/debian/pru/BeagleScope/driver/pi-bus.c: In function âpi_bus_rpmsg_probeâ:
/home/debian/pru/BeagleScope/driver/pi-bus.c:105:34: error: dereferencing pointer to incomplete type âstruct rpmsg_channelâ
pibus_pdrv = devm_kzalloc(&rpdev->dev, sizeof(*pibus_pdrv), GFP_KERNEL);
^

/home/debian/pru/BeagleScope/driver/pi-bus.c: At top level:
/home/debian/pru/BeagleScope/driver/pi-bus.c:139:40: warning: âstruct rpmsg_channelâ declared inside parameter list will not be visible outside of this definition or declaration
static void pi_bus_rpmsg_remove(struct rpmsg_channel *rpdev)
^~~~~~~~~~~~~
/home/debian/pru/BeagleScope/driver/pi-bus.c: In function âpi_bus_rpmsg_removeâ:
/home/debian/pru/BeagleScope/driver/pi-bus.c:144:37: error: dereferencing pointer to incomplete type âstruct rpmsg_channelâ
pibus_pdrv = dev_get_drvdata(&rpdev->dev);
^~
/home/debian/pru/BeagleScope/driver/pi-bus.c: At top level:
/home/debian/pru/BeagleScope/driver/pi-bus.c:166:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.probe = pi_bus_rpmsg_probe,
^~~~~~~~~~~~~~~~~~
/home/debian/pru/BeagleScope/driver/pi-bus.c:166:12: note: (near initialization for âpi_bus_rpmsg_driver.probeâ)
/home/debian/pru/BeagleScope/driver/pi-bus.c:167:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = pi_bus_rpmsg_remove,
^~~~~~~~~~~~~~~~~~~
/home/debian/pru/BeagleScope/driver/pi-bus.c:167:13: note: (near initialization for âpi_bus_rpmsg_driver.removeâ)
cc1: some warnings being treated as errors
scripts/Makefile.build:334: recipe for target '/home/debian/pru/BeagleScope/driver/pi-bus.o' failed
make[3]: *** [/home/debian/pru/BeagleScope/driver/pi-bus.o] Error 1
Makefile:1527: recipe for target 'module/home/debian/pru/BeagleScope/driver' failed
make[2]: *** [module/home/debian/pru/BeagleScope/driver] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.14.71-ti-r80'
Makefile:31: recipe for target 'driver' failed
make[1]: *** [driver] Error 2
make[1]: Leaving directory '/home/debian/pru/BeagleScope/driver'
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 2

@jutava
Copy link

jutava commented Jul 17, 2019

I am having the same problem.

@Collie147
Copy link
Author

@jutava I gave up and decided to use BeagleLogic instead.

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