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

Re: 970201: netcdf install problem



On Sat, 1 Feb 1997, Unidata Support wrote:

> 
> ------- Forwarded Message
> 
> >To: address@hidden
> >cc: address@hidden
> >From: address@hidden
> >Organization: .
> >Keywords: 199702020232.TAA06147
> 
> Dear Sirs,
> 
> Thanks in advance for any information on how to install netcdf on my new
> Sun ULTRA1 running Solaris2.5.
> 
> After typing configure --prefix=/usr/local I get the following lines in the
> config.log:
> _________________________________________________________________________
> %more config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:1156: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:1197: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:1684: cc -c -g -Kpic  conftest.c 1>&5
> configure:1712: cc -o conftest -g   conftest.c  1>&5
> configure:1745: cc -o conftest -g   conftest.c  1>&5
> configure:1781: cc -o conftest -g   conftest.c  1>&5
> configure:1845: cc -o conftest -g   conftest.c  1>&5
> configure:1875: cc -o conftest -g   conftest.c  1>&5
> configure:1960: cc -o conftest -g   conftest.c  1>&5
> Undefined                       first referenced
>  symbol                             in file
> xdr_long                            conftest.o
> ld: fatal: Symbol referencing errors. No output written to conftest
> configure:2005: cc -o conftest -g   conftest.c -lrpc 1>&5
> ld: fatal: library -lrpc: not found

Hiya,

It seems that the loader (ld) can't find your rpc library on your system,
thats why the xdr_long symbol is reported undefined.  You might have to
reinstall your c compiler.  I looked up this problem in the support
section and found more complete answer, I'll send it in another message.


Robb...



> ld: fatal: File processing errors.  No output written to conftest
> configure:2005: cc -o conftest -g   conftest.c -lnsl 1>&5
> configure:2169: cc -o conftest -g   conftest.c  -lnsl 1>&5
> configure:2218: cc -c -g  conftest.c 1>&5
> "configure", line 2207: warning: tokens ignored at end of directive line
> "configure", line 2213: undefined struct/union member: x_getint
> "configure", line 2213: warning: improper pointer/integer combination: op "="
> cc: acomp failed for conftest.c
> configure:2259: cc -c -g  conftest.c 1>&5
> configure:2292: cc -c -g  conftest.c 1>&5
> configure:2332: cc -c -g  conftest.c 1>&5
> configure:2378: cc -o conftest -g   conftest.c  -lnsl 1>&5
> configure:2450: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:2484: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:2510: cc -c -g  conftest.c 1>&5
> "configure", line 2502: identifier redeclared: malloc
>         current : function() returning pointer to struct {int a, int b}
>         previous: function(uint) returning pointer to void : 
> "/usr/include/stdli
> b.h", line 86
> cc: acomp failed for conftest.c
> %
> _________________________________________________________________________
> 
> Should I continue from here on or there is something really wrong on my 
> system?
> Many Thansk,
> Alex
> address@hidden
> 
> 
> ------- End of Forwarded Message
> 
> 

_______________________________________________________________________________
Robb Kambic                                Unidata Program Center
Software Engineer                          Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
==========================================================================
"I've seen things you people wouldn't believe...
"Attack ships on fire off the shoulder of Orion.
"I watched C-beams glitter in the dark near the Tannhauser gate...
"All those moments will be lost in time, like tears in rain.
"Time to die."  movie BladeRunner
==========================================================================