From: Andrew R. Tefft (teffta@cs690-3.erie.ge.com)
Date: 09/03/93


From: teffta@cs690-3.erie.ge.com (Andrew R. Tefft)
Subject: Re: xdaliclock on Linux
Date: Fri, 3 Sep 1993 22:14:50 GMT

In article <CCp26A.GvK@spuddy.uucp> mitch@spuddy.uucp (Mitchum Dsouza) writes:
>
(in response to xdaliclock not working when compiled with shared libs)
>
>To get over this temporarily you can do any *one* of the following.
>
>1) Perform these steps where you extracted the xdaliclock source. This will
> give you a shared executable with static versions of only the affected
> (broken) functions.
>
> % make xdalicock.o
> % ar x /usr/lib/libg.a free.o malloc.o morecore.o
> % gcc -s -o xdaliclock -L/usr/X386/lib xdaliclock.o \
> free.o malloc.o morecore.o -lX11 -lXext

I preferred this, but the resulting xdaliclock seg faulted.

>4) Comment out the line in load_builtin_font() (approx line 341) in
> xdaliclock.c which says
>
> XDestroyImage (image);

I ended up doing this. Works fine.