[torqueusers] problem with Altix compile

Garrick Staples garrick at usc.edu
Thu Dec 22 10:57:41 MST 2005

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() {

Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20051222/40790cef/attachment.bin

More information about the torqueusers mailing list