[LU-5448] Compilation without libreadline broken by LU-5418 Created: 04/Aug/14 Updated: 07/Aug/14 Resolved: 07/Aug/14 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Patrick Farrell (Inactive) | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 6.5, latest master. |
||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 15166 | ||||||||||||
| Description |
|
The two void declarations added by Are not used if HAVE_LIBREADLINE is not defined, which results in a compilation error: cc1: warnings being treated as errors Fix is easy, just wrap those declarations in #ifdef HAVE_LIBREADLINE. Patch coming momentarily. |
| Comments |
| Comment by Bob Glossman (Inactive) [ 04/Aug/14 ] |
|
patch is already in flight: http://review.whamcloud.com/#/c/11252 |
| Comment by Bob Glossman (Inactive) [ 04/Aug/14 ] |
|
as a workaround, just install the readline-devel rpm. with that installed HAVE_LIBREADLINE gets #define'd and the noop routines get used. |
| Comment by Patrick Farrell (Inactive) [ 04/Aug/14 ] |
| Comment by Patrick Farrell (Inactive) [ 04/Aug/14 ] |
|
Whoops - Thanks, Bob. I searched but didn't find your ticket, obviously. Nevermind, then. I'll abandon the patch. |