Ticket #4033 (new defect) — at Version 1

Opened 5 years ago

Last modified 5 years ago

Compile failure on AIX 7.2

Reported by: dp Owned by:
Priority: major Milestone: 4.8.24
Component: mc-core Version: 4.8.23
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset:

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.

Change History

Changed 5 years ago by dp

comment:1 Changed 5 years ago by andrew_b

  • Description modified (diff)

Please show your /usr/include/sys/statvfs.h.

Note: See TracTickets for help on using tickets.