inn-2.3.2 and inn-2.3.3 give error on compilation

Kiernan, Alex alexk at demon.net
Wed Jun 19 06:42:26 UTC 2002


What version of yacc are you using?

Try this patch:

Index: configfile.h
===================================================================
RCS file: /dist1/cvs/isc/inn/inn/innfeed/configfile.h,v
retrieving revision 1.3
diff -u -r1.3 configfile.h
--- configfile.h        1999/11/25 20:42:28     1.3
+++ configfile.h        2002/06/19 06:41:24
@@ -26,6 +26,7 @@
 #define yys    innfeed_yys
 #define yyv    innfeed_yyv
 #define yyval  innfeed_yyval
+#define yymaxdepth     innfeed_yymaxdepth
 
 /* pointer to function taking void-star param and returning int. */
 typedef int (*PFIVP)(void *) ;

-- 
Alex Kiernan, Principal Engineer, Development, THUS plc


> -----Original Message-----
> From: gowranga at serc.iisc.ernet.in 
> [mailto:gowranga at serc.iisc.ernet.in] 
> Sent: 19 June 2002 07:34
> To: Russ Allbery
> Cc: inn-bugs at isc.org
> Subject: Re: inn-2.3.2 and inn-2.3.3 give error on compilation
> 
> 
> 
> Hello,
> 
> I tried compiling with the native compiler, but get the error 
> as follows:
> 
>          cc -Ae -g   -o innfeed article.o buffer.o config_l.o 
> config_y.o
> connection.o  endpoint.o host.o innlistener.o main.o misc.o tape.o
> version.o ../storage/libstorage.a ../lib/libinn.a  
> /usr/ccs/bin/ld: Duplicate symbol "yymaxdepth" in files config_y.o and
> ../lib/libinn.a(parsedate.o)
> /usr/ccs/bin/ld: Found 1 duplicate symbol(s)
> *** Error exit code 1
> 
> Kindly suggest work-arounds. Thanks.
> 
> -gowranga
> 
> 
> > No idea.  In general, you should use the same compiler to 
> build INN that
> > you used to build Perl.
> 
> 


More information about the inn-bugs mailing list