I'm sorry. I overlooked your statement before that you added the function to pvfs2-server.c. The separation of the code into logically-related modules prevents you from calling a function in pvfs2-server.c from dbpf-keyval.c. The trove implementation is very low-level code that is designed to be usable with things other than OrangeFS/PVFS2. Depending on what your function is designed to do, perhaps it could be moved to the trove module?
Thanks, Elaine 2011/9/5 欧佳欣 <[email protected]> > In orangefs-2.8.3-EXP, I write a new function in > src/server/pvfs2-server.c, and now I just want to call it in > src/io/trove/trove-dbpf/dbpf-keyval.c, but I can not implement it > successfully.when I try to compile the new code,I got some errors,just as > follows: > > /usr/src/orangefs_exp_x/lib/libpvfs2-server.a(dbpf-keyval-server.o): In > function `dbpf_keyval_iterate_op_svc': > /usr/src/orangefs_exp_x/src/io/trove/trove-dbpf/dbpf-keyval.c:1828: > undefined reference to `server_post_opt_array_op' > collect2: ld returned 1 exit status > make: *** [src/apps/admin/pvfs2-mkspace] Error 1 > > So what should I do ? should I need to change the Makefile.in? > > _______________________________________________ > Pvfs2-developers mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers > >
_______________________________________________ Pvfs2-developers mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
