🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by pcolmer Fri, 20 Nov 1998 00:00
Problems building INN 2.2b2
#33066
Author: pcolmer
Date: Fri, 20 Nov 1998 00:00
31 lines
2168 bytes
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

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: Problems building INN 2.2b2
#33068
Author: 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/

Re: Problems building INN 2.2b2
#33076
Author: Katsuhiro Kondou
Date: Fri, 20 Nov 1998 00:00
10 lines
1221 bytes
In article <733rpg$iae$1@nnrp1.dejanews.com>,
	pcolmer@acorn.com wrote;

} Can anyone tell me how to get around this problem or what I'm doing wrong?

Try the latest STABLE snapshot.
-- 
Katsuhiro Kondou

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