gcc + uclibc

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Apr 18 15:21:33 UTC 2012


On 17 April 2012 16:25, Alberich de megres <alberich2k5 at gmail.com> wrote:
> Thanks khem!!
> That solved my problem :)
>
> However I'm having now a different one, it cannot find sysctl while
> build with ntpl support.
> I checked the makefile, it says that sysctl.c depends on
> UCLIBC_LINUX_SPECIFIC=y
>
> Which was already turned on.
>
> The error:

>  LD libuClibc-0.9.33.so
> /home/diegom/kr/xenv-0.3.01/work/rpi/build/uclibc-0.9.33/libc/libc_so.a(ioperm.os):
> In function `init_iosys':
> ioperm.c:(.text+0x40): undefined reference to `sysctl'

So.. do you have the sysctl syscall?
$ grep sysctl include/bits/sysnum.h || \
  egrep "define __NR" include/bits/sysnum.h | wc -l


More information about the uClibc mailing list