WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Using tinycorelinux to run posix application  (Read 1606 times)

Offline killthebabysitter

  • Newbie
  • *
  • Posts: 10
Using tinycorelinux to run posix application
« 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

Offline killthebabysitter

  • Newbie
  • *
  • Posts: 10
Re: Using tinycorelinux to run posix application
« Reply #1 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
Re: Using tinycorelinux to run posix application
« Reply #2 on: November 01, 2010, 11:47:04 AM »
It's a run-time config knob under /proc/sys, if you need a bigger one.
The only barriers that can stop you are the ones you create yourself.