[torqueusers] problem with Altix compile

Steve Young chemadm at hamilton.edu
Tue Jan 3 12:52:02 MST 2006


Yea I am thinking something has gone wrong. When we just got our 32cpu
Altix, the tech upgraded the propacks on the other two. I am beginning
to think something went wrong in the upgrade. Thanks again for the help.
I'll let you know what I find out after re-installing these packages. 

[root at kilburn bits]# rpm -V glibc-headers glibc-devel
Unsatisfied dependencies for glibc-headers-2.3.2-95.33sgi306r1: kernel-
headers, kernel-headers >= 2.2.1
[root at kilburn bits]#

-Steve

On Tue, 2006-01-03 at 20:29 +0100, Tore H. Larsen wrote:
> Steve Young wrote:
> 
> >Jeroen,
> >	Well so far I still haven't gotten this to work. I tried the other
> >example of switching the os_defines.h and I get an error right away:
> >
> >Making all in Libattr
> >make[3]: Entering directory `/usr/local/src/Original/torque-2.0.0p4-
> >altix/src/lib/Libattr'make[4]: Entering directory
> >`/usr/local/src/Original/torque-2.0.0p4-altix/src/lib/Libattr'gcc -g -
> >I../../../src/include -I../../../src/include -DHAVE_CONFIG_H -c
> >uLTostr.c
> >In file included from /usr/include/errno.h:36,
> >                 from ../../../src/include/Long_.h:85,
> >                 from uLTostr.c:84:
> >/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or
> >directory
> >  
> >
> Yes, you are lacking errno.h
> 
> >[root at kilburn torque-2.0.0p4-altix]# rpm -qa | grep glibc
> >glibc-devel-2.3.2-95.33sgi306r1
> >glibc-profile-2.3.2-95.33sgi306r1
> >glibc-headers-2.3.2-95.33sgi306r1
> >  
> >
> ?
> 
> [torel at tomahawk ~]$ rpm -qf /usr/include/bits/errno.h
> glibc-headers-2.3.2-95.33sgi306r1
> [torel at tomahawk ~]$ rpm -qf /usr/include/errno.h
> glibc-headers-2.3.2-95.33sgi306r1
> 
> Try reinstalling glibc-headers.
> 
> --Tore
> 
> 
> 
> >On Mon, 2006-01-02 at 21:18 +1100, Jeroen van den Muyzenberg wrote:
> >  
> >
> >>Hi Steve,
> >>
> >>If this is truly happening "out of the box", then you should be talking
> >>to SGI rather than this forum.
> >>
> >>Jeroen
> >>
> >>
> >>
> >>On Thu, 29 Dec 2005, Walter de Jong wrote:
> >>
> >>    
> >>
> >>>Hi,
> >>>
> >>>The short example program does compile on our Altix.
> >>>It runs ProPack 3 SP6, limits.h is in the package
> >>>glibc-headers-2.3.2-95.33sgi306r1
> >>>
> >>>So for PP4, look for a package named glibc-headers.
> >>>
> >>>(By the way, it gives _POSIX_PATH_MAX is 256, where I expected it to be
> >>>1024 or more. Ah well.)
> >>>
> >>>Greets,
> >>>
> >>>   --Walter
> >>>
> >>>
> >>>
> >>>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
> >>>>
> >>>>
> >>>> 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
> >
> >  
> >
> 
> 
> -- 
> Tore H. Larsen                   | Switch:  +47 55 21 80 00
> Silicon Graphics AS              | Bus.fax: +47 55 21 80 01
> Bergen - Norway                  | Phone:   +47 55 21 80 14
> Technical Support Engineer       | Cellul:  +47 918 33 670  V-net:
> SGI Global Services Organization | E-mail:  torel at sgi.com   736-8014
>                                  | Skype id: torehlarsen
> ----------------------------------------------------------
> http://www.sgi.com/products/servers/altix/4000/
> ----------------------------------------------------------
>  * Altix               : http://www.sgi.com/servers/altix
>  * Storage             : http://www.sgi.com/products/storage
>  * Servers             : http://www.sgi.com/servers
>  * Visualization       : http://www.sgi.com/visualization
>  * Supportfolio Online : http://support.sgi.com
>  * Documentation       : http://techpubs.sgi.com
>  * Freeware            : http://freeware.sgi.com
>  * Download Software   : http://www.sgi.com/products/evaluation
> 



More information about the torqueusers mailing list