🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33068

Re: Problems building INN 2.2b2

#33068
From: David Hastings
Date: Fri, 20 Nov 1998 00:00
47 lines
2564 bytes
pcolmer@acorn.com wrote:
> 
> I'm trying to build INN 2.2b2 for using on an Intel Solaris 2.6 system. I'm
> using gcc 2.7.2.2.
> 
> The problem comes when it gets to building innfeed. I get the following
> errors:
> 
> gcc -I../include  -g -O2  -o innfeed article.o  buffer.o  connection.o
> endpoint .o  host.o  innlistener.o  main.o  misc.o  tape.o inet_addr.o
> config_l.o config _y.o version.o ../storage/libstorage.a ../lib/libinn.a
> ../storage/libstorage.a . ./lib/libinn.a -lelf -lnsl  -lresolv -lsocket ld:
> fatal: symbol `yys' is multiply defined: (file config_y.o and file
> ../lib/libinn.a(parsedate.o)); ld: fatal: symbol `yyv' is multiply defined:
> (file config_y.o and file ../lib/libinn.a(parsedate.o)); ld: warning: symbol
> `yy_yyv' has differing sizes: (file config_y.o value=0x4b0; file
> ../lib/libinn.a(parsedate.o) value=0x258); config_y.o definition taken ld:
> warning: symbol `yylval' has differing sizes: (file config_y.o value=0x8;
> file ../lib/libinn.a(parsedate.o) value=0x4); config_y.o definition taken ld:
> warning: symbol `yyval' has differing sizes: (file config_y.o value=0x8; file
> ../lib/libinn.a(parsedate.o) value=0x4); config_y.o definition taken ld:
> fatal: File processing errors. No output written to innfeed
> 
> Can anyone tell me how to get around this problem or what I'm doing wrong?
> 
> Thanks.
> 
> --Philip

You need to alter the LDFLAGS line in Makefile.global:

LDFLAGS = -t -z muldefs

Worked for me, anyway.

Regards,

Dave

-- 
David Hastings                      
Systems Programmer/News Manager    
Oxford University Computing Services 
david.hastings@oucs.ox.ac.uk 
http://users.ox.ac.uk/~daveh/

Technical Details
Message-ID: <3655A6CE.AA17B4A1@computing-services.oxford.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <733rpg$iae$1@nnrp1.dejanews.com>

Show Full Headers
Complete Article Headers
Message-ID: <3655A6CE.AA17B4A1@computing-services.oxford.ac.uk>
Subject: Re: Problems building INN 2.2b2
Date: Fri, 20 Nov 1998 00:00:00 +0000
From: David Hastings <david.hastings@computing-services.oxford.ac.uk>
References: <733rpg$iae$1@nnrp1.dejanews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 413930871
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: newsmaster@ox.ac.uk
X-Trace: news.ox.ac.uk 911582832 9468 163.1.14.103 (20 Nov 1998 17:27:12 GMT)
Organization: OUCS
Mime-Version: 1.0
NNTP-Posting-Date: 20 Nov 1998 17:27:12 GMT
Newsgroups: news.software.nntp