🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Spring Tue, 08 Apr 1997 00:00
INN-1.5.1 compile problem
#16827
Author: Spring
Date: Tue, 08 Apr 1997 00:00
32 lines
1522 bytes
Hi Guys,
    When I compile the inn-1.5.1 in solaris2.5, I get the following
error, do anyone can help me?

Thanks

Spring
--------------------------------------
mail# make libinn.a lint
gcc -I../include -g   -c  checkart.c
gcc -I../include -g   -c  cleanfrom.c
gcc -I../include -g   -c  clientactive.c
gcc -I../include -g   -c  clientlib.c
gcc -I../include -g   -c  closeonexec.c
gcc -I../include -g  -c dbz.c
gcc -I../include -g   -c  defdist.c
gcc -I../include -g   -c  findheader.c
gcc -I../include -g   -c  genid.c
gcc -I../include -g   -c  getconfig.c
gcc -I../include -g   -c  getdtab.c
gcc -I../include -g   -c  getfqdn.c
gcc -I../include -g   -c  getmodaddr.c
gcc -I../include -g   -c  gettime.c
gettime.c: In function `GetTimeInfo':
gettime.c:69: structure has no member named `tm_gmtoff'
*** Error code 1
make: Fatal error: Command failed for target `gettime.o'
mail#
--------------------------------------

Re: INN-1.5.1 compile problem
#16890
Author: Mike Brudenell
Date: Thu, 10 Apr 1997 00:00
42 lines
2017 bytes
In article <334A106B.A53@hk.linkage.net>, spring@hk.linkage.net wrote:

> Hi Guys,
>     When I compile the inn-1.5.1 in solaris2.5, I get the following
> error, do anyone can help me?
> 
> Thanks
> 
> Spring
> --------------------------------------
> mail# make libinn.a lint
> ... [SNIP!] ...
> gettime.c: In function `GetTimeInfo':
> gettime.c:69: structure has no member named `tm_gmtoff'
> *** Error code 1
> make: Fatal error: Command failed for target `gettime.o'
> mail#
> --------------------------------------

It sounds like you're telling the INN source code that your time structure
has a tm_gmtoff (offset from GMT) field whereas in practice it doesn't.

Try checking your config/config.data for the following:

##  Does your (struct tm) have a tm_gmtoff field?  Pick DO or DONT.
#### =()<HAVE_TM_GMTOFF         @<HAVE_TM_GMTOFF>@>()=
HAVE_TM_GMTOFF          DO

Try changing DO to DONT and then recompiling.

(You may want to check the other settings in there whilst you're about it.)

Cheers,

--
Mike Brudenell                                         <pmb1@york.ac.uk>
------------------------------------------------------------------------
The Computing Service, University of York, Heslington, York, YO1 5DD, UK
Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads