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
IBM System X3250 M3 Server 8GB RAM Intel Xeon x3440 2.53ghz (NO HDD)
$36.53
$5000.00
IBM Server Rack Cabinet 9308-RC4
$209.00
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System
$359.99
COMPLETE IBM 9009 41A ISERIES POWER9 ENTRY LEVEL SERVER FULLY TESTED AND WORKING
$3550.00
IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD
$68.50
IBM IntelliStation 9114-275 4-Bay Server Power4+ Core 1.0ghz DVD-Rom 1GB No HDD
$699.99
IBM SYSTEM x3200 M3 Tower- Intel i3 540 @ 3.07GHz, 4GB, 500GB HHD
$125.00
IBM Server System X3100 M4 | Xeon @ 3.10 Ghz | 8GB | 250GB HDD No OS (IG-PC26)
$112.95
1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray
$318.00