Dave: Today, we have fixed the problem when compiling on newer versions of glibcand ofs_cp.c After we run our development branch through our regression tests and all is successful, I will notify you. If you'd like, you can grab this version, which is 2.9.2 with only these changes, and try it on your machine.
Have a great weekend! Becky On Fri, Jun 12, 2015 at 4:04 PM, Becky Ligon <[email protected]> wrote: > Dave: > > Argument processing for "open" has recently changed in glibc, allowing > only one additional argument beyond pathname and flags. Older versions > allowed for any number of arguments. So, for now, ofs_cp will only > compile on older versions, until a new approach is devised. Compatible > glibc libraries are: > > glibc-2.12-1.32.el6_5.4 > glibc-2.12-1.149.el6_6.7 > glibc-2.17-78.el7 > > On Fri, Jun 12, 2015 at 2:33 PM, Becky Ligon <[email protected]> wrote: > >> 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
