You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by "Jason J. W. Williams" <ja...@gmail.com> on 2013/04/20 00:36:52 UTC

HWLOC_OBJ_PU error building ATS 3.2.4 on Ubuntu 10.04.4

Has anyone run into the following error building ATS 3.2.4 on Ubuntu 10.04?

ink_defs.cc: In function 'int ink_number_of_processors()':
ink_defs.cc:121: error: 'HWLOC_OBJ_PU' was not declared in this scope

I have both  libhwloc-dev and libhwloc-common installed. Thank you in advance.

-J

Re: HWLOC_OBJ_PU error building ATS 3.2.4 on Ubuntu 10.04.4

Posted by "Jason J. W. Williams" <ja...@gmail.com>.
Sure. There's no configure error. It's at compile time. 

Sent via iPhone

Is your email Premiere?

On Apr 20, 2013, at 11:12, Igor Galić <i....@brainsware.org> wrote:

> 
> 
> ----- Original Message -----
>> Yeah that's exactly the problem. My hwloc doesn't have it defined.
>> Disabling hwloc on build fixed it.
> 
> Could you please open an issue in our Jira identifying your hwloc
> version (and your platform in general), as well as the ./configure
> error, so we can check for it and fix it.
> 
>   https://issues.apache.org/jira/browse/TS
> 
> -- i
> Igor Galić
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Re: HWLOC_OBJ_PU error building ATS 3.2.4 on Ubuntu 10.04.4

Posted by Igor Galić <i....@brainsware.org>.

----- Original Message -----
> Yeah that's exactly the problem. My hwloc doesn't have it defined.
> Disabling hwloc on build fixed it.

Could you please open an issue in our Jira identifying your hwloc
version (and your platform in general), as well as the ./configure
error, so we can check for it and fix it.

   https://issues.apache.org/jira/browse/TS

-- i
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Re: HWLOC_OBJ_PU error building ATS 3.2.4 on Ubuntu 10.04.4

Posted by "Jason J. W. Williams" <ja...@gmail.com>.
Yeah that's exactly the problem. My hwloc doesn't have it defined. Disabling hwloc on build fixed it. 

-J

Sent via iPhone

Is your email Premiere?

On Apr 20, 2013, at 3:18, Igor Galić <i....@brainsware.org> wrote:

> 
> 
> ----- Original Message -----
>> Has anyone run into the following error building ATS 3.2.4 on Ubuntu
>> 10.04?
>> 
>> ink_defs.cc: In function 'int ink_number_of_processors()':
>> ink_defs.cc:121: error: 'HWLOC_OBJ_PU' was not declared in this scope
>> 
>> I have both  libhwloc-dev and libhwloc-common installed. Thank you in
>> advance.
> 
> 
> HWLOC_OBJ_PU is defined as:
> 
> #define HWLOC_OBJ_PU HWLOC_NAME_CAPS(OBJ_PU)
> 
> /usr/include/hwloc/rename.h -- in my libhwloc-dev 1.4.1-4 (Ubuntu 12.10)
> maybe this is an older version of hwloc, maybe we need to take care of that..
> 
>> -J
> 
> -- i
> Igor Galić
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Re: HWLOC_OBJ_PU error building ATS 3.2.4 on Ubuntu 10.04.4

Posted by Igor Galić <i....@brainsware.org>.

----- Original Message -----
> Has anyone run into the following error building ATS 3.2.4 on Ubuntu
> 10.04?
> 
> ink_defs.cc: In function 'int ink_number_of_processors()':
> ink_defs.cc:121: error: 'HWLOC_OBJ_PU' was not declared in this scope
> 
> I have both  libhwloc-dev and libhwloc-common installed. Thank you in
> advance.


HWLOC_OBJ_PU is defined as:

#define HWLOC_OBJ_PU HWLOC_NAME_CAPS(OBJ_PU)

/usr/include/hwloc/rename.h -- in my libhwloc-dev 1.4.1-4 (Ubuntu 12.10)
maybe this is an older version of hwloc, maybe we need to take care of that..

> -J
> 

-- i
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE