Andrés Yacopino
2009-Mar-05 14:55 UTC
[Dovecot] Compilation of dovecot-1.2-sieve-0.1.3 under Solaris 10 for Sparc
I am trying to compile Dovecot Sieve, when i execute the command make i get this error: /usr/ccs/bin/ld: illegal option -- start-group The configure sentence was : ./configure --with-dovecot=/export/software/dovecot1.2/dovecot-1.2 And it finishes right. I have succesfully compile dovecot 1.2 beta 1 source with dovecot-1.2-managesieve-0.11.3 patch. Thanks, -- Andr?s Fernando Yacopino Infraestructura - Dpto Sistemas AcaSalud Cooperativa de Prestaciones M?dico Asistenciales Limitada Tel: 0341-4208726 ayacopino at acasalud.com.ar
Stephan Bosch
2009-Mar-05 19:47 UTC
[Dovecot] Compilation of dovecot-1.2-sieve-0.1.3 under Solaris 10 for Sparc
Andr?s Yacopino wrote:> I am trying to compile Dovecot Sieve, when i execute the command make i > get this error: > > /usr/ccs/bin/ld: illegal option -- start-groupThis flag is useless when libraries are offered in the correct order. I thought I removed all of these, but apparently I didn't. This should fix it: http://hg.rename-it.nl/dovecot-libsieve/rev/45c04b2fe529 If you confirm I can make a new release. I may not get around to doing that until the 15th when I return from another time zone. All depends on whether I have proper internet access there. Regards, Stephan.
Andrés Yacopino
2009-Mar-11 16:20 UTC
[Dovecot] Compilation of dovecot-1.2-sieve-0.1.3 under Solaris 10 for Sparc
Andr?s Yacopino escribi?:> Well i managed to solve this doing: > > Delete "-Wl,--start-group" from: > - src/sieve-tools/Makefile > - src/sieve-tools/Makefile.in > - src/testsuite/Makefile > - src/testsuite/Makefile.in > > Delete Libraries (as you did) in: > libs = \ > - $(STORAGE_LIBS) \ > - $(dovecot_incdir)/src/lib-storage/libstorage.a \ > - $(dovecot_incdir)/src/lib-index/libindex.a \ > - $(dovecot_incdir)/src/lib-imap/libimap.a \ > - $(dovecot_incdir)/src/lib-mail/libmail.a \ > - $(dovecot_incdir)/src/lib-charset/libcharset.a \ > - $(dovecot_incdir)/src/lib/liblib.a > + $(STORAGE_LIBS) > in files: > > - src/sieve-tools/Makefile > - src/sieve-tools/Makefile.in > - src/testsuite/Makefile > - src/testsuite/Makefile.in > > Of course replacing Makefile.am with your versions previously. > > Thanks a lot, > > Andr?s Fernando Yacopino > > Infraestructura - Dpto Sistemas > > AcaSalud > > Cooperativa de Prestaciones M?dico Asistenciales Limitada > > Tel: 0341-4208726 > > ayacopino at acasalud.com.ar > > > > Andr?s Yacopino escribi?: >> I have put your two files but i got the same error: >> >> /usr/ccs/bin/ld: illegal option -- start-group >> >> I search in directories and i found this option in: >> >> src/sieve-tools: >> >> Makefile:sievec_LDFLAGS = -export-dynamic -Wl,--start-group >> Makefile:sieved_LDFLAGS = -export-dynamic -Wl,--start-group >> Makefile:sieve_test_LDFLAGS = -export-dynamic -Wl,--start-group >> Makefile.in:sievec_LDFLAGS = -export-dynamic -Wl,--start-group >> Makefile.in:sieved_LDFLAGS = -export-dynamic -Wl,--start-group >> Makefile.in:sieve_test_LDFLAGS = -export-dynamic -Wl,--start-group >> >> src/testsuite: >> >> Makefile:testsuite_LDFLAGS = -export-dynamic -Wl,--start-group >> Makefile.in:testsuite_LDFLAGS = -export-dynamic -Wl,--start-group >> >> I am doing something wrong? >> >> I compile with: >> >> make clean >> >> ./configure --with-dovecot=/export/software/dovecot1.2/dovecot-1.2 >> >> make >> >> >> Thanks >> >> Andr?s Fernando Yacopino >> >> >> >> Stephan Bosch escribi?: >>> Andr?s Yacopino wrote: >>> >>>> I am trying to compile Dovecot Sieve, when i execute the command >>>> make i >>>> get this error: >>>> >>>> /usr/ccs/bin/ld: illegal option -- start-group >>>> >>> This flag is useless when libraries are offered in the correct order. I >>> thought I removed all of these, but apparently I didn't. >>> >>> This should fix it: >>> >>> http://hg.rename-it.nl/dovecot-libsieve/rev/45c04b2fe529 >>> >>> If you confirm I can make a new release. I may not get around to doing >>> that until the 15th when I return from another time zone. All >>> depends on >>> whether I have proper internet access there. >>> >>> Regards, >>> >>> Stephan. >>>