On Sat, Nov 17, 2012 at 3:29 AM, Chen Baozi <baozich@xxxxxxxxx> wrote: > Hi, everyone. > > I was tring to build the latest ceph tree on my fedora 17 box. > However, there is an error message when linking radosgw as following: > > CXXLD radosgw > /usr/bin/ld: radosgw-rgw_resolve.o: undefined reference to symbol > '__res_nquery@@GLIBC_2.2.5' > /usr/bin/ld: note: '__res_nquery@@GLIBC_2.2.5' is defined in DSO > /lib64/libresolv.so.2 so try adding it to the linker command line > /lib64/libresolv.so.2: could not read symbols: Invalid operation > collect2: error: ld returned 1 exit status > make[3]: *** [radosgw] Error 1 > make[3]: Leaving directory `/home/cbz/src/ceph/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/cbz/src/ceph/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/cbz/src/ceph/src' > make: *** [all-recursive] Error 1 > > I've also tried build the version 0.53 which is checked out from > fedora's pkg repo. And it can pass the building process without this > error. > > Any suggestion? Linking with libresolv failed. Garry, any idea? Yehuda -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html