have you tried compiling it statically? might be some lib's missing...
I'm having some pretty interesting issues. I can put up code on request, but it doesnt seem to be a code issue.
I've built a process that uses a C++ server and a PHP client (hosted via apache) that communicate via localhost Tcp. On my Gentoo dev machine, they work great. Moving things to Knoppix, the accept() call in the server returns "Invalid Argument".
I do have slightly different versions of apache, gcc, etc...as apt-get and emerge rab slightly different things by default. But i did a little cross-testing, heres where things get interesting..
When I boot IN KNOPPIX and chroot into my gentoo partition, I run my server executable. I run the client in the a regular Knoppix web browser (ie my knoppix apache) and it works.
I boot IN KNOPPIX, re-configure and re-make the server code that is IN MY GENTOO PARTITION (so I'm using Knoppix gcc, libs, etc). I run that executable from a Knoppix shell, it fails. I chroot into my gentoo partition and run that new executable, built from the knoppix shell, and run it..and the whole process works.
Boy oh boy am i lost. I am totally willing to put together a stripped down version of this issue if someone wants to see it. But I'm thinking/hoping its something to do with the way Knoppix is put together, and i dont really know much about its trickery..
thanks, dave
have you tried compiling it statically? might be some lib's missing...
but that sounds like it could be the right track..
how does knoppix interwork with various architectures? ie is there specific C flags i should be passing in to the compiler if im developing for knoppix? right now im jus tpassing in -O0 and -g3 for debug info...plus -static now...
Unless your working on a differnt Physical architecture with knoppix, the flags should be the same.Originally Posted by dkennedy

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w
$538.88
USB 2.0 Network Print Server LAN Print Share Server USB Wireless Print Server
$25.19
Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY
$44.54
MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed
$136.87
Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$484.99
New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$404.99
Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w
$218.88
Windows Server 2025 Standard Edition - 24 Core License
$238.00
Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99