🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #57209

Re: tin 1.4.0 on NT: (Cygwin B20) Linking errors.

#57209
From: Frank Slootweg
Date: Tue, 25 Jan 2000 00:00
37 lines
2323 bytes
Urs Jan?en <urs@buil.tin.org> wrote:
> In <869n32$bke$1@news.neth.hp.com>,
>     Frank Slootweg <franks@neth.hp.com> wrote:
>>   I am trying to compile/link tin 1.4.0 on Windows NT 4.0 with Cygwin
>> B20, but get linking errors.
>>> ../pcre/libpcre.a(study.o)(.text+0x9f9):study.c: undefined reference to `_im
p__pcre_malloc'
>>> collect2: ld returned 1 exit status
>>> make: *** [tin.exe] Error 1
>
> add -DSTATIC to the CFLAGS (i.e. in src/Makefile or in $CFLAGS) -
> that should fix the problem (and is documented in README.WIN in the
> 1.4.1-release from dec. 1st last year).

  Thanks! I had already tried with -DSTATIC because that was already in
the 1.4.0 version of the README.WIN. However *earlier*, I had used your
older (pre-1.4.0) notes [1], which did *not* mention -DSTATIC. While I
*did* redo the configure after adding -DSTATIC (I am not a complete
idiot, you know! :-)), the make/link still failed.

  After reading your response, I redid the exports, configure and make,
but again the link failed. But, because you (normally :-)) know what you
are 'talking' about, and your response 'sounded' so sure, I removed
everything (i.e. all the files which were created/modified after
extracting the tar archive) and started from scratch, and now, again
with -DSTATIC, the link succeeded.

  My only conclusion can be that apparently some of the earlier
configure/make stuff 'stuck', even after re-doing the configure and the
make.

  Thanks again. I now have a tin.exe waiting to be tried out.

[1] Your January 29, 1999 article <78rr9u$4k4$1@news.hamburg.pop.de>
    "Re: Tin for Windows or DOS." in this group.

Technical Details
Message-ID: <86kj4f$4c0$3@news.neth.hp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <869n32$bke$1@news.neth.hp.com> <86cdah$q79$1@news.hamburg.pop.de>

Show Full Headers
Complete Article Headers
Message-ID: <86kj4f$4c0$3@news.neth.hp.com>
Subject: Re: tin 1.4.0 on NT: (Cygwin B20) Linking errors.
Date: Tue, 25 Jan 2000 00:00:00 +0000
From: Frank Slootweg <franks@neth.hp.com>
References: <869n32$bke$1@news.neth.hp.com> <86cdah$q79$1@news.hamburg.pop.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 577440040
Organization: NOYB
User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (HP-UX/B.10.20 (9000/847))
Newsgroups: news.software.readers