Hi

I've been struggling for 3x 15 hour days and starting to think I need some
help :(

I have an application that has  "#include <spawn.h>" defined.....it's a tiny
portion of the app that makes calls to "*posix_spawn_file_actions*..."
posix_spawn_file_actions_init
posix_spawn_file_actions_adddup2
posix_spawn_file_actions_addclose
........

I compiled uClibc with every available option (excluding a few that cause
the compile to fail) ...  ".config" attached.

For test purposes I compiled uclibc for x86_64 (my linux pc) and I made sure
I had selected:
*UCLIBC_HAS_REALTIME=y*
*UCLIBC_HAS_ADVANCED_"=y*

>From what I can tell, the above options implement the exact functions I
need. Looking inside:
*uclibc/uClibc-0.9.32-rc2/extra/Configs*

It says:
*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()



But I can't for the life of me find any trace of "spawn.h" ....or the above
"posix_spawn" functions after running a "make install" (installs
into: /usr/x86_64-linux-uclibc/)
[bruce@core Configs]$ cd /usr/x86_64-linux-uclibc/
[bruce@core x86_64-linux-uclibc]$ *pwd*
*/usr/x86_64-linux-uclibc*
[bruce@core x86_64-linux-uclibc]$ grep -ir "posix_spawn_file_actions_init" *
[bruce@core x86_64-linux-uclibc]$
[bruce@core x86_64-linux-uclibc]$ find . -name "*awn*"
[bruce@core x86_64-linux-uclibc]$ find . -name "*awn*.*"
[bruce@core x86_64-linux-uclibc]$



I would ever so grateful if somebody could explain why the "REALTIME" config
options do not produce any "posix_spawn" functions or a "spawn.h" include
file.


Thanks in advance!
Bruce Bushby

Attachment: uclibc-x86-full.config
Description: Binary data

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to