# Make hwloc error with pbspro-14.0.1

**URL:** <https://community.openpbs.org/t/make-hwloc-error-with-pbspro-14-0-1/205>\
**Category:** Users/Site Administrators\
**Created:** [August 10, 2016, 10:05am UTC](https://community.openpbs.org/t/make-hwloc-error-with-pbspro-14-0-1/205 "2016-08-10T10:05:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ciknife](https://avatars.discourse-cdn.com/v4/letter/c/57b2e6/32.png) [@ciknife](https://community.openpbs.org/u/ciknife)\
**Post date:** [August 10, 2016, 10:05am UTC](https://community.openpbs.org/t/make-hwloc-error-with-pbspro-14-0-1/205/1 "2016-08-10T10:05:26Z")

</div>

/root/pbspro/src/resmom/mom\_main.c:10623: undefined reference to `hwloc_free_xmlbuffer' /root/pbspro/src/resmom/mom_main.c:10603: undefined reference to`hwloc\_free\_xmlbuffer’  
collect2: ld returned 1 exit status  
make[2]: \*\*\* [pbs\_mom] Error 1  
make[2]: Leaving directory `/root/pbspro/src/resmom' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory`/root/pbspro/src’  
make: \*\*\* [all-recursive] Error 1  
[root@pbspro-node01 local]# rpm -qa |grep hwloc  
hwloc-1.5-2.el6\_5.x86\_64  
hwloc-devel-1.5-2.el6\_5.x86\_64

---

<div class="post-metadata">

**Author:** ![mkaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mkaro/32/85_2.png) [@mkaro](https://community.openpbs.org/u/mkaro)\
**Post date:** [August 10, 2016, 5:10pm UTC](https://community.openpbs.org/t/make-hwloc-error-with-pbspro-14-0-1/205/2 "2016-08-10T17:10:39Z")

</div>

The systems I typically use for testing utilize hwloc-devel 1.7 and 1.11. Which OS are you running, and what version?

---

<div class="post-metadata">

**Author:** ![ciknife](https://avatars.discourse-cdn.com/v4/letter/c/57b2e6/32.png) [@ciknife](https://community.openpbs.org/u/ciknife)\
**Post date:** [August 11, 2016, 5:08pm UTC](https://community.openpbs.org/t/make-hwloc-error-with-pbspro-14-0-1/205/3 "2016-08-11T17:08:24Z")

</div>

[root@pbspro-node01 ~]# cat /etc/redhat-release  
CentOS release 6.6 (Final)  
[root@pbspro-node01 ~]# rpm -qa |grep kernel  
kernel-headers-2.6.32-504.el6.x86\_64  
kernel-firmware-2.6.32-504.el6.noarch  
dracut-kernel-004-356.el6.noarch  
kernel-2.6.32-504.el6.x86\_64  
Which OS are you running？

---

<div class="post-metadata">

**Author:** ![mkaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mkaro/32/85_2.png) [@mkaro](https://community.openpbs.org/u/mkaro)\
**Post date:** [August 11, 2016, 5:27pm UTC](https://community.openpbs.org/t/make-hwloc-error-with-pbspro-14-0-1/205/4 "2016-08-11T17:27:17Z")

</div>

The version of hwloc you are using is labeled as “stone age” according to this page: [https://www.open-mpi.org/software/hwloc/ancient/](https://www.open-mpi.org/software/hwloc/ancient/)

You could try installing a more modern version in /usr/local and specify the --with-hwloc parameter on your PBS Pro configure line. You may download the current stable release here: [https://www.open-mpi.org/software/hwloc/v1.11/](https://www.open-mpi.org/software/hwloc/v1.11/)

You might also consider upgrading to a more recent version of CentOS.

---

<div class="post-metadata">

**Author:** ![ciknife](https://avatars.discourse-cdn.com/v4/letter/c/57b2e6/32.png) [@ciknife](https://community.openpbs.org/u/ciknife)\
**Post date:** [August 17, 2016, 9:43am UTC](https://community.openpbs.org/t/make-hwloc-error-with-pbspro-14-0-1/205/5 "2016-08-17T09:43:58Z")

</div>

update CENTOS6.7  
[root@pbspro-centos6 SPECS]# cat /etc/redhat-release  
CentOS release 6.7 (Final)  
[root@pbspro-centos6 SPECS]# rpm -qa |grep kernel  
kernel-firmware-2.6.32-573.el6.noarch  
kernel-headers-2.6.32-573.el6.x86\_64  
dracut-kernel-004-388.el6.noarch  
kernel-2.6.32-573.el6.x86\_64  
[root@pbspro-centos6 SPECS]# rpm -qa |grep hwloc  
hwloc-1.5-3.el6\_5.x86\_64  
hwloc-devel-1.5-3.el6\_5.x86\_64  
[root@pbspro-centos6 SPECS]# rpmbuild -ba pbspro.spec  
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。  
Requires(interp): /bin/sh /bin/sh /bin/sh  
Requires(rpmlib): rpmlib(CompressedFileNames) \<= 3.0.4-1 rpmlib(FileDigests) \<= 4.6.0-1 rpmlib(PartialHardlinkSets) \<= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) \<= 4.0-1  
Requires(post): /bin/sh  
Requires(preun): /bin/sh  
Requires(postun): /bin/sh  
Requires: /bin/bash /bin/false /bin/sh /usr/bin/env /usr/bin/perl libX11.so.6()(64bit) libXft.so.2()(64bit) libXrender.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC\_2.2.5)(64bit) libc.so.6(GLIBC\_2.3)(64bit) libc.so.6(GLIBC\_2.3.2)(64bit) libc.so.6(GLIBC\_2.3.4)(64bit) libc.so.6(GLIBC\_2.7)(64bit) libc.so.6(GLIBC\_2.9)(64bit) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC\_2.2.5)(64bit) libedit.so.0()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libm.so.6()(64bit) libncurses.so.5()(64bit) libpbs.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC\_2.2.5)(64bit) libpython2.6.so.1.0()(64bit) [libtcl8.5.so](http://libtcl8.5.so)()(64bit) [libtk8.5.so](http://libtk8.5.so)()(64bit) libutil.so.1()(64bit) perl(Env) perl(Switch) perl(strict) rtld(GNU\_HASH)  
Conflicts: pbspro-server pbspro-execution pbspro-client-ohpc pbspro-execution-ohpc pbspro-server-ohpc pbs pbs-mom pbs-cmds  
Processing files: pbspro-debuginfo-14.0.1-0.x86\_64  
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/pbspro-14.0.1-0.x86\_64  
error: Installed (but unpackaged) file(s) found:  
/usr/lib/systemd/system/pbs.service

RPM build errors:  
File listed twice: /opt/pbs/sbin/pbs\_iff  
File listed twice: /opt/pbs/sbin/pbs\_rcp  
File listed twice: /opt/pbs/sbin/pbs\_iff  
File listed twice: /opt/pbs/sbin/pbs\_rcp  
File listed twice: /opt/pbs/sbin/pbs\_iff  
Installed (but unpackaged) file(s) found:  
/usr/lib/systemd/system/pbs.service

---

<div class="post-metadata">

**Author:** ![mkaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mkaro/32/85_2.png) [@mkaro](https://community.openpbs.org/u/mkaro)\
**Post date:** [August 17, 2016, 2:58pm UTC](https://community.openpbs.org/t/make-hwloc-error-with-pbspro-14-0-1/205/7 "2016-08-17T14:58:46Z")

</div>

Please note that CentOS 6.7 is deprecated: [http://mirror.atlantic.net/centos/6.7/readme](http://mirror.atlantic.net/centos/6.7/readme)

I have recently built the master branch under CentOS 7.2 without encountering any problems. I highly recommend you upgrade to a more recent version of CentOS. If you still encounter problems, we will endeavor to fix them.
