I tried compiling this in Fedora 18 (using the git code, right now).
/bin/ld: lxweather-weatherwidget.o: undefined reference to symbol 'pthread_kill@...'
/bin/ld: note: 'pthread_kill@...' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [lxweather] Error 1
>From what I read on searching, -lpthread needs to be in the linking: can this be done automatically, without manual editing to the files so that it is included for perpetuity?
Many thanks again for this plug-in. I am especially happy that you have chosen to make it as a standalone version (if needed).
--- On Wed, 1/16/13, Piotr Sipika <piotr.sipika@...> wrote:
> From: Piotr Sipika <piotr.sipika@...>
> Subject: Re: [Lxde-list] LXPanel Weather Plugin
> To: "Henry Gebhardt" <hsggebhardt@...>, lxde-list@...
> Date: Wednesday, January 16, 2013, 7:57 PM
> > I think the forecast retrieval always needs to be done
> either in a
> > separate thread or with non-blocking calls (if that
> works -- I don't
> > know how network programming really works, maybe there
> is another way).
> > We don't want the panel to freeze for a few seconds
> just because the
> > network is slow!
> Yes, you're right. Once the initial forecast is retrieved,
> g_timeout_seconds used to get it periodically (which, to the
> best of my
> understanding, uses a separate thread). So I'll have to
> revisit the
> initial forecast retrieval. Thanks for bringing that up.
> > If you want to simulate a crappy internet connection,
> try the attached
> > script and the parameters therein. :)
> Beautiful! Thank you!
> > Also, I don't see anything blocking the inclusion of
> this into lxpanel.
> > libxml2 is, if I see correctly, already an LXDE
> dependency (via gvfs ->
> > libfm -> pcmanfm).
> Very happy to hear that.
> I'll try to get the updates (along with Daniele's warnings)
> in by the
> end of the weekend.
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012,
> HTML5, CSS,
> skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by
> MVPs and experts. ON SALE this month only -- learn more at:
> Lxde-list mailing list