[torqueusers] problem with Altix compile

Tore H. Larsen torel at sgi.com
Thu Dec 29 13:17:25 MST 2005


Steve Young wrote:

>Hello, 
>	I hope all had a nice holiday. Anyhow, I still seem to have this issue
>with my Altix's. I have 3 of them out of the box from SGI. They all have
>the same problem. I tried compiling the below program and it also does
>the same thing. So it looks like I am missing some package in order to
>compile this? Any idea's what I should look for? Thanks,
>  
>
Steve,
       try to replace os_defines.h with [1].    Just compiled 2.0.0p4
with default gcc 3.2.3-47  without problems once os_defines.h was
replaced.   Also compiled it with gcc on ProPack 4 SP3. No problems.

I'll try Intel C++ 9 later.

Refs: 
[1]
http://www.intel.com/software/products/compilers/downloads/os_defines.h.90
[2] /usr/include/c++/3.2.3/ia64-redhat-linux/bits/os_defines.h
[3] http://www.clusterresources.com/downloads/torque/torque-2.0.0p4.tar.gz

--Tore

>-Steve
>
>
>On Thu, 2005-12-22 at 09:57 -0800, Garrick Staples wrote:
>  
>
>>On Wed, Dec 21, 2005 at 04:05:07PM -0500, Chemistry System Admin alleged:
>>    
>>
>>>gcc -g -I../../../src/include -I../../../src/include -DHAVE_CONFIG_H -c
>>>pbs_log.c
>>>pbs_log.c:114: `_POSIX_PATH_MAX' undeclared here (not in a function)
>>>pbs_log.c: In function `log_open':
>>>pbs_log.c:181: `_POSIX_PATH_MAX' undeclared (first use in this function)
>>>pbs_log.c:181: (Each undeclared identifier is reported only once
>>>pbs_log.c:181: for each function it appears in.)
>>>pbs_log.c: At top level:
>>>pbs_log.c:114: storage size of `log_directory' isn't known
>>>make[4]: *** [pbs_log.o] Error 1
>>>      
>>>
>>So the following program won't build?  If not, something is broken with
>>your system's header files.
>>
>>#include <stdio.h>
>>#include <limits.h>
>>
>>int main() {
>>  printf("%d\n",_POSIX_PATH_MAX);
>>}
>>
>>_______________________________________________
>>torqueusers mailing list
>>torqueusers at supercluster.org
>>http://www.supercluster.org/mailman/listinfo/torqueusers
>>    
>>
>
>_______________________________________________
>torqueusers mailing list
>torqueusers at supercluster.org
>http://www.supercluster.org/mailman/listinfo/torqueusers
>



More information about the torqueusers mailing list