Ticket #4033 (closed defect: fixed)
Compile failure on AIX 7.2
Reported by: | dp | Owned by: | andrew_b |
---|---|---|---|
Priority: | major | Milestone: | 4.8.24 |
Component: | mc-core | Version: | 4.8.23 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description (last modified by andrew_b) (diff)
Hi there,
I was unable to compile MC on AIX. The error message is the following:
gmake[2]: Entering directory '/home/dp/rpmbuild/BUILD/mc-4.8.23/src' Making all in filemanager gmake[3]: Entering directory '/home/dp/rpmbuild/BUILD/mc-4.8.23/src/filemanager' CC achown.lo CC boxes.lo CC chmod.lo CC chown.lo CC cmd.lo CC command.lo CC dir.lo CC ext.lo CC file.lo CC filegui.lo In file included from /usr/include/sys/statvfs.h:51, from filegui.c:71: ../../lib/vfs/vfs.h:118:5: error: expected identifier before numeric constant VFS_REMOTE = 1 << 2, ^~~~~~~~~~ gmake[3]: *** [Makefile:602: filegui.lo] Error 1 gmake[3]: Leaving directory '/home/dp/rpmbuild/BUILD/mc-4.8.23/src/filemanager' gmake[2]: *** [Makefile:736: all-recursive] Error 1 gmake[2]: Leaving directory '/home/dp/rpmbuild/BUILD/mc-4.8.23/src' gmake[1]: *** [Makefile:623: all-recursive] Error 1 gmake[1]: Leaving directory '/home/dp/rpmbuild/BUILD/mc-4.8.23' gmake: *** [Makefile:551: all] Error 2
The full log is attached.
Attachments
Change History
comment:1 follow-up: ↓ 2 Changed 5 years ago by andrew_b
- Description modified (diff)
Please show your /usr/include/sys/statvfs.h.
comment:5 follow-up: ↓ 6 Changed 5 years ago by andrew_b
- Status changed from new to accepted
- Owner set to andrew_b
- Branch state changed from no branch to on review
- Milestone changed from Future Releases to 4.8.24
Branch: 4033_aix_vfs_flags
changeset:68d99619776de98790be0bb0107ec3d0b5be151e
Please test.
comment:6 in reply to: ↑ 5 Changed 5 years ago by dp
Replying to andrew_b:
Branch: 4033_aix_vfs_flags
changeset:68d99619776de98790be0bb0107ec3d0b5be151e
Please test.
Please find the new log attached.
comment:7 follow-up: ↓ 8 Changed 5 years ago by andrew_b
In your log I can see something strange starting from line 598:
593 CC event.lo 594 In file included from ../../lib/mcconfig.h:4, 595 from ../../lib/global.h:104, 596 from event.c:29: 597 ../../lib/vfs/vfs.h:1:1: error: expected identifier or '(' before '<' token 598 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 599 ^ 600 ../../lib/vfs/vfs.h:12:6: error: stray '\342' in program 601 Б.. Midnight Commander 602 ^ 603 ../../lib/vfs/vfs.h:12:7: error: stray '\200' in program 604 Б.. Midnight Commander 605 ^ 606 ../../lib/vfs/vfs.h:12:8: error: stray '\223' in program 607 Б.. Midnight Commander 608 ^ 609 ../../lib/vfs/vfs.h:16:13: error: stray '#' in program 610 if (/^#__msie303:/.test(window.location.hash)) 611 ^ 612 ../../lib/vfs/vfs.h:17:64: error: stray '#' in program 613 window.location.replace(window.location.hash.replace(/^#__msie303:/, '#')); 614 ^ 615 ../../lib/vfs/vfs.h:18:5: error: expected identifier or '(' before '<' token 616 </script><![endif]--> 617 ^
How did you do that?
comment:8 in reply to: ↑ 7 Changed 5 years ago by dp
Replying to andrew_b:
In your log I can see something strange starting from line 598:
593 CC event.lo 594 In file included from ../../lib/mcconfig.h:4, 595 from ../../lib/global.h:104, 596 from event.c:29: 597 ../../lib/vfs/vfs.h:1:1: error: expected identifier or '(' before '<' token 598 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 599 ^ 600 ../../lib/vfs/vfs.h:12:6: error: stray '\342' in program 601 Б.. Midnight Commander 602 ^ 603 ../../lib/vfs/vfs.h:12:7: error: stray '\200' in program 604 Б.. Midnight Commander 605 ^ 606 ../../lib/vfs/vfs.h:12:8: error: stray '\223' in program 607 Б.. Midnight Commander 608 ^ 609 ../../lib/vfs/vfs.h:16:13: error: stray '#' in program 610 if (/^#__msie303:/.test(window.location.hash)) 611 ^ 612 ../../lib/vfs/vfs.h:17:64: error: stray '#' in program 613 window.location.replace(window.location.hash.replace(/^#__msie303:/, '#')); 614 ^ 615 ../../lib/vfs/vfs.h:18:5: error: expected identifier or '(' before '<' token 616 </script><![endif]--> 617 ^How did you do that?
Sorry, that was my mistake. I supposed that a raw file is being downloaded if I click on the provided link. I will re-download them and will run the compilation again.
comment:10 Changed 5 years ago by andrew_b
- Votes for changeset set to dp andrew_b
- Branch state changed from on review to approved
comment:11 Changed 5 years ago by andrew_b
- Status changed from accepted to testing
- Votes for changeset changed from dp andrew_b to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
Merged to master: [4f80f621df6efbd46a24586f5e1bd881ffa1eea7].