Comments (5)
from connectal.
Hello!
Now I get the following error:
dmitry@ubuntu:~/projects/connectal$ make all
(cd drivers/pcieportal; make)
make[1]: Entering directory '/home/dmitry/projects/connectal/drivers/pcieportal'
md5sum *.c ../../generated/cpp/*.c | grep -v mod.c | sed -f ../../scripts/driver_signature.sed >pcieportal_signature_file.h
make[2]: Entering directory '/usr/src/linux-headers-4.10.0-33-generic'
CC [M] /home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.o
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c: In function ‘pcieportal_init’:
<command-line>:0:16: error: implicit declaration of function ‘KBUILD_STR’ [-Werror=implicit-function-declaration]
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c:814:87: note: in expansion of macro ‘DRIVER_VERSION’
N_INFO "%s: Registered Connectal Pcieportal driver %s\n", DEV_NAME, DRIVER_VERS
^
<command-line>:0:27: error: too many decimal points in number
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c:814:87: note: in expansion of macro ‘DRIVER_VERSION’
N_INFO "%s: Registered Connectal Pcieportal driver %s\n", DEV_NAME, DRIVER_VERS
^
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c: In function ‘pcieportal_exit’:
<command-line>:0:27: error: too many decimal points in number
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c:838:89: note: in expansion of macro ‘DRIVER_VERSION’
INFO "%s: Unregistered Connectal Pcieportal driver %s\n", DEV_NAME, DRIVER_VERS
^
In file included from ./include/linux/module.h:18:0,
from /home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c:26:
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c: At top level:
<command-line>:0:16: error: expected ‘,’ or ‘;’ before ‘KBUILD_STR’
./include/linux/moduleparam.h:23:26: note: in definition of macro ‘__MODULE_INFO’
= __stringify(tag) "=" info
^
./include/linux/module.h:237:34: note: in expansion of macro ‘MODULE_INFO’
#define MODULE_VERSION(_version) MODULE_INFO(version, _version)
^
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c:854:1: note: in expansion of macro ‘MODULE_VERSION’
MODULE_VERSION(DRIVER_VERSION);
^
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c:854:16: note: in expansion of macro ‘DRIVER_VERSION’
MODULE_VERSION(DRIVER_VERSION);
^
<command-line>:0:27: error: too many decimal points in number
./include/linux/moduleparam.h:23:26: note: in definition of macro ‘__MODULE_INFO’
= __stringify(tag) "=" info
^
./include/linux/module.h:237:34: note: in expansion of macro ‘MODULE_INFO’
#define MODULE_VERSION(_version) MODULE_INFO(version, _version)
^
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c:854:1: note: in expansion of macro ‘MODULE_VERSION’
MODULE_VERSION(DRIVER_VERSION);
^
/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.c:854:16: note: in expansion of macro ‘DRIVER_VERSION’
MODULE_VERSION(DRIVER_VERSION);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:301: recipe for target '/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.o' failed
make[3]: *** [/home/dmitry/projects/connectal/drivers/pcieportal/pcieportal.o] Error 1
Makefile:1524: recipe for target '_module_/home/dmitry/projects/connectal/drivers/pcieportal' failed
make[2]: *** [_module_/home/dmitry/projects/connectal/drivers/pcieportal] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-33-generic'
Makefile:38: recipe for target 'pcieportal.ko' failed
make[1]: *** [pcieportal.ko] Error 2
make[1]: Leaving directory '/home/dmitry/projects/connectal/drivers/pcieportal'
Makefile:32: recipe for target 'pciedrivers' failed
make: *** [pciedrivers] Error 2
from connectal.
I installed the 4.10 hwe kernel so I can debug this.
from connectal.
Commit 0444c3d fixes the build. I have not had a chance to test it yet.
from connectal.
I packaged this as version 17.09.1 -- launchpad is building packages now.
from connectal.
Related Issues (20)
- Adding Connectal Support to DE5 Net Board HOT 4
- Connectal Support for open source bsc compiler HOT 10
- Bypass version mismatch problems in generated Makefile HOT 1
- Simple Amazon AWS EC2 F1 example HOT 16
- Documentation embedded diagrams HOT 3
- write documentation for bsvdepend.py
- Is it possible to support the opensource bsc? HOT 5
- bsvdepend.py fails to find imported package whose name is expanded from macro
- AWS build script should check for credentials before starting the build
- Python 3 support HOT 4
- PCIe drivers fail to compile on Ubuntu 16.04 HOT 3
- PcieHost.bsv fails to build for multiple targets HOT 11
- DataBusWidth=256 support HOT 8
- Error in pcieportal_ioctl function HOT 5
- Error while building for kc705, "recipe for target 'obj/Pcie1EndpointX7.bo' failed" HOT 4
- error while running "make run.kc705g2" HOT 9
- ERROR: could not insert 'portalmem' HOT 2
- support the bitwidth calculation of decimal number scoped enumeration HOT 5
- Problem while building for zedboard HOT 2
- obsolete bsc version checking bug in `scripts/Makefile.connectal.build` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectal.