From: Globe T. <its...@ya...> - 2013-01-20 16:06:11
|
I tried compiling this in Fedora 18 (using the git code, right now). ./configure ./make ... /bin/ld: lxweather-weatherwidget.o: undefined reference to symbol 'pthread_kill@@GLIBC_2.2.5' /bin/ld: note: 'pthread_kill@@GLIBC_2.2.5' 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[1]: *** [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 <pio...@gm...> wrote: > From: Piotr Sipika <pio...@gm...> > Subject: Re: [Lxde-list] LXPanel Weather Plugin > To: "Henry Gebhardt" <hsg...@gm...>, lxd...@li... > Date: Wednesday, January 16, 2013, 7:57 PM > Henry, > > > 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. > > Cheers! > > Piotr > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, > HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your > skills current > with LearnDevNow - 3,200 step-by-step video tutorials by > Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > Lxde-list mailing list > Lxd...@li... > https://lists.sourceforge.net/lists/listinfo/lxde-list > |