Re: [OpenWrt-Devel] clock_gettime not found when compiling a package

2010-10-01 Thread Roberto Riggio
On 09/28/2010 10:57 PM, Michael Büsch wrote: I think you should use the default configure and build rules and just modify the buildflags CONFIGURE_VARS, CONFIGURE_ARGS, MAKE_... BTW openwrt by default call the build/compile procedure. How can I make openwrt call the build/install procedure? ___

Re: [OpenWrt-Devel] clock_gettime not found when compiling a package

2010-09-29 Thread Roberto Riggio
On 09/28/2010 10:57 PM, Michael Büsch wrote: You can add a patch. Yes, I know, but I would like to understand if I can use a cleaner way. I think you should use the default configure and build rules and just modify the buildflags CONFIGURE_VARS, CONFIGURE_ARGS, MAKE_... Ok I've reduce the co

Re: [OpenWrt-Devel] clock_gettime not found when compiling a package

2010-09-28 Thread Michael Büsch
On Tue, 2010-09-28 at 14:43 +0200, Roberto Riggio wrote: > On 09/27/2010 11:14 PM, Michael Büsch wrote: > > > > uclibc does not support the clock_xxx functions. The kernel implements > > them, however. You might want to use a wrapper in your application. > > Take a look at this: > > http://bu3sch.

Re: [OpenWrt-Devel] clock_gettime not found when compiling a package

2010-09-28 Thread Roberto Riggio
On 09/27/2010 11:14 PM, Michael Büsch wrote: uclibc does not support the clock_xxx functions. The kernel implements them, however. You might want to use a wrapper in your application. Take a look at this: http://bu3sch.de/gitweb?p=pwrtray.git;a=blob;f=backend/timer.c;hb=HEAD#l30 (see the #defin

Re: [OpenWrt-Devel] clock_gettime not found when compiling a package

2010-09-27 Thread Ondrej Zajicek
On Mon, Sep 27, 2010 at 11:14:59PM +0200, Michael Büsch wrote: > > ../lib/libclicktool_build.a(glue.bo): In function `click_random_srandom()': > > glue.cc:(.text+0xa40): undefined reference to `clock_gettime' > > > > Any idea about where the problem could be? > > uclibc does not support the clock

Re: [OpenWrt-Devel] clock_gettime not found when compiling a package

2010-09-27 Thread Michael Büsch
On Mon, 2010-09-27 at 15:16 +0200, Roberto Riggio wrote: > when compiling a package for openwrt i get the following error: > > ../lib/libclicktool_build.a(glue.bo): In function `click_random_srandom()': > glue.cc:(.text+0xa40): undefined reference to `clock_gettime' > > Any idea about where the

[OpenWrt-Devel] clock_gettime not found when compiling a package

2010-09-27 Thread Roberto Riggio
Hi, when compiling a package for openwrt i get the following error: ../lib/libclicktool_build.a(glue.bo): In function `click_random_srandom()': glue.cc:(.text+0xa40): undefined reference to `clock_gettime' Any idea about where the problem could be? ___