[uClibc]Opie does compile with uclibc

Eugene Borisov borisov at ecst.csuchico.edu
Sun May 4 18:27:06 UTC 2003


After few minor tweaks to both opie and uclibc I was able to compile Opie. 
I am using latest Opie from CVS, uclibc 0.9.19, qt-2.3.5. 

qt-2.3.5 compiled right away, for opie library I had to add 	
syscall for madvise in ./libc/sysdeps/linux/common/syscalls.c

#ifdef __NR_madvise
#ifdef L_madvise
_syscall3(int, madvise, void*, __addr, size_t, __len, int, __advice);
#endif
#endif

Is there any particular reaosn why this call was not there?

To compile opie applications make the following changes

in core/launcherview.cpp replace 
#include<cstdlib> with #include<stdlib.h>
in core/pim/todo/tableview.cpp replace
#include<cmath> with #include<math.h>
in rsync/config_linux.h undefine
HAVE_PROGRAM_INVOCATION_NAME

After these changes all core applications compile, few of non-core
application (aipkg, kbill, keyview, opie_reader)  still have problems due
to some missing include files. I did not have a chance to look at them
yet. 



More information about the uClibc mailing list