[ 
https://issues.apache.org/jira/browse/TS-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644617#comment-13644617
 ] 

ASF subversion and git services commented on TS-1843:
-----------------------------------------------------

Commit 7e417c4712e36c9c38cf60b98783b24ad2a1c4f3 in branch refs/heads/master 
from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=7e417c4 ]

TS-1843: detect and link libhwloc on Ubuntu

Fix the hwloc-enabled build on current and older Ubuntu releases.
This requires explicitly testing for the HWLOC_OBJ_PU symbol, and
using pkg-cofig to find the correct build options.

                
> Building ATS 3.2.4 on Ubuntu 10.04.4 LTS fails on make due to hwloc.
> --------------------------------------------------------------------
>
>                 Key: TS-1843
>                 URL: https://issues.apache.org/jira/browse/TS-1843
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Ubuntu 10.04
>            Reporter: Jason J. W. Williams
>            Assignee: James Peach
>             Fix For: 3.3.3
>
>
> Building ATS 3.2.4 on Ubuntu 10.04.4 (AMD64) successfully completes 
> ./configure, but on "make" errors out:
> ink_defs.cc: In function 'int ink_number_of_processors()':
> ink_defs.cc:121: error: 'HWLOC_OBJ_PU' was not declared in this scope
> This because HWLOC_OBJ_PU is not present in the hwloc version installed by 
> Ubuntu 10.04.4:
> http://packages.ubuntu.com/lucid/libhwloc-dev
> Workaround is to configure with --disable-hwloc

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to