Compiling trouble on Solaris 8
Hi! I'm a newbie to Cyrus that has a question. I'm trying to compile Cyrus IMAPD 1.6.24 and 2.0.7 on Solaris 8 aswell on Red Hat 7.0, and it just doesn't want to complete the compilation. The error I am getting is the following: ld: fatal: symbol `yys' is multiply defined: (file ../sieve/libsieve.a(sieve.o) and file ../sieve/libsieve.a(addr.o)); ld: fatal: symbol `yyv' is multiply defined: (file ../sieve/libsieve.a(sieve.o) and file ../sieve/libsieve.a(addr.o)); ld: fatal: File processing errors. No output written to deliver collect2: ld returned 1 exit status Either I am missing something or there is something broken in the "deliver" code. Don't know which, since I'm not a programmer, unfortunately.. ;) Any pointers to where to look would be greatly appreciated!! ;) Thanks folks! -- Anders Holm Unix SysAdmin/PostMaster Worldport Communications Inc. Blanchardstown Corporate Park, Blanchardstown, Dublin 15, Ireland Email: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Tel:+353-(0)1 2412400 Fax:+353-(0)1 2412495 Mobile: +353-(0)86 6042374 Web:http://www.wrdp.com The information transmitted by this E-mail may contain confidential and/or privileged material and may constitute non-public information. This E-mail is intended to be conveyed only to the designated addressee(s). If you are not a designated addressee, please contact the sender and delete this E-mail and all attachments from your computer. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this E-mail or its attachments by persons or entities other than the designated addressee(s) is strictly prohibited and may be unlawful. "Sysadmins do their jobs with sharp knives in a crowded room." - Quote from the ARK motivations page located at: http://ark.sourceforge.net/motivations.html
Re: Compiling trouble on Solaris 8
You need to install GNU flex and use that instead of the sun-distributed lex ftp://nce.sun.ca/pub/freeware/sparc/7/flex-2.5.4a-sol7-sparc-local.gz -=Eric On Tue, 28 Nov 2000, Anders Holm wrote: > Hi! > > I'm a newbie to Cyrus that has a question. > > I'm trying to compile Cyrus IMAPD 1.6.24 and 2.0.7 on Solaris 8 aswell > on Red Hat 7.0, and it just doesn't want to complete the compilation. > > The error I am getting is the following: > > ld: fatal: symbol `yys' is multiply defined: > (file ../sieve/libsieve.a(sieve.o) and file > ../sieve/libsieve.a(addr.o)); > ld: fatal: symbol `yyv' is multiply defined: > (file ../sieve/libsieve.a(sieve.o) and file > ../sieve/libsieve.a(addr.o)); > ld: fatal: File processing errors. No output written to deliver > collect2: ld returned 1 exit status > > Either I am missing something or there is something broken in the > "deliver" code. Don't know which, since I'm not a programmer, > unfortunately.. ;) > > Any pointers to where to look would be greatly appreciated!! ;) > > Thanks folks! > > -- > > Anders Holm > Unix SysAdmin/PostMaster > Worldport Communications Inc. > Blanchardstown Corporate Park, Blanchardstown, Dublin 15, Ireland > > Email: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > Tel:+353-(0)1 2412400 > Fax:+353-(0)1 2412495 > Mobile: +353-(0)86 6042374 > Web:http://www.wrdp.com > > > The information transmitted by this E-mail may contain confidential and/or > privileged material and may constitute non-public information. This E-mail > is intended to be conveyed only to the designated addressee(s). If you are > not a designated addressee, please contact the sender and delete this E-mail > and all attachments from your computer. Any review, retransmission, > dissemination or other use of, or taking of any action in reliance upon, > this E-mail or its attachments by persons or entities other than the > designated addressee(s) is strictly prohibited and may be unlawful. > > > "Sysadmins do their jobs with sharp knives in a crowded room." > - Quote from the ARK motivations page located at: > http://ark.sourceforge.net/motivations.html > >
Re: Compiling trouble on Solaris 8
Hi Eric! Thanks for the tip! Unfortunatley I already have the latest flex installed. So I am still getting the same error. Also, as someone else mentioned, one could have installed sources from RedHat's SRPM of cyrus 2.07... Except the fact that I am not using RPM on a Solaris box, that might have worked out! ;) Thanks for the help though guys! Appreciate any pointers. Would any of you have run past this before? I recompiled everything from scratch also, didn't help either.. :( Thanks again! Eric Sorenson wrote: > You need to install GNU flex and use that instead of the sun-distributed lex > > ftp://nce.sun.ca/pub/freeware/sparc/7/flex-2.5.4a-sol7-sparc-local.gz > > -=Eric > > On Tue, 28 Nov 2000, Anders Holm wrote: > > >> Hi! >> >> I'm a newbie to Cyrus that has a question. >> >> I'm trying to compile Cyrus IMAPD 1.6.24 and 2.0.7 on Solaris 8 aswell >> on Red Hat 7.0, and it just doesn't want to complete the compilation. >> >> The error I am getting is the following: >> >> ld: fatal: symbol `yys' is multiply defined: >> (file ../sieve/libsieve.a(sieve.o) and file >> ../sieve/libsieve.a(addr.o)); >> ld: fatal: symbol `yyv' is multiply defined: >> (file ../sieve/libsieve.a(sieve.o) and file >> ../sieve/libsieve.a(addr.o)); >> ld: fatal: File processing errors. No output written to deliver >> collect2: ld returned 1 exit status >> >> Either I am missing something or there is something broken in the >> "deliver" code. Don't know which, since I'm not a programmer, >> unfortunately.. ;) >> >> Any pointers to where to look would be greatly appreciated!! ;) >> >> Thanks folks! >> >> -- >> >> Anders Holm >> Unix SysAdmin/PostMaster >> Worldport Communications Inc. >> Blanchardstown Corporate Park, Blanchardstown, Dublin 15, Ireland >> >> Email: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] >> Tel:+353-(0)1 2412400 >> Fax:+353-(0)1 2412495 >> Mobile: +353-(0)86 6042374 >> Web:http://www.wrdp.com >> >> >> The information transmitted by this E-mail may contain confidential and/or >> privileged material and may constitute non-public information. This E-mail >> is intended to be conveyed only to the designated addressee(s). If you are >> not a designated addressee, please contact the sender and delete this E-mail >> and all attachments from your computer. Any review, retransmission, >> dissemination or other use of, or taking of any action in reliance upon, >> this E-mail or its attachments by persons or entities other than the >> designated addressee(s) is strictly prohibited and may be unlawful. >> >> >> "Sysadmins do their jobs with sharp knives in a crowded room." >> - Quote from the ARK motivations page located at: >> http://ark.sourceforge.net/motivations.html >> >> -- Anders Holm Unix SysAdmin/PostMaster Worldport Communications Inc. Blanchardstown Corporate Park, Blanchardstown, Dublin 15, Ireland Email: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Tel:+353-(0)1 2412400 Fax:+353-(0)1 2412495 Mobile: +353-(0)86 6042374 Web:http://www.wrdp.com The information transmitted by this E-mail may contain confidential and/or privileged material and may constitute non-public information. This E-mail is intended to be conveyed only to the designated addressee(s). If you are not a designated addressee, please contact the sender and delete this E-mail and all attachments from your computer. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this E-mail or its attachments by persons or entities other than the designated addressee(s) is strictly prohibited and may be unlawful. "Sysadmins do their jobs with sharp knives in a crowded room." - Quote from the ARK motivations page located at: http://ark.sourceforge.net/motivations.html
RE: Compiling trouble on Solaris 8
On my solaris 8 box I had to pretty cleanly go out of my way to install the GNU utilities, because the SUN stuff is proprietary. Try going to http://www.sunfreeware.com and get the prebuilt packages just to save time downloading and compiling. Edit PATH, and LD_LIBRARY_PATH and try again. I've personally had alot of problems compiling stuff like sendmail 8.11.1 and bind 8.2.2-P7 on redhat 7. not sure what they did between 6.2 and 7 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lawrence Greenfield Sent: Sunday, December 10, 2000 8:45 AM To: Anders Holm; [EMAIL PROTECTED] Subject: Re: Compiling trouble on Solaris 8 Are you using "bison" or "yacc" to compile the .y files? Are you rebuilding them or using the included .c files? Larry --On Tuesday, November 28, 2000 03:23:02 PM + Anders Holm <[EMAIL PROTECTED]> wrote: > Hi! > > I'm a newbie to Cyrus that has a question. > > I'm trying to compile Cyrus IMAPD 1.6.24 and 2.0.7 on Solaris 8 aswell on > Red Hat 7.0, and it just doesn't want to complete the compilation. > > The error I am getting is the following: > > ld: fatal: symbol `yys' is multiply defined: > (file ../sieve/libsieve.a(sieve.o) and file > ../sieve/libsieve.a(addr.o)); ld: fatal: symbol `yyv' is > multiply defined: > (file ../sieve/libsieve.a(sieve.o) and file > ../sieve/libsieve.a(addr.o)); ld: fatal: File processing errors. > No output written to deliver > collect2: ld returned 1 exit status > > Either I am missing something or there is something broken in the > "deliver" code. Don't know which, since I'm not a programmer, > unfortunately.. ;) > > Any pointers to where to look would be greatly appreciated!! ;) > > Thanks folks! > > -- > + > +++ Anders Holm > Unix SysAdmin/PostMaster > Worldport Communications Inc. > Blanchardstown Corporate Park, Blanchardstown, Dublin 15, Ireland > > Email: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > Tel:+353-(0)1 2412400 > Fax:+353-(0)1 2412495 > Mobile: +353-(0)86 6042374 > Web:http://www.wrdp.com > > - > --- The information transmitted by this E-mail may contain confidential > and/or privileged material and may constitute non-public information. > This E-mail is intended to be conveyed only to the designated > addressee(s). If you are not a designated addressee, please contact the > sender and delete this E-mail and all attachments from your computer. > Any review, retransmission, dissemination or other use of, or taking of > any action in reliance upon, this E-mail or its attachments by persons or > entities other than the designated addressee(s) is strictly prohibited > and may be unlawful. > - > --- > > "Sysadmins do their jobs with sharp knives in a crowded room." >- Quote from the ARK motivations page located at: >http://ark.sourceforge.net/motivations.html >
Re: Compiling trouble on Solaris 8
Are you using "bison" or "yacc" to compile the .y files? Are you rebuilding them or using the included .c files? Larry --On Tuesday, November 28, 2000 03:23:02 PM + Anders Holm <[EMAIL PROTECTED]> wrote: > Hi! > > I'm a newbie to Cyrus that has a question. > > I'm trying to compile Cyrus IMAPD 1.6.24 and 2.0.7 on Solaris 8 aswell on > Red Hat 7.0, and it just doesn't want to complete the compilation. > > The error I am getting is the following: > > ld: fatal: symbol `yys' is multiply defined: > (file ../sieve/libsieve.a(sieve.o) and file > ../sieve/libsieve.a(addr.o)); ld: fatal: symbol `yyv' is > multiply defined: > (file ../sieve/libsieve.a(sieve.o) and file > ../sieve/libsieve.a(addr.o)); ld: fatal: File processing errors. > No output written to deliver > collect2: ld returned 1 exit status > > Either I am missing something or there is something broken in the > "deliver" code. Don't know which, since I'm not a programmer, > unfortunately.. ;) > > Any pointers to where to look would be greatly appreciated!! ;) > > Thanks folks! > > -- > + > +++ Anders Holm > Unix SysAdmin/PostMaster > Worldport Communications Inc. > Blanchardstown Corporate Park, Blanchardstown, Dublin 15, Ireland > > Email: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > Tel:+353-(0)1 2412400 > Fax:+353-(0)1 2412495 > Mobile: +353-(0)86 6042374 > Web:http://www.wrdp.com > > - > --- The information transmitted by this E-mail may contain confidential > and/or privileged material and may constitute non-public information. > This E-mail is intended to be conveyed only to the designated > addressee(s). If you are not a designated addressee, please contact the > sender and delete this E-mail and all attachments from your computer. > Any review, retransmission, dissemination or other use of, or taking of > any action in reliance upon, this E-mail or its attachments by persons or > entities other than the designated addressee(s) is strictly prohibited > and may be unlawful. > - > --- > > "Sysadmins do their jobs with sharp knives in a crowded room." >- Quote from the ARK motivations page located at: >http://ark.sourceforge.net/motivations.html >