Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: killthebabysitter on November 01, 2010, 09:14:35 AM

Title: Using tinycorelinux to run posix application
Post by: killthebabysitter on November 01, 2010, 09:14:35 AM
Forgive my ignorance, but I've installed tinycorelinux as a development platform for my webserver. I've written a simple posix based application (a telnet server). It works fine under my other target (debian) but fails when trying to create a message queue on my tinycore target.

Does anyone know if there is an extension I need to install? Possibly containing the posix libraries?

I tried searching but was unable to find anything.
Thanks in advance
Title: Re: Using tinycorelinux to run posix application
Post by: killthebabysitter on November 01, 2010, 11:26:23 AM
Figured I would post the answer in case this ever comes up in the future for someone else.

I had to change my max message queue size to 10 from 16. Apparently this is a kernel configuration, and the kernel I was using was set to have max queue size of 16 not 10.
Title: Re: Using tinycorelinux to run posix application
Post by: curaga on November 01, 2010, 11:47:04 AM
It's a run-time config knob under /proc/sys, if you need a bigger one.