SOLVED: I had to use CDEBUGFLAGS="-static" when building the server component
Hi
I'm trying to compile a statically linked Xfbdev from Xfree86 4.3. I have been following the instructions
here and have successfully built an executable file. However, I need to statically link it for anything to work (the binary runs but complains about the wrong version of libc, so doesn't stay running for long).
here is my host.def:
Code:
#define KDriveXServer YES
#define KdriveServerExtraDefines -DITSY -DMAXSCREENS=2
#define TinyXServer YES
#define CrossCompiling YES
#define ItsyCompilerBug YES
#undef BuildRandR
#define BuildRandR YES
#define BuildXInputLib YES
#define ProjectRoot /x11arm
#define Freetype2Dir $(TOP)/extras/freetype2
#define Freetype2LibDir $(TOP)/exports/lib
#define BuildXTrueType YES
#define BuildScreenSaverExt YES
#define BuildScreenSaverLibrary YES
#define SharedLibXss YES
#define ServerXdmcpDefines
#define XfbdevServer YES
#define XipaqServer YES
#undef DoLoadableServer
#define DoLoadableServer NO
#define ForceNormalLib YES
I added the DoLoadableServer option hoping it would build a static binary, but I still got a dynamic one.
Any ideas on how to get this working correctly?
Thanks