[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030224: Problem with compiling ldm-6.0.0.18



>From: Harry Edmon <address@hidden>
>Organization: University of Washington
>Keywords: 200302242142.h1OLgOt05470 LDM 6.0.0.18

Hi Harry,

>I tried to compile ldm-6.0.0.18 under Linux, and I got the following:

Yup, we know that both 6.0.0.17 and 6.0.0.18 have build problems.  The
best release candidate to use right now is 6.0.0.16.  Steve will be
working on a new release candidate as soon as he recovers enough from
an illness to return to work.  This should be tomorrow.

>gcc -g  -DHAVE_CONFIG_H -c -o regex.o regex.c
>In file included from regex.c:8:
>/usr/include/regex.h:357: parse error before `size_t'
>/usr/include/regex.h:357: warning: no semicolon at end of struct or union
>/usr/include/regex.h:364: parse error before `:'
>/usr/include/regex.h:373: parse error before `:'
>/usr/include/regex.h:377: parse error before `:'
>/usr/include/regex.h:381: parse error before `:'
>/usr/include/regex.h:385: parse error before `:'
>/usr/include/regex.h:388: parse error before `:'
>/usr/include/regex.h:391: parse error before `:'
>/usr/include/regex.h:455: parse error before `size_t'
>/usr/include/regex.h:543: parse error before `size_t'
>/usr/include/regex.h:547: parse error before `regerror'
>/usr/include/regex.h:548: parse error before `size_t'
>/usr/include/regex.h:548: warning: data definition has no type or storage clas
> s
>regex.c: In function `main':
>regex.c:99: storage size of `regExp' isn't known
>make[2]: *** [regex.o] Error 1
>make[2]: Leaving directory `/usr/local/ldm/ldm-6.0.0.18/src/regex'
>make[1]: *** [subdir_target] Error 1
>make[1]: Leaving directory `/usr/local/ldm/ldm-6.0.0.18/src'
>make: *** [regex/all] Error 2
>rm ldm_version.o
>
>This can be fixed by adding:
>
>#include <sys/types.h>
>
>in regex.c in front of
>
>#include <regex.h>
>
>-- 
> Dr. Harry Edmon                       E-MAIL: address@hidden
> 206-543-0547                                  address@hidden
> Dept of Atmospheric Sciences          FAX:    206-543-0308
> University of Washington, Box 351640, Seattle, WA 98195-1640

Tom