Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-04-02 Thread Christian Magnusson
Of Paul Alfille Sent: den 31 mars 2008 15:33 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] OWFS+arm cross compilation problem !!! Great. OWNet (C library) uses a subset of the full owlib. (Basically just the parameter parsing and networking parts). Unfortunately

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-04-02 Thread Paul Alfille
… Haven't tried the binaries yet though. great /Christian *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Paul Alfille *Sent:* den 31 mars 2008 15:33 *To:* owfs-developers@lists.sourceforge.net *Subject:* Re: [Owfs-developers] OWFS+arm cross compilation problem

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-31 Thread Paul Alfille
Great. OWNet (C library) uses a subset of the full owlib. (Basically just the parameter parsing and networking parts). Unfortunately that means it's code can look similar, but out of sync with owlib, and compilation errors can be confusing. Paul Alfille On Sun, Mar 30, 2008 at 9:21 AM, Sven

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-30 Thread Sven Geggus
Paul Alfille [EMAIL PROTECTED] wrote: Hmmm... looks like you aren't using the current CVS version I do use the current CVS version (I just call this 2.7p5, to make the frewewrt build-script happy). (or you are linking against older libs). well, freewrt is using uClibc-0.9.28, as I already

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-29 Thread Sven Geggus
Paul Alfille [EMAIL PROTECTED] wrote: I put in an easier solution, a custom rolled reader/writer lock. It's inthe CVS, and if it works for you, I'll expand it's use to other areas that would benefit. (Cache reads, and the rare write locking of the available adapters when zero-config scanning

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-29 Thread Paul Alfille
Hmmm... looks like you aren't using the current CVS version (or you are linking against older libs). If nothing else, try to add --disable-ownet to the ./configure options Paul On Sat, Mar 29, 2008 at 3:53 PM, Sven Geggus [EMAIL PROTECTED] wrote: Paul Alfille [EMAIL PROTECTED] wrote: I put

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-27 Thread Sven Geggus
Paul Alfille [EMAIL PROTECTED] wrote: Looking though the uClibc source code, the function IS there: http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libpthread/linuxthreads/rwlock.c?rev=13745view=log This might have to do something with __USE_UNIX98, which does not seem to be defined while

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-26 Thread Sven Geggus
Christian Magnusson [EMAIL PROTECTED] wrote: * This workaround will probably be fixed in uClibc-0.9.28 Has this been fixed in uClibc-0.9.28? The Question I ask ist because I get the same error when trying to compile owfs-2.7p4 on freewrt trunk which is using uClibc-0.9.28. Sven -- The

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-26 Thread Paul Alfille
I reorganized the code a bit -- can you try the CVS version easily? Paul Alfille On Wed, Mar 26, 2008 at 1:57 PM, Sven Geggus [EMAIL PROTECTED] wrote: Christian Magnusson [EMAIL PROTECTED] wrote: * This workaround will probably be fixed in uClibc-0.9.28 Has this been fixed in

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-26 Thread Sven Geggus
Paul Alfille [EMAIL PROTECTED] wrote: can you try the CVS version easily? As I try to use the official freewrt build-script I needed to fake a newer release. This is however easy enough :) CVS code now results in another compile error: In file included from

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-26 Thread Paul Alfille
Perhaps this is one of those uclibc variances. The code compiles on glibc. I thought the problem was with reader/writer locks -- pthread_rwlock_t, specifically. Looking though the uClibc source code, the function IS there:

[Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-20 Thread greg h
hello, I try to cross compile owfs with uclibc toolchain (arm-linux-gcc-4.2.1, uclibc-0.9.29). 1- ./configure --target=arm-linux --build=i386-linux

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-20 Thread Paul Alfille
Sounds like that combination of configuration parameters excluded some variable declarations. I'll fix. Is this against 2.7p4? Paul Alfille On Thu, Mar 20, 2008 at 5:14 AM, greg h [EMAIL PROTECTED] wrote: hello, I try to cross compile owfs with uclibc toolchain (arm-linux-gcc-4.2.1,

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-20 Thread Christian Magnusson
) __pthread_initial_thread_bos = NULL; __pthread_initialize(); #endif -- /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille Sent: den 20 mars 2008 11:39 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] OWFS+arm cross compilation problem