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

19981223: Re: installation problems: AIX 3.2: nc_test failure



Dear Kueh Mien-Tze,

Russ has asked me to help you.

> Date:    Thu, 24 Dec 1998 00:56:34 +0800
> From:    Convection <address@hidden>
> To:      Russ Rew <address@hidden>
> Subject: Re: 19981222: problems with installation

In the above message, you wrote:

> IT WORKS!!  :)
> 
> BUT problem occurred in the test step.  :(
> In run nc_test I got these messages, and test could not contiune after that:
> #-----------------------------------------
> "test_get.c", line 101.5: 1506-045 (S) Undeclared identifier uchar.
> "test_get.c", line 101.11: 1506-046 (S) Syntax error.
> "test_get.c", line 110.48: 1506-045 (S) Undeclared identifier value.
> "test_get.c", line 742.5: 1506-045 (S) Undeclared identifier uchar.
> "test_get.c", line 742.11: 1506-046 (S) Syntax error.
> "test_get.c", line 743.5: 1506-046 (S) Syntax error.
> "test_get.c", line 743.12: 1506-045 (S) Undeclared identifier expect.
> "test_get.c", line 752.39: 1506-045 (S) Undeclared identifier value.
> "test_get.c", line 1546.5: 1506-045 (S) Undeclared identifier uchar.
> "test_get.c", line 1546.11: 1506-046 (S) Syntax error.
> "test_get.c", line 1547.5: 1506-046 (S) Syntax error.
> "test_get.c", line 4297.5: 1506-045 (S) Undeclared identifier uchar.
> "test_get.c", line 4297.11: 1506-046 (S) Syntax error.
> "test_get.c", line 4297.5: 1506-045 (S) Undeclared identifier uchar.Not making
> `cxx/install' because no C++ compiler
> "test_get.c", line 4297.11: 1506-046 (S) Syntax error.
> "test_get.c", line 4298.5: 1506-046 (S) Syntax error.
> "test_get.c", line 4298.12: 1506-045 (S) Undeclared identifier expect.
> "test_get.c", line 4313.67: 1506-045 (S) Undeclared identifier value.
> "test_get.c", line 5653.5: 1506-045 (S) Undeclared identifier uchar.
> "test_get.c", line 5653.11: 1506-046 (S) Syntax error.
> "test_get.c", line 5654.5: 1506-046 (S) Syntax error.
> "test_get.c", line 5654.12: 1506-045 (S) Undeclared identifier expect.
> "test_get.c", line 5655.5: 1506-046 (S) Syntax error.
> "test_get.c", line 5655.9: 1506-045 (S) Undeclared identifier nok.
> "test_get.c", line 5664.77: 1506-045 (S) Undeclared identifier value.
> 
> Make Quitting.

It appears that you encountered a problem erlier than the above.  Here's
your attached "make.log" file:

> Making `all' in directory /work1/m82015/netcdf-3.4/src/libsrc
> 
>       xlc -c -g -I.   attr.c
>       xlc -c -g -I.   dim.c
>       xlc -c -g -I.   error.c
>       xlc -c -g -I.   -DVERSION=`cat ../VERSION` libvers.c
>       xlc -c -g -I.   nc.c
>       xlc -c -g -I.   ncio.c
> make: 1254-004 The error code from the last command is 1.
> make: 1254-004 The error code from the last command is 1.
> make: 1254-004 The error code from the last command is 2.

This indicates that the library wasn't built and this problem must be 
solved before trying to solve the "make test" problem.

Did you attach the wrong "make.log" file?

Assuming that you did and that the current problem is with "make test",
then we need to discover where the symbol "uchar" is defined in your
systems header files.  Our AIX 4.3 system defines "ucar" in
<sys/types.h> providing that the macro "_POSIX_SOURCE" is defined.

This does not appear to be the case with your older AIX system, however.

Would you please search your system header files for the symbol "uchar"
and see where it is defined.  Also, look near that definition and see
what C macro needs to be defined in order to enable the "ucar"
definition.  Send me that information.

I'll not be answering email until next Monday (1998-12-28), so don't
expect a response from me until then.

Incidentally, would you please *not* attach files to your email that are
encoded as

    application/x-unknown-content-type-log_auto_file

because our mail agents do not handle such files.  Please attach your
files as "text/plain" or simply include them inline in the email itself.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>