[kronolith] MCAL and Solaris problem
Mike Hardy
mhardy@h3c.com
Tue, 8 Jan 2002 14:37:05 -0800 (PST)
Interesting - I found something that seems to hit that pretty well:
http://mail.gnu.org/pipermail/libtool/2001-January/004302.html
Apparently, the "-z text" is what's messing it up. Maybe cutting and
pasting the "collect2" line there without the "-z text"?
That's the kind of trial and error I've always had to do when compiling
bleeding-edge shared libraries on Solaris, unfortunately.
-Mike
On Tue, 8 Jan 2002, C. M. Rahman (jr.) wrote:
> this is what I get with -v option..
>
> # make
> rm -f libmcal.so
> gcc -v -O0 -Wall -g -Imstore -Iicap -I. -shared -o libmcal.so mcal.o
> datetime.o lex.ical_yy.o icalroutines.o cal_misc.o icap/icap_driver.o
> mstore/mstore_driver.o
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
> gcc version 2.95.3 20010315 (release)
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/collect2 -V -G -dy -z
> text -Y P,/usr/ccs/lib:/usr/lib -Qy -o libmcal.so
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crti.o
> /usr/ccs/lib/values-Xa.o
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtbegin.o -L/usr/local/l
> ib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/
> local/lib mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o
> icap/icap_driver.o mstore/mstore_driver.o -lgcc -lgcc
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtend.o
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtn.o
> ld: Software Generation Utilities - Solaris-ELF (4.0)
> Text relocation remains referenced
> against symbol offset in file
> <unknown> 0x22e0 mcal.o
> <unknown> 0x22e4 mcal.o
>
>
> &*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*
> C.M. Rahman Jr.
> CTO
> CCS Internet
> http://www.ccsi.com
> 13740 Research Blvd. suite o-4
> Austin, TX 78750
> Tel: 512-257-2274
>
>
> ----- Original Message -----
> From: "Mike Hardy" <mhardy@h3c.com>
> To: <kronolith@lists.horde.org>
> Sent: Tuesday, January 08, 2002 3:41 PM
> Subject: Re: [kronolith] MCAL and Solaris problem
>
>
> >
> > On Tue, 8 Jan 2002, C. M. Rahman (jr.) wrote:
> >
> > > I am on Sun Solaris 2.8 and getting this error everytime I try to
> compile
> > > MCAL. Can somebody help on this issue? I tryed on Solaris 2.7 as well.
> but
> > > no luck
> >
> > Solaris...
> >
> > > ld: fatal: relocations remain against allocatable but non-writable
> sections
> > > collect2: ld returned 1 exit status
> > > make: *** [libmcal.so] Error 1
> >
> > ...with relocation linkage problems
> >
> > The only thing I remember about building .so's on Solaris was that it was
> > a PITA (pain in the butt)
> >
> > You might try altering the makefile so that gcc uses a "-v" argument, it
> > will then print out the command line it calls the linker with. Take that
> > command line and start changing options on it until it works (I'm serious
> > - this worked for me)
> >
> > I had to xterms up with one used for trying new link-lines, and the other
> > holding the ld manpage on Solaris playing with its dynamic-linking
> > arguments, and got it right in around 10 minutes. It wasn't fun, but it
> > did work.
> >
> > Of course, there's only so many arguments to play with, if none of them
> > work, its a deeper problem...
> >
> > Googling for the error message before spending any time is also a good way
> > to find the linker line (or whatever problem it is if its not linkage)
> >
> > Hope this helps somewhat-
> > -Mike
> >
> >
> > --
> > Kronolith mailing list: http://horde.org/kronolith/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: kronolith-unsubscribe@lists.horde.org
> >
>
>
>
>From jan@horde.org Date: Wed, 9 Jan 2002 00:36:11 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact kronolith-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list kronolith@lists.horde.org
Received: (qmail 20015 invoked from network); 8 Jan 2002 23:40:54 -0000
Received: from mailout08.sul.t-online.com (194.25.134.20)
by clark.horde.org with SMTP; 8 Jan 2002 23:40:54 -0000
Received: from fwd01.sul.t-online.de
by mailout08.sul.t-online.de with smtp
id 16O5rQ-0007dQ-01; Wed, 09 Jan 2002 00:40:52 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.46.67]) by fmrl01.sul.t-online.com
with esmtp id 16O5rP-0kX78SC; Wed, 9 Jan 2002 00:40:51 +0100
Received: from localhost (localhost [127.0.0.1])
by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g08NaB928066
for <kronolith@lists.horde.org>; Wed, 9 Jan 2002 00:36:11 +0100
Received: from 192.168.60.1 ( [192.168.60.1])
as user jan@linux by linux.wg.de with HTTP;
Wed, 9 Jan 2002 00:36:11 +0100
Message-ID: <1010532971.3c3b826b4c820@linux.wg.de>
Date: Wed, 9 Jan 2002 00:36:11 +0100
From: Jan Schneider <jan@horde.org>
To: kronolith@lists.horde.org
References: <000201c19891$a019a680$c801c8c0@jefe>
In-Reply-To: <000201c19891$a019a680$c801c8c0@jefe>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [kronolith] Feature request (show certain hours)
Zitat von Jeff Graves <jeff@image-src.com>:
> Hi everyone. Just signed up for list and couldn't find this topic
> covered in archives. I was wondering if anyone has a patch to enable a
> user preference changing the hours displayed in day/week view mode. I'd
> like to be able to view just 8am to 8pm but I'd rather have that be a
> user changable setting.
Good idea. Patch?
Jan.
--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::