Bug 9785 - lms7 fails to build
Summary: lms7 fails to build
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.2
Assignee: Jianxun Zhang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-06-16 13:11 UTC by Ross Burton
Modified: 2016-07-06 17:10 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2016-06-16 13:11:52 UTC
This looks exactly like bug 9640 for lms8:

| ../../lms-7.1.20/src/Protocol.cpp: In member function 'int Protocol::_handleFQDNChange(const char*)':
| ../../lms-7.1.20/src/Protocol.cpp:1443:176: error: unable to find string literal operator 'operator""a' with 'const char [43]', 'long unsigned int' arguments
|  #define LMS_LINE_SCAN_FORMAT_IPV4 "127.0.0.1 %" lmsstr(FQDN_MAX_SIZE) "s %" lmsstr(FQDN_MAX_SIZE) "s " LMS_LINE_SIG_FIRST_WORDS("IPv4") "%" lmsstr(LMS_LINE_SIG_LAST_WORD_LEN) "c"
|                                                                                                                                                                                 ^
| ../../lms-7.1.20/src/Protocol.cpp:1483:26: note: in expansion of macro 'LMS_LINE_SCAN_FORMAT_IPV4'
|        (3 == sscanf(line, LMS_LINE_SCAN_FORMAT_IPV4, oldFqdn, host, tmpsige))
|                           ^~~~~~~~~~~~~~~~~~~~~~~~~
| ../../lms-7.1.20/src/Protocol.cpp:1444:176: error: unable to find string literal operator 'operator""a' with 'const char [43]', 'long unsigned int' arguments
|  #define LMS_LINE_SCAN_FORMAT_IPV6 "::1       %" lmsstr(FQDN_MAX_SIZE) "s %" lmsstr(FQDN_MAX_SIZE) "s " LMS_LINE_SIG_FIRST_WORDS("IPv6") "%" lmsstr(LMS_LINE_SIG_LAST_WORD_LEN) "c"
|                                                                                                                                                                                 ^
| ../../lms-7.1.20/src/Protocol.cpp:1497:26: note: in expansion of macro 'LMS_LINE_SCAN_FORMAT_IPV6'
|        (3 == sscanf(line, LMS_LINE_SCAN_FORMAT_IPV6, oldFqdn, host, tmpsige))
|                           ^~~~~~~~~~~~~~~~~~~~~~~~~
| ../../lms-7.1.20/src/Protocol.cpp:1545:38: error: unable to find string literal operator 'operator""a' with 'const char [45]', 'long unsigned int' arguments
|     fprintf(ofp, LMS_LINE_FORMAT_IPV4 "\n", fqdn, host);
|                                       ^~~~
| ../../lms-7.1.20/src/Protocol.cpp:1547:38: error: unable to find string literal operator 'operator""a' with 'const char [45]', 'long unsigned int' arguments
|     fprintf(ofp, LMS_LINE_FORMAT_IPV6 "\n", fqdn, host);
|                                       ^~~~
| Makefile:525: recipe for target 'Protocol.o' failed
Comment 1 Jianxun Zhang 2016-06-28 18:03:36 UTC
Patch has been submitted to meta-intel for review.
Comment 2 Jianxun Zhang 2016-07-06 17:10:49 UTC
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=bf43f7abf66f0a91ee07969dcde47bedc881a614

patch is merged into meta-intel. Mark as resolved.