Is the new function that you wrote in its own source file? If you you need to add that file to Makefile.in. Be sure after you do that to re-run configure from the top-level directory so a new "Makefile" will be generated.
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
