Dave: To get around this issue until it is resolved, remove "$(DIR)/ofs_cp.c \" from the module.mk file located in src/apps/user. This way you should be able to build the rest of your system, unless other errors emerge.
Becky On Fri, Jun 12, 2015 at 2:12 PM, Becky Ligon <[email protected]> wrote: > Dave: > > I can successfully build ofs_cp when I configure and make the system from > the downloaded tarball on SL 6.6 and CentOS 7.1. Can you give me more > details on your operating environment? > > Thanks, > Becky > > On Fri, Jun 12, 2015 at 7:01 AM, Dave Love <[email protected]> wrote: > >> I'm puzzled how it builds anywhere: >> >> CC src/apps/user/ofs_cp.o >> src/apps/user/ofs_cp.c: In function 'main': >> src/apps/user/ofs_cp.c:172: warning: ignoring return value of 'getcwd', >> declared with attribute warn_unused_result >> src/apps/user/ofs_cp.c:196: warning: ignoring return value of 'getcwd', >> declared with attribute warn_unused_result >> src/apps/user/ofs_cp.c:226: warning: ignoring return value of 'getcwd', >> declared with attribute warn_unused_result >> src/apps/user/ofs_cp.c: In function 'parse_args': >> src/apps/user/ofs_cp.c:555: warning: ignoring return value of 'getcwd', >> declared with attribute warn_unused_result >> In file included from /usr/include/fcntl.h:265, >> from src/apps/user/ofs_cp.c:20: >> In function 'open', >> inlined from 'copy_file' at src/apps/user/ofs_cp.c:374: >> /usr/include/bits/fcntl2.h:45: error: call to '__open_too_many_args' >> declared with attribute error: open can be called either with 2 or 3 >> arguments, not more >> make: *** [src/apps/user/ofs_cp.o] Error 1 >> >> Was this intended? (I can't currently test the resulting build.) >> >> >> _______________________________________________ >> Pvfs2-users mailing list >> [email protected] >> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users >> >> >
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
