spawn.h ?
Carmelo AMOROSO
carmelo.amoroso at st.com
Mon Feb 7 10:56:17 UTC 2011
On 2/7/2011 11:48 AM, bruce bushby wrote:
> Hi
>
> Whilst reading this link:
> http://uclibc.org/~aldot/uClibc/uClibc-0.9.29-optional-features.01p5.diff
>
> I noticed a config option called:
> +config UCLIBC_HAS_ADVANCED_REALTIME
>
> This appears to contain all the functions that I am missing when I try and
> add "rabbitmq-c" client to "buildroot". How would I go about configuring my
> uclibc (built by buildroot) to include the above option and associated posix
> functions?
>
> Thanks
> Bruce
>
>
Please, post you question to buildroot list.
Thanks,
Carmelo
>
> from:
> http://uclibc.org/~aldot/uClibc/uClibc-0.9.29-optional-features.01p5.diff
>
> +config UCLIBC_HAS_ADVANCED_REALTIME
> + bool "Advanced realtime-related family of SUSv functions"
> + default y
> + depends on UCLIBC_HAS_REALTIME
> + help
> + These functions are part of the Timers option and need not
> + be available on all implementations.
> +
> + clock_getcpuclockid()
> + clock_nanosleep()
> + mq_timedreceive()
> + mq_timedsend()
> + posix_fadvise()
> + posix_fallocate()
> + posix_madvise()
> + posix_memalign()
> + posix_mem_offset()
> + posix_spawnattr_destroy(), posix_spawnattr_init()
> + posix_spawnattr_getflags(), posix_spawnattr_setflags()
> + posix_spawnattr_getpgroup(), posix_spawnattr_setpgroup()
> + posix_spawnattr_getschedparam(), posix_spawnattr_setschedparam()
> + posix_spawnattr_getschedpolicy(), posix_spawnattr_setschedpolicy()
> + posix_spawnattr_getsigdefault(), posix_spawnattr_setsigdefault()
> + posix_spawnattr_getsigmask(), posix_spawnattr_setsigmask()
> + posix_spawn_file_actions_addclose()
> + posix_spawn_file_actions_adddup2()
> + posix_spawn_file_actions_addopen()
> + posix_spawn_file_actions_destroy()
> + posix_spawn_file_actions_init()
> + posix_spawn()
> + posix_spawnp()
> + posix_typed_mem_get_info()
> + pthread_mutex_timedlock()
> + sem_timedwait()
> +
>
>
> On Sun, Feb 6, 2011 at 5:28 PM, bruce bushby <bruce.bushby at gmail.com> wrote:
>
> > Hi
> >
> > Are there any suggestions for compiling an application that uses "#include
> > <spawn.h>" with uClibc?
> >
> > I've been trying to add rabbitMQ C client as a "buildroot" application
> > however the compile keep failing due to "missing spawn.h"
> >
> > I've tried all the uClib thread options including Native POSIX threading
> > with the daily snapshot.
> >
> > This is the error message:
> >
> > /opt/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
> > --sysroot=/opt/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot
> > -DHAVE_CONFIG_H -I. -I.. -I../librabbitmq -I./unix -I../librabbitmq -pipe
> > -Os -mtune=arm926ej-s -march=armv5te -mabi=aapcs-linux -msoft-float
> > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> >
> -I/opt/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include
> > -I/opt/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/include
> > -Wall -MT process.o -MD -MP -MF .deps/process.Tpo -c -o process.o `test -f
> > 'unix/process.c' || echo './'`unix/process.c
> > unix/process.c:53:19: fatal error: spawn.h: No such file or directory
> > compilation terminated.
> > make[4]: *** [process.o] Error 1
> > make[4]: *** Waiting for unfinished jobs....
> >
> > I did some searching and get the feeling that posix_spawn it not supported
> > ... or t depends on (SPN ?)
> >
> >
> > Would the application need to recoded to work with uClibc?
> >
> >
> > Thanks
> > Bruce
> >
> >
> >
> >
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>
More information about the uClibc
mailing list