JKB, the mailing list [email protected] will be pulled down soon.
Please use the updated M-L on sourceforge.net.
ravi
----------------------------
Thats really good. Many were looking out for building server on Debain. I will
post a link to this mail thread on community.ifolder.com
Thanks johnny for helping JKB on this.
ravi
>>> BERTRAND Joël 12/17/09 8:15 PM >>>
Hello,
Some news about iFolder on sparc linux (debian). Simias.exe looks for
FlaimWrapper.so in lib/usr/local/lib/simias/web/bin instead
/usr/local/lib/simias/web/bin, thus I have add a link like :
www-d...@gershwin:/usr/local/lib/simias/web/bin$ ls -l lib
lrwxrwxrwx 1 www-data www-data 1 déc. 17 12:14 lib -> /
All libraries have to be built in 32 bits mode. To build libflaim, I
have modified main makefile to add -m32 -mv8plus to three lines as I
have written in my last post.
With sparc32 target (even V8+), libflaim is broken due to asm atomics
(code is not relocatable due to a branch greater than 2**22). Thus you
have to replace #error line (line 1314 in ftk/src/ftkunix.cpp) by :
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
int32_t sparc_atomic_add_32(volatile int32_t *mem, int32_t val)
{
int32_t old_value;
pthread_mutex_lock(&mutex);
old_value = *mem;
*mem += val;
pthread_mutex_unlock(&mutex);
return old_value;
}
int32_t sparc_atomic_xchg_32(volatile int32_t *mem, int32_t val)
{
int32_t prev;
pthread_mutex_lock(&mutex);
prev = *mem;
*mem = val;
pthread_mutex_unlock(&mutex);
return prev;
}
and iFolder runs !
Regards,
JKB
_______________________________________________
ifolder-dev mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/ifolder-dev
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
ifolder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ifolder-devel