- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gentoo, kernel vanilla-sources-3.8.13, sh -> dash. When I run
/opt/intel/vtune_amplifier_xe/sepdk/src $ sudo ./build-driver
I get this error:
In file included from /opt/intel/vtune_amplifier_xe_2015.3.0.403110/sepdk/src/vtsspp/vtss_config.h:31:0,
from /opt/intel/vtune_amplifier_xe_2015.3.0.403110/sepdk/src/vtsspp/module.c:28:
/opt/intel/vtune_amplifier_xe_2015.3.0.403110/sepdk/src/vtsspp/vtss_autoconf.h:32:1: error: expected identifier or ‘(’ before ‘-’ token
-n #define
^
/opt/intel/vtune_amplifier_xe_2015.3.0.403110/sepdk/src/vtsspp/vtss_autoconf.h:32:4: error: stray ‘#’ in program
-n #define
^
/opt/intel/vtune_amplifier_xe_2015.3.0.403110/sepdk/src/vtsspp/vtss_autoconf.h:35:4: error: stray ‘#’ in program
-n #define
^
and many more. Upon inspecting vtss_config.h I find this:
28 #ifndef CONFIG_RING_BUFFER
29 #error "The kernel should be compiled with CONFIG_RING_BUFFER=y"
30 #endif /* CONFIG_RING_BUFFER */
31
32 -n #define
33 _N VTSS_AUTOCONF_CPUMASK_PARSELIST_USER
34 1
35 -n #define
36 _N VTSS_AUTOCONF_DPATH_PATH
Upon switching sh -> bash, the build is fine. I don't quite understand at this point why this is happening. Line vtsspp/Makefile:180 seems fine even under dash.
nick
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page