WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline killthebabysitter

  • Newbie
  • *
  • Posts: 10
Using tinycorelinux to run posix application
« on: November 01, 2010, 12:14:35 PM »
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, 02:26:23 PM »
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: 11044
Re: Using tinycorelinux to run posix application
« Reply #2 on: November 01, 2010, 02:47:04 PM »
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.