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

20030320: LDM6.0.2 make GNU



Jeff,

>Date: Fri, 21 Mar 2003 11:06:04 -0500 (EST)
>From: Jeff Masters <address@hidden>
>Organization: Weather Underground
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20030320: LDM6.0.2 make GNU 

The above message contained the following:

> I got ldm-6.0.2 to "make" using GNU make on my solaris 5.6 SDI ingestor
> machine by telling it:
> 
> make all
> make install
> 
> However, "make all" failed on frost, my slackware 2.2.14 Linux box using
> GNU make:
> 
> gcc -c -O   -I../config -I. -I../misc -I../ulog -I../protocol ldm5_clnt.c
> ldm5_clnt.c: In function `forn_signon':
> ldm5_clnt.c:252: `RPC_INTR' undeclared (first use this function)
> ldm5_clnt.c:252: (Each undeclared identifier is reported only once
> ldm5_clnt.c:252: for each function it appears in.)
> ldm5_clnt.c: In function `forn5':
> ldm5_clnt.c:383: warning: assignment makes pointer from integer without a
> cast
> make[2]: *** [ldm5_clnt.o] Error 1
> make[2]: Leaving directory `/usr/local/ldm/ldm-6.0.2/src/protocol'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/usr/local/ldm/ldm-6.0.2/src'
> make: *** [protocol/all] Error 2

It appears from the above that your RPC implementation doesn't define
the SYMBOL RPC_INTR in the RPC header file <rpc/rpc.h>.  Our RedHat 6.2
(2.2.19) system does define that symbol.  Apparently, it's not being
defined is a bug.

Look at your RPC header files (e.g., rpc/clnt.h) and try to find
whatever they're using that's equivalent to RPC_INTR.  If you find
something, then you'll have to use that symbol everwhere that RPC_INTR
is used (protocol/ldm5_clnt.c and server/up6.c).

Have you built an LDM-5 system on your Linux box?  It would seem that
you couldn't have because that symbol is also used by LDM-5.

Regards,
Steve Emmerson